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(); }
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(); }