private async void optionsToolStripMenuItem_Click(object sender, EventArgs e) { var dlg = new OptionsDialog(); var res = dlg.ShowDialog(); // so far the dialog box does it all, no real need for this check... if (res == DialogResult.OK) { await VixenSystem.SaveSystemConfigAsync(); } }
public async Task <bool> Save() { return(await VixenSystem.SaveSystemConfigAsync()); }