예제 #1
0
 private void RunAtStartup()
 {
     try
     {
         ChoApplication.RunAtSystemStartup(!this._runAtStartupContextMenuItem.Checked);
     }
     catch { }
 }
예제 #2
0
 private void RunAtStartup()
 {
     try
     {
         ChoApplication.RunAtSystemStartup("{0}_I".FormatString(ChoGlobalApplicationSettings.Me.ApplicationNameWithoutExtension),
                                           ChoAssembly.GetEntryAssembly().Location, !this._runAtStartupContextMenuItem.Checked);
     }
     catch { }
 }