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