From 46428f3f801bf8a103870e5678e2d5d80f89dca6 Mon Sep 17 00:00:00 2001 From: Ray Date: Mon, 25 Oct 2021 15:20:23 +0100 Subject: [PATCH] WIP: is-busy UI states --- MainForm.cs | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/MainForm.cs b/MainForm.cs index a0460e6..113226b 100644 --- a/MainForm.cs +++ b/MainForm.cs @@ -47,9 +47,14 @@ namespace RandomFileRunner isBusy = value; ThreadControl.SetValue(pictureBox1, (isBusy ? AppResource.loading_block : null)); - //ThreadControl.SetEnable(textBox1, !isBusy); - ThreadControl.SetEnable(button1, !isBusy); + ThreadControl.SetEnable(textBox1, !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); } }