コード例 #1
0
        private void BtnTest2_Click(object sender, RoutedEventArgs e)
        {
            this.WindowState = WindowState.Minimized;
            WinDrawTest2 winDrawTest2 = new WinDrawTest2();

            winDrawTest2.Show();
            winDrawTest2.Activate();
        }
コード例 #2
0
        public static WinDrawTest2 getInstance()
        {
            if (instance == null)
            {
                instance             = new WinDrawTest2();
                instance.WindowState = WindowState.Maximized;
                instance.Activate();
            }

            return(instance);
        }