Add file -> forget replay statuses. So we can reset our replays.
This commit is contained in:
parent
d838fe1987
commit
92246a3dac
32
EduNetworkBuilder/NetworkBuilder.Designer.cs
generated
32
EduNetworkBuilder/NetworkBuilder.Designer.cs
generated
@ -82,6 +82,7 @@
|
||||
this.myProgressBar = new System.Windows.Forms.ProgressBar();
|
||||
this.cbLineColor = new System.Windows.Forms.ComboBox();
|
||||
this.cbFillColor = new System.Windows.Forms.ComboBox();
|
||||
this.forgetReplayStatusesToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.msMainMenuStrip.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pbNetworkView)).BeginInit();
|
||||
this.HelpPanel.SuspendLayout();
|
||||
@ -111,10 +112,11 @@
|
||||
this.reloadToolStripMenuItem,
|
||||
this.saveToolStripMenuItem,
|
||||
this.logoutToolStripMenuItem,
|
||||
this.exitToolStripMenuItem,
|
||||
this.replayToolStripMenuItem,
|
||||
this.storeReplayToolStripMenuItem,
|
||||
this.saveReplayToolStripMenuItem});
|
||||
this.saveReplayToolStripMenuItem,
|
||||
this.forgetReplayStatusesToolStripMenuItem,
|
||||
this.exitToolStripMenuItem});
|
||||
this.fileToolStripMenuItem.Name = "fileToolStripMenuItem";
|
||||
this.fileToolStripMenuItem.Size = new System.Drawing.Size(44, 24);
|
||||
this.fileToolStripMenuItem.Text = "File";
|
||||
@ -123,63 +125,63 @@
|
||||
// newToolStripMenuItem
|
||||
//
|
||||
this.newToolStripMenuItem.Name = "newToolStripMenuItem";
|
||||
this.newToolStripMenuItem.Size = new System.Drawing.Size(181, 26);
|
||||
this.newToolStripMenuItem.Size = new System.Drawing.Size(234, 26);
|
||||
this.newToolStripMenuItem.Text = "New";
|
||||
this.newToolStripMenuItem.Click += new System.EventHandler(this.newToolStripMenuItem_Click);
|
||||
//
|
||||
// loadToolStripMenuItem
|
||||
//
|
||||
this.loadToolStripMenuItem.Name = "loadToolStripMenuItem";
|
||||
this.loadToolStripMenuItem.Size = new System.Drawing.Size(181, 26);
|
||||
this.loadToolStripMenuItem.Size = new System.Drawing.Size(234, 26);
|
||||
this.loadToolStripMenuItem.Text = "Load";
|
||||
this.loadToolStripMenuItem.Click += new System.EventHandler(this.loadToolStripMenuItem_Click);
|
||||
//
|
||||
// reloadToolStripMenuItem
|
||||
//
|
||||
this.reloadToolStripMenuItem.Name = "reloadToolStripMenuItem";
|
||||
this.reloadToolStripMenuItem.Size = new System.Drawing.Size(181, 26);
|
||||
this.reloadToolStripMenuItem.Size = new System.Drawing.Size(234, 26);
|
||||
this.reloadToolStripMenuItem.Text = "Reload";
|
||||
this.reloadToolStripMenuItem.Click += new System.EventHandler(this.reloadToolStripMenuItem_Click);
|
||||
//
|
||||
// saveToolStripMenuItem
|
||||
//
|
||||
this.saveToolStripMenuItem.Name = "saveToolStripMenuItem";
|
||||
this.saveToolStripMenuItem.Size = new System.Drawing.Size(181, 26);
|
||||
this.saveToolStripMenuItem.Size = new System.Drawing.Size(234, 26);
|
||||
this.saveToolStripMenuItem.Text = "Save";
|
||||
this.saveToolStripMenuItem.Click += new System.EventHandler(this.saveToolStripMenuItem_Click);
|
||||
//
|
||||
// logoutToolStripMenuItem
|
||||
//
|
||||
this.logoutToolStripMenuItem.Name = "logoutToolStripMenuItem";
|
||||
this.logoutToolStripMenuItem.Size = new System.Drawing.Size(181, 26);
|
||||
this.logoutToolStripMenuItem.Size = new System.Drawing.Size(234, 26);
|
||||
this.logoutToolStripMenuItem.Text = "Logout";
|
||||
this.logoutToolStripMenuItem.Click += new System.EventHandler(this.logoutToolStripMenuItem_Click);
|
||||
//
|
||||
// exitToolStripMenuItem
|
||||
//
|
||||
this.exitToolStripMenuItem.Name = "exitToolStripMenuItem";
|
||||
this.exitToolStripMenuItem.Size = new System.Drawing.Size(181, 26);
|
||||
this.exitToolStripMenuItem.Size = new System.Drawing.Size(234, 26);
|
||||
this.exitToolStripMenuItem.Text = "Exit";
|
||||
this.exitToolStripMenuItem.Click += new System.EventHandler(this.exitToolStripMenuItem_Click);
|
||||
//
|
||||
// replayToolStripMenuItem
|
||||
//
|
||||
this.replayToolStripMenuItem.Name = "replayToolStripMenuItem";
|
||||
this.replayToolStripMenuItem.Size = new System.Drawing.Size(181, 26);
|
||||
this.replayToolStripMenuItem.Size = new System.Drawing.Size(234, 26);
|
||||
this.replayToolStripMenuItem.Text = "Replay";
|
||||
this.replayToolStripMenuItem.Click += new System.EventHandler(this.replayToolStripMenuItem_Click);
|
||||
//
|
||||
// storeReplayToolStripMenuItem
|
||||
//
|
||||
this.storeReplayToolStripMenuItem.Name = "storeReplayToolStripMenuItem";
|
||||
this.storeReplayToolStripMenuItem.Size = new System.Drawing.Size(181, 26);
|
||||
this.storeReplayToolStripMenuItem.Size = new System.Drawing.Size(234, 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.Size = new System.Drawing.Size(234, 26);
|
||||
this.saveReplayToolStripMenuItem.Text = "Save Replay";
|
||||
this.saveReplayToolStripMenuItem.Click += new System.EventHandler(this.saveReplayToolStripMenuItem_Click);
|
||||
//
|
||||
@ -571,6 +573,13 @@
|
||||
this.cbFillColor.Size = new System.Drawing.Size(80, 24);
|
||||
this.cbFillColor.TabIndex = 13;
|
||||
//
|
||||
// forgetReplayStatusesToolStripMenuItem
|
||||
//
|
||||
this.forgetReplayStatusesToolStripMenuItem.Name = "forgetReplayStatusesToolStripMenuItem";
|
||||
this.forgetReplayStatusesToolStripMenuItem.Size = new System.Drawing.Size(234, 26);
|
||||
this.forgetReplayStatusesToolStripMenuItem.Text = "Forget Replay Statuses";
|
||||
this.forgetReplayStatusesToolStripMenuItem.Click += new System.EventHandler(this.forgetReplayStatusesToolStripMenuItem_Click);
|
||||
//
|
||||
// BuilderWindow
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
|
||||
@ -662,6 +671,7 @@
|
||||
private System.Windows.Forms.ToolStripMenuItem storeReplayToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem saveReplayToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem regressionTestingToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem forgetReplayStatusesToolStripMenuItem;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -82,6 +82,7 @@ namespace EduNetworkBuilder
|
||||
copyToolStripMenuItem.Visible = false;
|
||||
pasteToolStripMenuItem.Visible = false;
|
||||
undoToolStripMenuItem.Visible = false;
|
||||
forgetReplayStatusesToolStripMenuItem.Visible = false;
|
||||
|
||||
myTooltip.AutoPopDelay = 5000;
|
||||
myTooltip.InitialDelay = 1000;
|
||||
@ -2916,6 +2917,7 @@ namespace EduNetworkBuilder
|
||||
|
||||
if (OurSettings != null && OurSettings.ReplayMode)
|
||||
{
|
||||
forgetReplayStatusesToolStripMenuItem.Visible = true;
|
||||
ActionCollection AC = OurSettings.GetUserActionCollection();
|
||||
if (AC != null)
|
||||
{
|
||||
@ -2992,5 +2994,10 @@ namespace EduNetworkBuilder
|
||||
regressionTestingToolStripMenuItem.Visible = false;
|
||||
}
|
||||
}
|
||||
|
||||
private void forgetReplayStatusesToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
OurSettings.ClearReplayStatus();
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user