private void RefreshComboBoxes() { selectedDirectoryLabel.Text = this.CurrentFilePath; // Refresh combo boxes with the files in the new directory CatSelectorGen.PopulateCategories(this.files); CatSelectorManage.PopulateCategories(this.files); CatSelectorGen.ResetCombo(); CatSelectorManage.ResetCombo(); }
private void SetCombosToNewFile(string newFileName) { CatSelectorGen.SetSelectedIndex(newFileName); CatSelectorManage.SetSelectedIndex(newFileName); }