Disable input while running
This commit is contained in:
@@ -112,6 +112,10 @@ namespace ExportDXF.Forms
|
||||
var item = comboBox1.SelectedItem as Item2;
|
||||
viewFlipDecider = item.ViewFlipDecider;
|
||||
|
||||
activeDocTitleBox.Enabled = false;
|
||||
prefixTextBox.Enabled = false;
|
||||
comboBox1.Enabled = false;
|
||||
|
||||
button1.Image = Properties.Resources.stop_alt;
|
||||
|
||||
if (richTextBox1.TextLength != 0)
|
||||
@@ -137,6 +141,10 @@ namespace ExportDXF.Forms
|
||||
templateDrawing = null;
|
||||
}
|
||||
|
||||
activeDocTitleBox.Enabled = true;
|
||||
prefixTextBox.Enabled = true;
|
||||
comboBox1.Enabled = true;
|
||||
|
||||
button1.Image = Properties.Resources.play;
|
||||
}));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user