private void btnApply_Click(object sender, EventArgs e) { ServiceConfiguration.Save(Config); this.State.RestartService(); MessageBox.Show("Settings saved!"); }
private void btnOk_Click(object sender, EventArgs e) { ServiceConfiguration.Save(Config); this.State.RestartService(); Close(); }