C# Class SIP_Agent.View.PersonInfo

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

Public Properties

Property Type Description
CurrentPerson Model.Person

Public Methods

Method Description
PersonInfo ( ) : System

Don't load anything, just show empty fields

PersonInfo ( int PersonId ) : System

Load an existing person

UtilizeState ( object state ) : void

Private Methods

Method Description
Button_Click ( object sender, System e ) : void
btnBack_Click ( object sender, RoutedEventArgs e ) : void

Navigate back to standby screen

btn_sSaveData_Click ( object sender, RoutedEventArgs e ) : void

Save person data

Method Details

PersonInfo() public method

Don't load anything, just show empty fields
public PersonInfo ( ) : System
return System

PersonInfo() public method

Load an existing person
public PersonInfo ( int PersonId ) : System
PersonId int
return System

UtilizeState() public method

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

Property Details

CurrentPerson public_oe property

Holds the data for the currently loaded Person
public Model.Person CurrentPerson
return Model.Person