Beispiel #1
0
 public UserLoginViewModel(Login login)
 {
     loginWindow     = login;
     LoginCommand    = new UserLoginCommand(this);
     LoginParameters = new LoginParameters("", "");
     RandomCommand   = new RandomCommand();
 }
Beispiel #2
0
 public StudentPage()
 {
     InitializeComponent();
     this.DataContext = this;
     Specialities     = new ObservableCollection <string>();
     Specialities.Add("KSI");
     Specialities.Add("ITI");
     Specialities.Add("Telekomunikacii");
     RandomCommand = new RandomCommand();
 }