Пример #1
0
        protected void ShowWindow(string windowType, string windowTitle, IWindowPane innerPane)
        {
            var windowFrame = shellUiSvc.FindWindow(windowType);

            if (windowFrame == null)
            {
                windowFrame = shellUiSvc.CreateWindow(windowType, windowTitle, innerPane);
            }
            windowFrame.Show();
        }