Lua Console - output window - context menu with a clear option
This commit is contained in:
parent
63ceeff646
commit
1380cccd7a
|
@ -88,10 +88,13 @@
|
||||||
this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
|
this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
|
||||||
this.toolStripButtonMoveUp = new System.Windows.Forms.ToolStripButton();
|
this.toolStripButtonMoveUp = new System.Windows.Forms.ToolStripButton();
|
||||||
this.toolStripButtonMoveDown = new System.Windows.Forms.ToolStripButton();
|
this.toolStripButtonMoveDown = new System.Windows.Forms.ToolStripButton();
|
||||||
|
this.contextMenuStrip2 = new System.Windows.Forms.ContextMenuStrip(this.components);
|
||||||
|
this.clearToolStripMenuItem2 = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
this.contextMenuStrip1.SuspendLayout();
|
this.contextMenuStrip1.SuspendLayout();
|
||||||
this.menuStrip1.SuspendLayout();
|
this.menuStrip1.SuspendLayout();
|
||||||
this.groupBox1.SuspendLayout();
|
this.groupBox1.SuspendLayout();
|
||||||
this.toolStrip1.SuspendLayout();
|
this.toolStrip1.SuspendLayout();
|
||||||
|
this.contextMenuStrip2.SuspendLayout();
|
||||||
this.SuspendLayout();
|
this.SuspendLayout();
|
||||||
//
|
//
|
||||||
// LuaListView
|
// LuaListView
|
||||||
|
@ -297,18 +300,18 @@
|
||||||
// noneToolStripMenuItem
|
// noneToolStripMenuItem
|
||||||
//
|
//
|
||||||
this.noneToolStripMenuItem.Name = "noneToolStripMenuItem";
|
this.noneToolStripMenuItem.Name = "noneToolStripMenuItem";
|
||||||
this.noneToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
|
this.noneToolStripMenuItem.Size = new System.Drawing.Size(103, 22);
|
||||||
this.noneToolStripMenuItem.Text = "None";
|
this.noneToolStripMenuItem.Text = "None";
|
||||||
//
|
//
|
||||||
// toolStripSeparator3
|
// toolStripSeparator3
|
||||||
//
|
//
|
||||||
this.toolStripSeparator3.Name = "toolStripSeparator3";
|
this.toolStripSeparator3.Name = "toolStripSeparator3";
|
||||||
this.toolStripSeparator3.Size = new System.Drawing.Size(149, 6);
|
this.toolStripSeparator3.Size = new System.Drawing.Size(100, 6);
|
||||||
//
|
//
|
||||||
// clearToolStripMenuItem
|
// clearToolStripMenuItem
|
||||||
//
|
//
|
||||||
this.clearToolStripMenuItem.Name = "clearToolStripMenuItem";
|
this.clearToolStripMenuItem.Name = "clearToolStripMenuItem";
|
||||||
this.clearToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
|
this.clearToolStripMenuItem.Size = new System.Drawing.Size(103, 22);
|
||||||
this.clearToolStripMenuItem.Text = "Clear";
|
this.clearToolStripMenuItem.Text = "Clear";
|
||||||
//
|
//
|
||||||
// toolStripSeparator1
|
// toolStripSeparator1
|
||||||
|
@ -484,6 +487,7 @@
|
||||||
//
|
//
|
||||||
// OutputBox
|
// OutputBox
|
||||||
//
|
//
|
||||||
|
this.OutputBox.ContextMenuStrip = this.contextMenuStrip2;
|
||||||
this.OutputBox.Location = new System.Drawing.Point(6, 17);
|
this.OutputBox.Location = new System.Drawing.Point(6, 17);
|
||||||
this.OutputBox.Name = "OutputBox";
|
this.OutputBox.Name = "OutputBox";
|
||||||
this.OutputBox.ReadOnly = true;
|
this.OutputBox.ReadOnly = true;
|
||||||
|
@ -604,6 +608,20 @@
|
||||||
this.toolStripButtonMoveDown.Text = "Move Down";
|
this.toolStripButtonMoveDown.Text = "Move Down";
|
||||||
this.toolStripButtonMoveDown.Click += new System.EventHandler(this.toolStripButtonMoveDown_Click);
|
this.toolStripButtonMoveDown.Click += new System.EventHandler(this.toolStripButtonMoveDown_Click);
|
||||||
//
|
//
|
||||||
|
// contextMenuStrip2
|
||||||
|
//
|
||||||
|
this.contextMenuStrip2.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||||
|
this.clearToolStripMenuItem2});
|
||||||
|
this.contextMenuStrip2.Name = "contextMenuStrip2";
|
||||||
|
this.contextMenuStrip2.Size = new System.Drawing.Size(102, 26);
|
||||||
|
//
|
||||||
|
// clearToolStripMenuItem2
|
||||||
|
//
|
||||||
|
this.clearToolStripMenuItem2.Name = "clearToolStripMenuItem2";
|
||||||
|
this.clearToolStripMenuItem2.Size = new System.Drawing.Size(152, 22);
|
||||||
|
this.clearToolStripMenuItem2.Text = "&Clear";
|
||||||
|
this.clearToolStripMenuItem2.Click += new System.EventHandler(this.clearToolStripMenuItem2_Click);
|
||||||
|
//
|
||||||
// LuaConsole
|
// LuaConsole
|
||||||
//
|
//
|
||||||
this.AllowDrop = true;
|
this.AllowDrop = true;
|
||||||
|
@ -629,6 +647,7 @@
|
||||||
this.groupBox1.ResumeLayout(false);
|
this.groupBox1.ResumeLayout(false);
|
||||||
this.toolStrip1.ResumeLayout(false);
|
this.toolStrip1.ResumeLayout(false);
|
||||||
this.toolStrip1.PerformLayout();
|
this.toolStrip1.PerformLayout();
|
||||||
|
this.contextMenuStrip2.ResumeLayout(false);
|
||||||
this.ResumeLayout(false);
|
this.ResumeLayout(false);
|
||||||
this.PerformLayout();
|
this.PerformLayout();
|
||||||
|
|
||||||
|
@ -694,5 +713,7 @@
|
||||||
private System.Windows.Forms.ToolStripMenuItem clearToolStripMenuItem1;
|
private System.Windows.Forms.ToolStripMenuItem clearToolStripMenuItem1;
|
||||||
private System.Windows.Forms.ToolStripMenuItem helpToolStripMenuItem;
|
private System.Windows.Forms.ToolStripMenuItem helpToolStripMenuItem;
|
||||||
private System.Windows.Forms.ToolStripMenuItem luaFunctionsListToolStripMenuItem;
|
private System.Windows.Forms.ToolStripMenuItem luaFunctionsListToolStripMenuItem;
|
||||||
|
private System.Windows.Forms.ContextMenuStrip contextMenuStrip2;
|
||||||
|
private System.Windows.Forms.ToolStripMenuItem clearToolStripMenuItem2;
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -694,5 +694,10 @@ namespace BizHawk.MultiClient
|
||||||
{
|
{
|
||||||
Toggle();
|
Toggle();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private void clearToolStripMenuItem2_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
OutputBox.Text = "";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -123,6 +123,9 @@
|
||||||
<metadata name="menuStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
<metadata name="menuStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||||
<value>17, 17</value>
|
<value>17, 17</value>
|
||||||
</metadata>
|
</metadata>
|
||||||
|
<metadata name="contextMenuStrip2.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||||
|
<value>333, 17</value>
|
||||||
|
</metadata>
|
||||||
<metadata name="toolStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
<metadata name="toolStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||||
<value>228, 17</value>
|
<value>228, 17</value>
|
||||||
</metadata>
|
</metadata>
|
||||||
|
|
Loading…
Reference in New Issue