コード例 #1
0
 private void OpenWarpEditor()
 {
     if (warpEditorToolStripMenuItem.Checked)
     {
         return;                 // dont open a second one
     }
     warpEditor             = new WarpEditor();
     warpEditor.FormClosed += new FormClosedEventHandler(OnWarpEditorClose);
     warpEditorToolStripMenuItem.Checked = true;
     warpEditor.Show();
 }
コード例 #2
0
 private void OnWarpEditorClose(object sender, FormClosedEventArgs e)
 {
     warpEditor = null;
     warpEditorToolStripMenuItem.Checked = false;
     HighlightWarp(-1, -1);
 }