Beispiel #1
0
 private void openToolStripMenuItem_Click(object sender, EventArgs e)
 {
     openFileDialog1.FileName = "";
     if (openFileDialog1.ShowDialog() == DialogResult.OK)
     {
         file = new SmashBcatFile(openFileDialog1.FileName);
         InitControls();
     }
 }
Beispiel #2
0
 private void splitPopupFileToolStripMenuItem_Click(object sender, EventArgs e)
 {
     openFileDialog1.FileName = "";
     if (openFileDialog1.ShowDialog() == DialogResult.OK)
     {
         FolderSelectDialog fbox = new FolderSelectDialog();
         if (fbox.ShowDialog() == DialogResult.OK)
         {
             SmashBcatFile.SplitFile(openFileDialog1.FileName, fbox.SelectedPath);
         }
     }
 }