public RegisterPage(PagesControler pagesControler, LayoutControler layoutControler, AuthenticationControler authenticationControler) { _pagesControler = pagesControler; _layoutControler = layoutControler; _authenticationControler = authenticationControler; InitializeComponent(); }
public Program() { _mainWindow = new MainWindow(); _layoutControler = new LayoutControler(_mainWindow, this); _pagesControler = new PagesControler(this); _httpControler = new HttpControler(); _layoutControler.ChangeLayout("PlainLayout"); _pagesControler.PushPage("LoginPage"); _httpControler.InitializeClient(); Application.Run(_mainWindow._form); }
public LayoutViewModel(MainWindowViewModel mainWindowVM, StackPanel page) { _mainWindowVM = mainWindowVM; _controler = new LayoutControler(page, mainWindowVM); }