예제 #1
0
        private static void CreateNewWindow(
            QueryEditorView view,
            bool showWindow)
        {
            QueryWindow window = new QueryWindow(view);

            windows[view] = window; //Add to the window collection.
            if (showWindow)
            {
                window.Show();
            }
        }
예제 #2
0
 private static void CreateNewWindow(
     QueryEditorView view,
     bool showWindow)
 {
     QueryWindow window = new QueryWindow(view);
     windows[view] = window; //Add to the window collection.
     if (showWindow)
     {
         window.Show();
     }
 }