C# Class SIP_Agent.View.SystemStandby

Interaction logic for SystemStandby.xaml
Inheritance: System.Windows.Controls.UserControl, ISwitchable
Datei anzeigen Open project: anroots/SIP-Agent

Public Properties

Property Type Description
PositionSet bool

Public Methods

Method Description
SystemStandby ( ) : System
UtilizeState ( object state ) : void

Private Methods

Method Description
SelectedPerson ( ) : int

Get the ID of the selected person

UserControl_Loaded ( object sender, RoutedEventArgs e ) : void

Control loaded

btnBewTask_Click ( object sender, RoutedEventArgs e ) : void

Create new task

btnChangePerson_Click ( object sender, RoutedEventArgs e ) : void

Switch to person info edit screen

btnLogout_Click ( object sender, RoutedEventArgs e ) : void

Logout

btn_login_Click ( object sender, System e ) : void
button1_Click ( object sender, RoutedEventArgs e ) : void

Create new person

button2_Click ( object sender, RoutedEventArgs e ) : void

Switch to call info screen Call is loaded with the selected person's info (as caller)

dataGridCalls_MouseDoubleClick ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void

Open selected call

dataGridLogs_MouseDoubleClick ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void

Doubleclick on log row - show message

dataGridTasks_MouseDoubleClick ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void

Open selected task

Method Details

SystemStandby() public method

public SystemStandby ( ) : System
return System

UtilizeState() public method

public UtilizeState ( object state ) : void
state object
return void

Property Details

PositionSet public_oe static_oe property

Main window position is set after login, this variable makes sure it's not set twice
public static bool PositionSet
return bool