コード例 #1
0
 private void Form_max_restore(object sender, RoutedEventArgs e)
 {
     var mainwin = new HomeWindow();
     mainwin.Left = Left / 2;
     //mainwin.WindowStartupLocation = System.Windows.WindowStartupLocation.CenterOwner;
     mainwin.Show();
     //WindowState = (WindowState == WindowState.Maximized) ? WindowState.Normal : WindowState.Maximized;
 }
コード例 #2
0
ファイル: App.xaml.cs プロジェクト: abdulbaruwa/AdeTyper
 private void LoadModelView()
 {
     var homeWindow = new HomeWindow();
     homeWindow.Show();
 }