示例#1
0
        private void NullAllWindows()
        {
            if (bnkEditor != null)
            {
                bnkEditor.Close();
                bnkEditor = null;
            }
            if (npckEditor != null)
            {
                npckEditor.Close();
                npckEditor = null;
            }
            if (loopCalculator != null)
            {
                loopCalculator.Close();
                loopCalculator = null;
            }
            if (wemCreator != null)
            {
                wemCreator.Close();
                wemCreator = null;
            }
            if (wwctEditor != null)
            {
                wwctEditor.Close();
                wwctEditor = null;
            }
            if (wwbkpkEditor != null)
            {
                wwbkpkEditor.Close();
                wwbkpkEditor = null;
            }

            /*if (epvspEditor != null)
             * {
             *  epvspEditor.Close();
             *  epvspEditor = null;
             * }*/
            /*if (wwevEditor != null)
             * {
             *  wwevEditor.Close();
             *  wwevEditor = null;
             * }*/
            /*if (rszEditor != null)
             * {
             *  rszEditor.Close();
             *  rszEditor = null;
             * }*/
            /*if (welEditor != null)
             * {
             *  welEditor.Close();
             *  welEditor = null;
             * }*/
        }
示例#2
0
 private void NPCKEdit(object sender, RoutedEventArgs e)
 {
     npckEditor = new NPCKEditor(mode, options);
     npckEditor.Show();
 }