summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2014-12-24 11:01:40 +0000
committeremkael <emkael@tlen.pl>2014-12-24 11:01:40 +0000
commit348089aebcabcf7719abde4f7a493e311710bb24 (patch)
tree0a6aa1af9b8a0ef762432507c654c94194d1403d
parentfb650075d7eca352bbd2150311a9b4ffb2a8b514 (diff)
* GUI management on contract analysis
git-svn-id: https://svn.emkael.info/an9k@47 05ec0d5d-773b-4d93-9e23-c81a7ac79feb
-rw-r--r--Analizator9000/Analizator9000/Form1.cs11
1 files changed, 5 insertions, 6 deletions
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
/// <param name="e"></param>
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);
}