private void buttonSetupOutputPreviews_Click(object sender, EventArgs e) { ConfigPreviews form = new ConfigPreviews(); DialogResult result = form.ShowDialog(); if (result == DialogResult.OK) { VixenSystem.SaveSystemConfig(); } else { VixenSystem.ReloadSystemConfig(); } }
private void buttonSetupFiltersAndPatching_Click(object sender, EventArgs e) { ConfigFiltersAndPatching form = new ConfigFiltersAndPatching(_applicationData); DialogResult result = form.ShowDialog(); if (result == DialogResult.OK) { VixenSystem.SaveSystemConfig(); } else { VixenSystem.ReloadSystemConfig(); } }
private void SetupPreviews() { using (ConfigPreviews form = new ConfigPreviews()) { DialogResult result = form.ShowDialog(); if (result == DialogResult.OK) { VixenSystem.SaveSystemConfig(); } else { VixenSystem.ReloadSystemConfig(); } } }
private void SetupFiltersAndPatching() { using (ConfigFiltersAndPatching form = new ConfigFiltersAndPatching(_applicationData)) { DialogResult result = form.ShowDialog(); if (result == DialogResult.OK) { VixenSystem.SaveSystemConfig(); } else { VixenSystem.ReloadSystemConfig(); } } }
private void SetupDisplay() { using (DisplaySetup form = new DisplaySetup()) { DialogResult dr = form.ShowDialog(); if (dr == DialogResult.OK) { VixenSystem.SaveSystemConfig(); } else { VixenSystem.ReloadSystemConfig(); } } }
private void buttonSingleSetup_Click(object sender, EventArgs e) { DialogResult dr = MessageBox.Show("Please note: this new setup form is still in active development. There will be bugs! Make sure you backup your configuration in case it breaks something.", "", MessageBoxButtons.OKCancel, MessageBoxIcon.Warning); if (dr == DialogResult.Cancel) { return; } using (DisplaySetup form = new DisplaySetup()) { dr = form.ShowDialog(); } if (dr == DialogResult.OK) { VixenSystem.SaveSystemConfig(); } else { VixenSystem.ReloadSystemConfig(); } }