WIP: is-busy UI states

This commit is contained in:
Ray 2021-10-25 15:20:23 +01:00
parent 9dba2a4e3d
commit 46428f3f80

View File

@ -47,9 +47,14 @@ namespace RandomFileRunner
isBusy = value; isBusy = value;
ThreadControl.SetValue(pictureBox1, (isBusy ? AppResource.loading_block : null)); ThreadControl.SetValue(pictureBox1, (isBusy ? AppResource.loading_block : null));
//ThreadControl.SetEnable(textBox1, !isBusy); ThreadControl.SetEnable(textBox1, !isBusy);
ThreadControl.SetEnable(button1, !isBusy);
ThreadControl.SetEnable(button2, !isBusy); ThreadControl.SetEnable(button2, !isBusy);
ThreadControl.SetEnable(button3, !isBusy);
ThreadControl.SetEnable(button4, !isBusy);
ThreadControl.SetEnable(memoBox1, !isBusy);
ThreadControl.SetEnable(button5, !isBusy);
ThreadControl.SetEnable(button1, !isBusy);
} }
} }