示例#1
0
        public void callDemoWindow()
        {
            if (demoWindow != null)
            {
                demoWindow.Show();
                return;
            }

            demoWindow = new DemoWindow();
            demoWindow.Closed += (o, args) =>
                {
                    demoWindow = null;
                };
            demoWindow.Show();
        }
示例#2
0
        public void callDemoWindow()
        {
            if (demoWindow != null)
            {
                demoWindow.Show();
                return;
            }

            demoWindow         = new DemoWindow();
            demoWindow.Closed += (o, args) =>
            {
                demoWindow = null;
            };
            demoWindow.Show();
        }