Skip to content

Commit

Permalink
Review main form
Browse files Browse the repository at this point in the history
  • Loading branch information
AMagistroni committed Sep 9, 2021
1 parent 9966cfe commit 903e56b
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 25 deletions.
50 changes: 25 additions & 25 deletions SqlSchemaCompare.WindowsForm/MainForm.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions SqlSchemaCompare.WindowsForm/MainForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@ private void EnableDisableMainForm(string text, bool enable)
GrpCompare.Enabled = enable;
GrpDbObjects.Enabled = enable;
GrpUpdateSchema.Enabled = enable;
GrpMain.Enabled = enable;

if (enable)
ProgressBar.Hide();
Expand All @@ -182,6 +183,8 @@ private void LoadClearSchemaCompleted(string text, bool isAfterLoad)
btnOriginSchema.Enabled = !isAfterLoad;
btnDestinationSchema.Enabled = !isAfterLoad;
BtnLoadSchema.Enabled = !isAfterLoad;
BtnSwapOriginDestination.Enabled = !isAfterLoad;
GrpMain.Enabled = true;

GrpCompare.Enabled = isAfterLoad;
GrpDbObjects.Enabled = isAfterLoad;
Expand Down

0 comments on commit 903e56b

Please sign in to comment.