// 새 파일 private void CreateNewFile() { IS_NEW_FILE = true; CurrentConfig = new MapleMacro2Config2(); IS_CHANGED = true; UpdateTitle(); }
private void F1000_Load(object sender, EventArgs e) { var defaultConfig = new MapleMacro2Config2(); CurrentConfig = defaultConfig; if (Properties.Settings.Default.RECENTLY_OPENED_FILES == null) { Properties.Settings.Default.RECENTLY_OPENED_FILES = new System.Collections.Specialized.StringCollection(); } // 마지막 설정 파일 열기 LoadConfigFile(Properties.Settings.Default.LAST_OPENED_FILE); UpdateTitle(); UpdateRecentlyOpenConfigFile(); automaticHuntingManager.OnLog += AutomaticHuntingManager_OnLog; toolStripStatusLabelFileVersion.Text = "v" + System.Diagnostics.FileVersionInfo.GetVersionInfo(System.Reflection.Assembly.GetExecutingAssembly().Location).FileVersion; }