private void Main_Load(object sender, EventArgs e) { //DebugWindow.logwrite("Loaded Main"); //Profiles.LoadProfile(0); Statics.LoadProfiles(); Statics.RefreshDictionary(); }
private void buttonDictionary_Click(object sender, EventArgs e) { openFileDialog1.InitialDirectory = Statics.dictionary_path; DialogResult result = openFileDialog1.ShowDialog(); Statics.Print($"File dialog returned {result.ToString()}"); if (result == DialogResult.OK) { Statics.dictionary_path = openFileDialog1.FileName; Statics.RefreshDictionary(); } }
private void buttonRefreshDict_Click(object sender, EventArgs e) { Statics.RefreshDictionary(); }