fix a few tools I missed in previous commit
This commit is contained in:
parent
e7e5ebfa90
commit
4f2bf8071e
|
@ -449,12 +449,6 @@ namespace BizHawk.Client.EmuHawk
|
|||
}
|
||||
}
|
||||
|
||||
private void ExitMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
ShutdownCDL();
|
||||
Close();
|
||||
}
|
||||
|
||||
void ShutdownCDL()
|
||||
{
|
||||
_cdl = null;
|
||||
|
@ -485,6 +479,7 @@ namespace BizHawk.Client.EmuHawk
|
|||
|
||||
private void CDL_Load(object sender, EventArgs e)
|
||||
{
|
||||
Closing += (o, e) => ShutdownCDL();
|
||||
if (CDLAutoResume)
|
||||
{
|
||||
try
|
||||
|
|
|
@ -44,8 +44,6 @@ namespace BizHawk.Client.EmuHawk
|
|||
this.toolStripSeparator2 = new BizHawk.WinForms.Controls.ToolStripSeparatorEx();
|
||||
this.ClearMenuItem = new BizHawk.WinForms.Controls.ToolStripMenuItemEx();
|
||||
this.DisassembleMenuItem = new BizHawk.WinForms.Controls.ToolStripMenuItemEx();
|
||||
this.toolStripSeparator1 = new BizHawk.WinForms.Controls.ToolStripSeparatorEx();
|
||||
this.ExitMenuItem = new BizHawk.WinForms.Controls.ToolStripMenuItemEx();
|
||||
this.toolStrip1 = new ToolStripEx();
|
||||
this.tsbLoggingActive = new System.Windows.Forms.ToolStripButton();
|
||||
this.toolStripSeparator3 = new BizHawk.WinForms.Controls.ToolStripSeparatorEx();
|
||||
|
@ -79,9 +77,7 @@ namespace BizHawk.Client.EmuHawk
|
|||
this.miAutoResume,
|
||||
this.toolStripSeparator2,
|
||||
this.ClearMenuItem,
|
||||
this.DisassembleMenuItem,
|
||||
this.toolStripSeparator1,
|
||||
this.ExitMenuItem});
|
||||
this.DisassembleMenuItem});
|
||||
this.FileSubMenu.Text = "&File";
|
||||
this.FileSubMenu.DropDownOpened += new System.EventHandler(this.FileSubMenu_DropDownOpened);
|
||||
//
|
||||
|
@ -146,12 +142,6 @@ namespace BizHawk.Client.EmuHawk
|
|||
this.DisassembleMenuItem.Text = "&Disassemble...";
|
||||
this.DisassembleMenuItem.Click += new System.EventHandler(this.DisassembleMenuItem_Click);
|
||||
//
|
||||
// ExitMenuItem
|
||||
//
|
||||
this.ExitMenuItem.ShortcutKeyDisplayString = "Alt+F4";
|
||||
this.ExitMenuItem.Text = "&Close";
|
||||
this.ExitMenuItem.Click += new System.EventHandler(this.ExitMenuItem_Click);
|
||||
//
|
||||
// toolStrip1
|
||||
//
|
||||
this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
|
@ -261,8 +251,6 @@ namespace BizHawk.Client.EmuHawk
|
|||
private BizHawk.WinForms.Controls.ToolStripMenuItemEx AppendMenuItem;
|
||||
private BizHawk.WinForms.Controls.ToolStripMenuItemEx NewMenuItem;
|
||||
private BizHawk.WinForms.Controls.ToolStripMenuItemEx DisassembleMenuItem;
|
||||
private BizHawk.WinForms.Controls.ToolStripSeparatorEx toolStripSeparator1;
|
||||
private BizHawk.WinForms.Controls.ToolStripMenuItemEx ExitMenuItem;
|
||||
private BizHawk.WinForms.Controls.ToolStripMenuItemEx SaveMenuItem;
|
||||
private BizHawk.WinForms.Controls.ToolStripMenuItemEx RecentSubMenu;
|
||||
private BizHawk.WinForms.Controls.ToolStripSeparatorEx toolStripSeparator2;
|
||||
|
|
|
@ -40,8 +40,6 @@ namespace BizHawk.Client.EmuHawk
|
|||
this.menuStrip1 = new MenuStripEx();
|
||||
this.FileSubMenu = new BizHawk.WinForms.Controls.ToolStripMenuItemEx();
|
||||
this.SaveLogMenuItem = new BizHawk.WinForms.Controls.ToolStripMenuItemEx();
|
||||
this.toolStripSeparator1 = new BizHawk.WinForms.Controls.ToolStripSeparatorEx();
|
||||
this.ExitMenuItem = new BizHawk.WinForms.Controls.ToolStripMenuItemEx();
|
||||
this.EditSubMenu = new BizHawk.WinForms.Controls.ToolStripMenuItemEx();
|
||||
this.CopyMenuItem = new BizHawk.WinForms.Controls.ToolStripMenuItemEx();
|
||||
this.SelectAllMenuItem = new BizHawk.WinForms.Controls.ToolStripMenuItemEx();
|
||||
|
@ -130,9 +128,7 @@ namespace BizHawk.Client.EmuHawk
|
|||
// FileSubMenu
|
||||
//
|
||||
this.FileSubMenu.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.SaveLogMenuItem,
|
||||
this.toolStripSeparator1,
|
||||
this.ExitMenuItem});
|
||||
this.SaveLogMenuItem});
|
||||
this.FileSubMenu.Text = "&File";
|
||||
//
|
||||
// SaveLogMenuItem
|
||||
|
@ -140,12 +136,6 @@ namespace BizHawk.Client.EmuHawk
|
|||
this.SaveLogMenuItem.Text = "&Save Log";
|
||||
this.SaveLogMenuItem.Click += new System.EventHandler(this.SaveLogMenuItem_Click);
|
||||
//
|
||||
// ExitMenuItem
|
||||
//
|
||||
this.ExitMenuItem.ShortcutKeyDisplayString = "Alt+F4";
|
||||
this.ExitMenuItem.Text = "E&xit";
|
||||
this.ExitMenuItem.Click += new System.EventHandler(this.ExitMenuItem_Click);
|
||||
//
|
||||
// EditSubMenu
|
||||
//
|
||||
this.EditSubMenu.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
|
@ -309,8 +299,6 @@ namespace BizHawk.Client.EmuHawk
|
|||
private MenuStripEx menuStrip1;
|
||||
private BizHawk.WinForms.Controls.ToolStripMenuItemEx FileSubMenu;
|
||||
private BizHawk.WinForms.Controls.ToolStripMenuItemEx SaveLogMenuItem;
|
||||
private BizHawk.WinForms.Controls.ToolStripSeparatorEx toolStripSeparator1;
|
||||
private BizHawk.WinForms.Controls.ToolStripMenuItemEx ExitMenuItem;
|
||||
private System.Windows.Forms.GroupBox groupBox2;
|
||||
private System.Windows.Forms.CheckBox LoggingEnabled;
|
||||
private BizHawk.WinForms.Controls.ToolStripMenuItemEx OptionsSubMenu;
|
||||
|
|
|
@ -315,11 +315,6 @@ namespace BizHawk.Client.EmuHawk
|
|||
}
|
||||
}
|
||||
|
||||
private void ExitMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
Close();
|
||||
}
|
||||
|
||||
private void CopyMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
var indices = TraceView.SelectedRows.ToList();
|
||||
|
|
Loading…
Reference in New Issue