protected override void OnShown(EventArgs e) { base.OnShown(e); if (_config.StartupState == StartupState.Second) { Jumplist_ShowAbout(null); _config.StartupState = StartupState.Other; _config.Save(); } if (_config.StartupState == StartupState.First) { FirstRun firstRun = new FirstRun(); firstRun.Show(); firstRun.BringToFront(); firstRun.Focus(); _config.StartupState = StartupState.Second; _config.Save(); } base.Top = 5000; }
private void Main_Shown(object sender, EventArgs e) { if (_config.FirstRun) { FirstRun firstRun = new FirstRun(); firstRun.Show(); firstRun.BringToFront(); firstRun.Focus(); _config.FirstRun = false; _config.Save(); } base.Top = 5000; }
protected override void OnShown(EventArgs e) { base.OnShown(e); if(_config.StartupState == StartupState.Second) { Jumplist_ShowAbout(null); _config.StartupState = StartupState.Other; _config.Save(); } if(_config.StartupState == StartupState.First) { FirstRun firstRun = new FirstRun(); firstRun.Show(); firstRun.BringToFront(); firstRun.Focus(); _config.StartupState = StartupState.Second; _config.Save(); } base.Top = 5000; }
private void Main_Shown(object sender, EventArgs e) { if (_config.FirstRun) { FirstRun firstRun = new FirstRun(); firstRun.Show(); firstRun.BringToFront(); firstRun.Focus(); _config.FirstRun = false; _config.Save(); } if (_config.GrowlNotify) { GrowlManager.Register(); } base.Top = 5000; }
protected override void OnShown(EventArgs e) { base.OnShown(e); if(_config.FirstRun) { FirstRun firstRun = new FirstRun(); firstRun.Show(); firstRun.BringToFront(); firstRun.Focus(); _config.FirstRun = false; _config.Save(); } base.Top = 5000; }