Esempio n. 1
0
        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);
        }
Esempio n. 2
0
        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;
            }
        }
Esempio n. 3
0
 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;
     }
 }
Esempio n. 4
0
 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;
 }
Esempio n. 5
0
 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(); 
     }
 }