예제 #1
0
        public void Activate()
        {
            if (window == default(IWindow))
            {
                window = uiFactory.CreateAboutWindow(appConfig);

                window.Closing += () => window = default(IWindow);
                window.Show();
            }
            else
            {
                window.BringToForeground();
            }
        }
        private void Notification_Clicked()
        {
            if (window == null)
            {
                window = uiFactory.CreateAboutWindow(appConfig);

                window.Closing += () => window = null;
                window.Show();
            }
            else
            {
                window.BringToForeground();
            }
        }