-fix save toolbar button

-handle save for console window

svn path=/trunk/tools/reactosdbg/; revision=1023
This commit is contained in:
Christoph von Wittich 2009-05-28 15:29:35 +00:00
parent 8d117a4ad2
commit 482df83a65
2 changed files with 7 additions and 0 deletions

View File

@ -119,12 +119,18 @@ namespace RosDBG
{
switch (Cmd)
{
case Commands.Save:
case Commands.SaveAs:
return true;
}
return false;
}
public override void Save(string FileName)
{
SaveAs(FileName);
}
public override void SaveAs(string FileName)
{
SaveFileDialog saveFileDialog = new SaveFileDialog();

View File

@ -446,6 +446,7 @@
this.saveToolStripButton.Name = "saveToolStripButton";
this.saveToolStripButton.Size = new System.Drawing.Size(23, 22);
this.saveToolStripButton.Text = "Save";
this.saveToolStripButton.Click += new System.EventHandler(this.saveToolStripMenuItem_Click);
//
// toolStripSeparator1
//