// put your initialization code in here.. public override void Initialize() { MySettings = new RoutesBuddySettings (Path.Combine(Logging.ApplicationPath, string.Format(@"Settings\{0}\{0}-{1}.xml", Name, Me.Name))); Gui = new MainForm(); }
// put your initialization code in here.. public override void Initialize() { MySettings = new RoutesBuddySettings (Path.Combine(Application.StartupPath, string.Format(@"Settings\{0}\{0}.xml", Name))); if (string.IsNullOrEmpty(MySettings.LastFolder)) MySettings.LastFolder = System.Environment.CurrentDirectory; Gui = new MainForm(); }