private void BtnTest3_Click(object sender, RoutedEventArgs e) { this.WindowState = WindowState.Minimized; WinDrawTest3 winDrawTest3 = new WinDrawTest3(); winDrawTest3.Show(); winDrawTest3.Activate(); }
public static WinDrawTest3 getInstance() { if (instance == null) { instance = new WinDrawTest3(); instance.WindowState = WindowState.Maximized; instance.Activate(); } return(instance); }