Ejemplo n.º 1
0
 private void tsRun_Click(object sender, EventArgs e)
 {
     tsSave_Click(sender, e);
     frmTask t = new frmTask(this) { Task = frmTask.ETask.Run };
     t.ShowDialog(this);
     t.Close();
     Reload();
 }
Ejemplo n.º 2
0
 private void tsPack_Click(object sender, EventArgs e)
 {
     FolderBrowserDialog dlg = new FolderBrowserDialog()
     {
         Description = "Choose a folder where to copy the game files and runtime",
         RootFolder = Environment.SpecialFolder.Desktop,
         ShowNewFolderButton = true
     };
     if (dlg.ShowDialog() == DialogResult.OK)
     {
         KillDebugProcess();
         tsSave_Click(sender, e);
         frmTask t = new frmTask(this) { Task = frmTask.ETask.Pack };
         t.args = dlg.SelectedPath;
         t.ShowDialog(this);
         t.Close();
         Reload();
     }
 }