From ad8fd08dcf5ee4134e982cdd7d93c22821414a96 Mon Sep 17 00:00:00 2001 From: aj Date: Sun, 10 Jun 2018 19:17:25 -0400 Subject: [PATCH] Disable input while running --- ExportDXF/Forms/MainForm.cs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/ExportDXF/Forms/MainForm.cs b/ExportDXF/Forms/MainForm.cs index cfedd47..c3a78da 100644 --- a/ExportDXF/Forms/MainForm.cs +++ b/ExportDXF/Forms/MainForm.cs @@ -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; }));