Disable input while running

This commit is contained in:
aj
2018-06-10 19:17:25 -04:00
parent bc2ac5b782
commit ad8fd08dcf

View File

@@ -112,6 +112,10 @@ namespace ExportDXF.Forms
var item = comboBox1.SelectedItem as Item2; var item = comboBox1.SelectedItem as Item2;
viewFlipDecider = item.ViewFlipDecider; viewFlipDecider = item.ViewFlipDecider;
activeDocTitleBox.Enabled = false;
prefixTextBox.Enabled = false;
comboBox1.Enabled = false;
button1.Image = Properties.Resources.stop_alt; button1.Image = Properties.Resources.stop_alt;
if (richTextBox1.TextLength != 0) if (richTextBox1.TextLength != 0)
@@ -137,6 +141,10 @@ namespace ExportDXF.Forms
templateDrawing = null; templateDrawing = null;
} }
activeDocTitleBox.Enabled = true;
prefixTextBox.Enabled = true;
comboBox1.Enabled = true;
button1.Image = Properties.Resources.play; button1.Image = Properties.Resources.play;
})); }));