예제 #1
0
 private async void Button_Click(object sender, RoutedEventArgs e)
 {
     TextBlock text = new TextBlock()
     {
         Text = "Hi",
         HorizontalAlignment = HorizontalAlignment.Center,
         VerticalAlignment   = VerticalAlignment.Center
     };
     CreateAccountView createAccount = new CreateAccountView();
     await DialogHost.Show(text, "DS");
 }
예제 #2
0
 private async void BtnCreateAccount_Click(object sender, RoutedEventArgs e)
 {
     CreateAccountView createaccount = new CreateAccountView();
     await DialogHost.Show(createaccount, "MainWindow");
 }