mirror of
https://github.com/netchx/netch.git
synced 2026-05-11 23:45:06 +08:00
Revert "refactor: MainForm change Enabled to change State"
This reverts commit abfae4a9a0.
This commit is contained in:
@@ -334,7 +334,7 @@ namespace Netch.Forms
|
||||
|
||||
private async void SpeedPictureBox_Click(object sender, EventArgs e)
|
||||
{
|
||||
State = State.Starting;
|
||||
Enabled = false;
|
||||
StatusText(i18N.Translate("Testing"));
|
||||
try
|
||||
{
|
||||
@@ -342,7 +342,7 @@ namespace Netch.Forms
|
||||
}
|
||||
finally
|
||||
{
|
||||
State = State.Stopped;
|
||||
Enabled = true;
|
||||
StatusText(i18N.Translate("Test done"));
|
||||
Refresh();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user