Add some menu items

This commit is contained in:
Tim Young 2018-05-11 10:36:09 -05:00
parent de5a3c353e
commit 98ed29a45e
2 changed files with 33 additions and 1 deletions

View File

@ -79,6 +79,8 @@
this.myProgressBar = new System.Windows.Forms.ProgressBar();
this.cbLineColor = new System.Windows.Forms.ComboBox();
this.cbFillColor = new System.Windows.Forms.ComboBox();
this.storeReplayToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.saveReplayToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.msMainMenuStrip.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.pbNetworkView)).BeginInit();
this.HelpPanel.SuspendLayout();
@ -109,7 +111,9 @@
this.saveToolStripMenuItem,
this.logoutToolStripMenuItem,
this.exitToolStripMenuItem,
this.replayToolStripMenuItem});
this.replayToolStripMenuItem,
this.storeReplayToolStripMenuItem,
this.saveReplayToolStripMenuItem});
this.fileToolStripMenuItem.Name = "fileToolStripMenuItem";
this.fileToolStripMenuItem.Size = new System.Drawing.Size(44, 24);
this.fileToolStripMenuItem.Text = "File";
@ -543,6 +547,20 @@
this.cbFillColor.Size = new System.Drawing.Size(80, 24);
this.cbFillColor.TabIndex = 13;
//
// storeReplayToolStripMenuItem
//
this.storeReplayToolStripMenuItem.Name = "storeReplayToolStripMenuItem";
this.storeReplayToolStripMenuItem.Size = new System.Drawing.Size(181, 26);
this.storeReplayToolStripMenuItem.Text = "Store Replay";
this.storeReplayToolStripMenuItem.Click += new System.EventHandler(this.storeReplayToolStripMenuItem_Click);
//
// saveReplayToolStripMenuItem
//
this.saveReplayToolStripMenuItem.Name = "saveReplayToolStripMenuItem";
this.saveReplayToolStripMenuItem.Size = new System.Drawing.Size(181, 26);
this.saveReplayToolStripMenuItem.Text = "Save Replay";
this.saveReplayToolStripMenuItem.Click += new System.EventHandler(this.saveReplayToolStripMenuItem_Click);
//
// BuilderWindow
//
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
@ -631,6 +649,8 @@
private System.Windows.Forms.ComboBox cbLineColor;
private System.Windows.Forms.ComboBox cbFillColor;
private System.Windows.Forms.ToolStripMenuItem replayToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem storeReplayToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem saveReplayToolStripMenuItem;
}
}

View File

@ -2830,6 +2830,8 @@ namespace EduNetworkBuilder
{
NBSettings ourSettings = NB.GetSettings();
replayToolStripMenuItem.Visible = false;
storeReplayToolStripMenuItem.Visible = false;
saveReplayToolStripMenuItem.Visible = false;
if (OurSettings != null && OurSettings.ReplayMode)
{
@ -2843,5 +2845,15 @@ namespace EduNetworkBuilder
}
}
private void storeReplayToolStripMenuItem_Click(object sender, EventArgs e)
{
}
private void saveReplayToolStripMenuItem_Click(object sender, EventArgs e)
{
}
}
}