public void Init()
 {
     _autoStart = new AutoStart("espUrl", System.Reflection.Assembly.GetExecutingAssembly().Location);
     Settings.Default.AutostartWithWindows = _autoStart.IsEnabled();
 }
 public void Init()
 {
     _autoStart = new AutoStart("espUrl", System.Reflection.Assembly.GetExecutingAssembly().Location);
     Settings.Default.AutostartWithWindows = _autoStart.IsEnabled();
 }