C# Class SIP_Agent.View.TaskView

Interaction logic for UserLogin.xaml
Inheritance: System.Windows.Controls.UserControl, ISwitchable
Afficher le fichier Open project: anroots/SIP-Agent

Protected Properties

Свойство Type Description
CurrentTask Model.Task

Méthodes publiques

Méthode Description
TaskView ( int TaskId ) : System

Default constructor - load a task with given ID

UtilizeState ( object state ) : void

Private Methods

Méthode Description
LoadValues ( ) : void

Load control values

btnBack_Click ( object sender, RoutedEventArgs e ) : void

Move back to the Standby screen

btnSave_Click ( object sender, RoutedEventArgs e ) : void

Save task info

btn_login_Click ( object sender, System e ) : void
cmbAssignee_SelectionChanged ( object sender, System.Windows.Controls.SelectionChangedEventArgs e ) : void

Change Assignee ID (but do not save yet!)

cmbCategory_SelectionChanged ( object sender, System.Windows.Controls.SelectionChangedEventArgs e ) : void

Category changed

cmbClerk_SelectionChanged ( object sender, System.Windows.Controls.SelectionChangedEventArgs e ) : void

Clerk changed

cmbNotifier_SelectionChanged ( object sender, System.Windows.Controls.SelectionChangedEventArgs e ) : void

Notifier changed

cmbStatus_SelectionChanged ( object sender, System.Windows.Controls.SelectionChangedEventArgs e ) : void

Change Status ID (but do not save yet!)

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

Method Details

TaskView() public méthode

Default constructor - load a task with given ID
public TaskView ( int TaskId ) : System
TaskId int Task ID to load
Résultat System

UtilizeState() public méthode

public UtilizeState ( object state ) : void
state object
Résultat void

Property Details

CurrentTask protected_oe property

Holds the current task row
protected Model.Task CurrentTask
Résultat Model.Task