StoreReplay
This commit is contained in:
parent
41a6fbe8b0
commit
048d461894
@ -2845,9 +2845,22 @@ namespace EduNetworkBuilder
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void StoreReplay()
|
||||||
|
{
|
||||||
|
NBSettings ourSettings = NB.GetSettings();
|
||||||
|
if (OurSettings != null && OurSettings.ReplayMode)
|
||||||
|
{
|
||||||
|
ActionCollection AC = OurSettings.GetUserActionCollection();
|
||||||
|
if(AC.CurrentNeedsStoring)
|
||||||
|
{
|
||||||
|
AC.PushActionToList();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
private void storeReplayToolStripMenuItem_Click(object sender, EventArgs e)
|
private void storeReplayToolStripMenuItem_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
|
StoreReplay();
|
||||||
}
|
}
|
||||||
|
|
||||||
private void saveReplayToolStripMenuItem_Click(object sender, EventArgs e)
|
private void saveReplayToolStripMenuItem_Click(object sender, EventArgs e)
|
||||||
|
Loading…
Reference in New Issue
Block a user