Example #1
0
        private void BtnTest3_Click(object sender, RoutedEventArgs e)
        {
            this.WindowState = WindowState.Minimized;
            WinDrawTest3 winDrawTest3 = new WinDrawTest3();

            winDrawTest3.Show();
            winDrawTest3.Activate();
        }
Example #2
0
        public static WinDrawTest3 getInstance()
        {
            if (instance == null)
            {
                instance             = new WinDrawTest3();
                instance.WindowState = WindowState.Maximized;
                instance.Activate();
            }

            return(instance);
        }