Пример #1
0
 public MainWindow()
 {
     InitializeComponent();
     SharedClass.SetFrame(this.MainFrame, new Auth());
     testMain = DataContext;
 }
Пример #2
0
 private void Button_Click(object sender, RoutedEventArgs e)
 {
     SharedClass.OpenNewPage(this, new ProfileUser());
 }
Пример #3
0
 private void CreateUserClick(object sender, RoutedEventArgs e)
 {
     SharedClass.OpenNewPage(this, new MainMenu());
 }
Пример #4
0
 private void BackClick(object sender, RoutedEventArgs e)
 {
     SharedClass.OpenNewPage(this, new CreateAccount());
 }
Пример #5
0
 public MainMenu()
 {
     InitializeComponent();
     SharedClass.SetFrame(this.ContentFrame, new ListUsers());
 }