示例#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);
        }
示例#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;
            }
        }
示例#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;
     }
 }
示例#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;
 }
示例#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(); 
     }
 }