From 98ed29a45e7c844d2252e577b26f50c06299b6d5 Mon Sep 17 00:00:00 2001 From: Tim Young Date: Fri, 11 May 2018 10:36:09 -0500 Subject: [PATCH] Add some menu items --- EduNetworkBuilder/NetworkBuilder.Designer.cs | 22 +++++++++++++++++++- EduNetworkBuilder/NetworkBuilder.cs | 12 +++++++++++ 2 files changed, 33 insertions(+), 1 deletion(-) diff --git a/EduNetworkBuilder/NetworkBuilder.Designer.cs b/EduNetworkBuilder/NetworkBuilder.Designer.cs index 1d3f48e..fd0e384 100644 --- a/EduNetworkBuilder/NetworkBuilder.Designer.cs +++ b/EduNetworkBuilder/NetworkBuilder.Designer.cs @@ -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; } } diff --git a/EduNetworkBuilder/NetworkBuilder.cs b/EduNetworkBuilder/NetworkBuilder.cs index 2070d68..32fb133 100644 --- a/EduNetworkBuilder/NetworkBuilder.cs +++ b/EduNetworkBuilder/NetworkBuilder.cs @@ -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) + { + + } } } \ No newline at end of file