Update Updater, Configuration

Update MainForm Binding Servers,Modes
This commit is contained in:
ChsBuffer
2021-06-05 18:37:12 +08:00
parent 34acb6b281
commit 8a48e321b5
11 changed files with 115 additions and 135 deletions

View File

@@ -244,7 +244,7 @@ namespace Netch.Forms
Show();
}
private void ControlButton_Click(object sender, EventArgs e)
private async void ControlButton_Click(object sender, EventArgs e)
{
Utils.Utils.ComponentIterator(this, component => Utils.Utils.ChangeControlForeColor(component, Color.Black));
@@ -268,7 +268,7 @@ namespace Netch.Forms
Utils.Utils.RegisterNetchStartupItem();
Configuration.Save();
await Configuration.SaveAsync();
MessageBoxX.Show(i18N.Translate("Saved"));
Close();
}