private void Btn_browse_replacement_images_Click(object sender, EventArgs e) { if (browse_open_folder.ShowDialog() == System.Windows.Forms.DialogResult.OK) { var filePath = browse_open_folder.SelectedPath; SavePathSettingAction?.Invoke(filePath, Constants.Setting.LastUsedReplacementImagePath); txt_browse_replacement_images.Text = filePath; } }
private void Btn_browse_load_match_path_Click(object sender, EventArgs e) { if (browse_json_file.ShowDialog() == System.Windows.Forms.DialogResult.OK) { var filePath = browse_json_file.FileName; SavePathSettingAction?.Invoke(filePath, Constants.Setting.LastUsedLoadPath); txt_card_match_path.Text = filePath; } }
private void Btn_browse_carddb_Click(object sender, EventArgs e) { if (browse_carddb.ShowDialog() == System.Windows.Forms.DialogResult.OK) { var filePath = browse_carddb.FileName; SavePathSettingAction?.Invoke(filePath, Constants.Setting.LastUsedCardDbPath); CardDbPathChanged?.Invoke(filePath); txt_browse_carddb.Text = filePath; } }