Пример #1
0
 private void cleanupCurrentCharacterToolStripMenuItem_Click(object sender, EventArgs e)
 {
     String command = String.Format("mcu CLEANUP /noconfirm \"{0}\"", resourceManager.FileSystemProxy.LoadedPath);
     RunMCU runner = new RunMCU(new String[] { command }, false);
     runner.ShowDialog();
 }
Пример #2
0
        private void addNewPartsToolStripMenuItem_Click(object sender, EventArgs e)
        {
            OpenFileDialog ofd = new OpenFileDialog();
            ofd.Filter = String.Format("{0}|*.mcpak", LocalizationDictionary.Instance["EXT_MCPAK"]);
            if (ofd.ShowDialog() != System.Windows.Forms.DialogResult.Cancel)
            {
                String command =
                    String.Format("mcu DEPLOY /update \"{0}\" \"{1}\"", ofd.FileName, resourceManager.FileSystemProxy.LoadedPath);
                String cleanup  = 
                    String.Format("mcu CLEANUP /noconfirm \"{0}\"", resourceManager.FileSystemProxy.LoadedPath);


                RunMCU runner = new RunMCU(new String[] { command, cleanup }, false);
                runner.ShowDialog();

                LoadCharacterResourcesGeneric(resourceManager.FileSystemProxy.LoadedPath);
            }
        }
Пример #3
0
 private void verifyCurrentlySelectedCHaracterToolStripMenuItem_Click(object sender, EventArgs e)
 {
     String command = String.Format("mcu VERIFY /deletemissing /noconfirm \"{0}\"", resourceManager.FileSystemProxy.LoadedPath);
     RunMCU runner = new RunMCU(new String[] { command }, false);
     runner.ShowDialog();
 }
Пример #4
0
 private void tryLoadMCUToolStripMenuItem_Click(object sender, EventArgs e)
 {
     RunMCU runner = new RunMCU(new String[]
         {
             "mcu DEPLOY"
         }, true);
     runner.ShowDialog();
 }