Private
Public Access
Added command unlock feature
The feature is where the text editor hands off command to the display window
This commit is contained in:
1 parent
2a6ae05a0c
commit
ef65a52196
2 files changed
+7
No files matched your search
@@ -76,5 +76,10 @@ namespace Advanced_Software_Engineering
|
||||
commander.RemoveAllCommands();
|
||||
}
|
||||
|
||||
public void ReleaseCommandLock() {
|
||||
textBox1.Enabled = true;
|
||||
button1.Enabled = true;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
@@ -23,7 +23,9 @@ namespace Advanced_Software_Engineering {
|
||||
}
|
||||
|
||||
private void Console_FormClosed(object sender, FormClosedEventArgs e) {
|
||||
if (DisplayForm != null || !DisplayForm.IsDisposed) DisplayForm.ReleaseCommandLock();
|
||||
SettingsAndHelperFunctions.WindowClosed();
|
||||
Dispose();
|
||||
}
|
||||
|
||||
private void newFileToolStripMenuItem_Click(object sender, EventArgs e) {
|
||||
|
||||
Reference in new issue
Block a user