// constructor public Win_DomLocType() { InitializeComponent(); // worker LTWkr = new lwdom_LocType_Worker(); // reset field and initialize buttons ResetDisplayFields(); InitialButtonConfiguration(); // list models in data grid ListModelsInGrid(); }
// load the lwdom_LocType comb box private void load_LocType_CombBox() { // Location Type lwdom_LocType_Worker LTWkr = new lwdom_LocType_Worker(); List<string> ltStr_List = LTWkr.Get_LocType_StringList(); // load combo box items source cboLocType.ItemsSource = ltStr_List; }