Skip to content

Commit

Permalink
1.4.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
krisdb2009 committed Apr 16, 2024
1 parent 7372313 commit f4d7499
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions SuperGrate/Controls/Main.cs
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,8 @@ public RunningTask Running {
tbDestinationComputer.Enabled =
btnAFillSrc.Enabled =
btnAFillDest.Enabled =
btnThisPCFillSrc.Enabled =
btnThisPCFillDest.Enabled =
btnListSource.Enabled =
btnListStore.Enabled =
btnDelete.Enabled =
Expand All @@ -236,6 +238,8 @@ public RunningTask Running {
tbDestinationComputer.Enabled =
btnAFillSrc.Enabled =
btnAFillDest.Enabled =
btnThisPCFillSrc.Enabled =
btnThisPCFillDest.Enabled =
btnListSource.Enabled =
btnListStore.Enabled =
btnDelete.Enabled =
Expand Down Expand Up @@ -355,12 +359,18 @@ private void UpdateFormRestrictions(object sender = null, EventArgs e = null)
}
if (listUsers.SelectedIndices.Count != 0)
{
tbSourceComputer.Enabled = btnAFillSrc.Enabled = false;
tbSourceComputer.Enabled =
btnAFillSrc.Enabled =
btnThisPCFillSrc.Enabled =
false;
btnDelete.Enabled = true;
}
else
{
tbSourceComputer.Enabled = btnAFillSrc.Enabled = true;
tbSourceComputer.Enabled =
btnAFillSrc.Enabled =
btnThisPCFillSrc.Enabled =
true;
btnDelete.Enabled = false;
}
if(tbSourceComputer.Text == "")
Expand Down

0 comments on commit f4d7499

Please sign in to comment.