private void FillProvs() { comboBoxMultiProv.Items.Add("All"); for (int i = 0; i < ProviderC.ListShort.Count; i++) { comboBoxMultiProv.Items.Add(ProviderC.ListShort[i].GetLongDesc()); } comboBoxMultiProv.SetSelected(0, true); comboBoxMultiProv.RefreshText(); isAllProv = true; }
private void FormRpTreatmentFinder_Load(object sender, System.EventArgs e) { //DateTime today=DateTime.Today; //will start out 1st through 30th of previous month //date1.SelectionStart=new DateTime(today.Year,today.Month,1).AddMonths(-1); //date2.SelectionStart=new DateTime(today.Year,today.Month,1).AddDays(-1); comboBoxMultiProv.Items.Add("All"); for (int i = 0; i < ProviderC.ListShort.Count; i++) { comboBoxMultiProv.Items.Add(ProviderC.ListShort[i].GetLongDesc()); } comboBoxMultiProv.SetSelected(0, true); comboBoxMultiProv.RefreshText(); comboBoxMultiBilling.Items.Add("All"); for (int i = 0; i < DefC.Short[(int)DefCat.BillingTypes].Length; i++) { comboBoxMultiBilling.Items.Add(DefC.Short[(int)DefCat.BillingTypes][i].ItemName); } comboBoxMultiBilling.SetSelected(0, true); comboBoxMultiBilling.RefreshText(); comboMonthStart.SelectedIndex = 0; FillGrid(); }