public override bool Action(string action) { bool result = base.Action(action); if (result && action == ACTION_SHOW) { using (SetupWizardForm dlg = new SetupWizardForm(this, Core)) { dlg.ShowDialog(); } } return(result); }
public async override Task ApplicationInitializedAsync() { await base.ApplicationInitializedAsync(); if (PluginSettings.Instance.FirstTimeUse) { using (SetupWizardForm dlg = new SetupWizardForm(this, Core)) { dlg.ShowDialog(); } PluginSettings.Instance.FirstTimeUse = false; } }
public override bool Action(string action) { bool result = base.Action(action); if (result && action == ACTION_SHOW) { using (SetupWizardForm dlg = new SetupWizardForm(this, Core)) { dlg.ShowDialog(); } } return result; }
public override void ApplicationInitialized() { base.ApplicationInitialized(); if (Properties.Settings.Default.FirstTimeUse) { using (SetupWizardForm dlg = new SetupWizardForm(this, Core)) { dlg.ShowDialog(); } Properties.Settings.Default.FirstTimeUse = false; Properties.Settings.Default.Save(); } }