Exemplo n.º 1
0
 private void createModToolStripMenuItem_Click(object sender, EventArgs e)
 {
     CreateNewModDialog createNewModDialog = new CreateNewModDialog
     {
         Owner = this
     };
     createNewModDialog.ShowDialog();
     if (createNewModDialog.catPath == "" || createNewModDialog.modPath == "")
     {
         return;
     }
     File.Copy(createNewModDialog.catPath, createNewModDialog.modPath);
     this.catPath = createNewModDialog.modPath;
     this.openCat();
 }
Exemplo n.º 2
0
        private void createModToolStripMenuItem_Click(object sender, EventArgs e)
        {
            CreateNewModDialog createNewModDialog = new CreateNewModDialog
            {
                Owner = this
            };

            createNewModDialog.ShowDialog();
            if (createNewModDialog.catPath == "" || createNewModDialog.modPath == "")
            {
                return;
            }
            File.Copy(createNewModDialog.catPath, createNewModDialog.modPath);
            this.catPath = createNewModDialog.modPath;
            this.openCat();
        }