private void ES_Notifaction_Click(object sender, EventArgs e) { if (stsUI.ShowDialog(this) == DialogResult.OK) { SaveConfigs(); } }
private void ES_Setting_Click(object sender, EventArgs e) { if (beginUpdate) { return; } if (stsUI.ShowDialog(this) == DialogResult.OK) { SaveConfigs(); if (!beginUpdate) { new Thread(RefreshData) { IsBackground = true, Name = "Update Thread", Priority = ThreadPriority.BelowNormal }.Start(); } } }