Exemple #1
0
 public StartWindow()
 {
     InitializeComponent();
     Width                 = WindowParameters.Width;
     Height                = WindowParameters.Height;
     ResizeMode            = WindowParameters.ResizeMode;
     WindowStyle           = WindowParameters.WindowStyle;
     WindowStartupLocation = WindowParameters.WindowStartupLocation;
     AllowsTransparency    = WindowParameters.AllowsTransparency;
     DataContext           = new StartVM();
 }
Exemple #2
0
 public AuthPage(StartVM vm)
 {
     InitializeComponent();
     DataContext = vm;
 }
Exemple #3
0
 public OpenStartPagesCommand(StartVM vm, Page page)
 {
     viewModel = vm;
     newPage   = page;
 }
Exemple #4
0
 public StartPage(StartVM startVM)
 {
     InitializeComponent();
     DataContext = startVM;
 }
Exemple #5
0
 public AuthorizationCommand(StartVM vm)
 {
     this.viewModel = vm;
 }
 public RegistrationCommand(StartVM vm)
 {
     this.viewModel = vm;
 }