示例#1
0
        private void Application_Startup(object sender, StartupEventArgs e)
        {
            XMLRead    CheckXML      = new XMLRead();
            XMLEdit    xmlEditWindow = new XMLEdit();
            MainWindow mainWindow    = new MainWindow();

            if (!CheckXML.CheckExistXML())
            {
                xmlEditWindow.Show();
            }
            else
            {
                mainWindow.Show();
            }
        }