static void Main() { DoDSetting.Read(Path.Combine(Environment.CurrentDirectory, "setting.ini")); Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Application.Run(new frmMain()); }
private void mnuChangeDoDPath_Click(object sender, EventArgs e) { frmPathSelector pathSelectorWin = new frmPathSelector(); if (pathSelectorWin.ShowDialog() == DialogResult.OK) { DoDSetting.DoDPath = pathSelectorWin.SelectedPath; DoDSetting.SaveTo(Path.Combine(Environment.CurrentDirectory, "setting.ini").Replace("\\", "/")); RefreshLevels(); } }