From 348089aebcabcf7719abde4f7a493e311710bb24 Mon Sep 17 00:00:00 2001 From: emkael Date: Wed, 24 Dec 2014 11:01:40 +0000 Subject: * GUI management on contract analysis git-svn-id: https://svn.emkael.info/an9k@47 05ec0d5d-773b-4d93-9e23-c81a7ac79feb --- Analizator9000/Analizator9000/Form1.cs | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'Analizator9000') diff --git a/Analizator9000/Analizator9000/Form1.cs b/Analizator9000/Analizator9000/Form1.cs index 7d0efc5..bd04570 100644 --- a/Analizator9000/Analizator9000/Form1.cs +++ b/Analizator9000/Analizator9000/Form1.cs @@ -251,9 +251,11 @@ namespace Analizator9000 /// private void analyzeButton_Click(object sender, EventArgs e) { - analyzeGroup.Enabled = false; - generateGroup.Enabled = false; - abortButton.Enabled = true; + this.contractCancelButton.Enabled = true; + this.contractAnalyzeButton.Enabled = false; + this.analyzeButton.Enabled = false; + this.abortButton.Enabled = true; + this.fullContractTable.Enabled = false; statusListBox.Items.Clear(); this.addStatusLine("Otwieram plik: " + analyzeFileNameTextBox.Text); try @@ -547,9 +549,6 @@ namespace Analizator9000 ((TextBox)this.fullContractTable.GetControlFromPosition(column, row)).Text = ""; } } - this.contractCancelButton.Enabled = true; - this.contractAnalyzeButton.Enabled = false; - this.fullContractTable.Enabled = false; this.analyzeButton_Click(sender, e); } -- cgit v1.2.3