/// <summary> /// init /// </summary> public void m_mthInit() { DataTable dtbResult; dicGroup = new Dictionary <string, string>(); m_objManage.lngGetAllCheckSpec(out dtbResult); for (int i = 0; i < dtbResult.Rows.Count; i++) { m_objViewer.cbxGroup.Items.Add(dtbResult.Rows[i]["check_category_desc_vchr"].ToString()); dicGroup.Add(dtbResult.Rows[i]["check_category_id_chr"].ToString(), dtbResult.Rows[i]["check_category_desc_vchr"].ToString()); } m_mthListCheckItem(); }
void init() { m_objManage = new clsDcl_LimitTimeMaitain(); DataTable dtbResult; dicGroup = new Dictionary <string, string>(); m_objManage.lngGetAllCheckSpec(out dtbResult); for (int i = 0; i < dtbResult.Rows.Count; i++) { this.cbxGroup.Items.Add(dtbResult.Rows[i]["check_category_desc_vchr"].ToString()); dicGroup.Add(dtbResult.Rows[i]["check_category_id_chr"].ToString(), dtbResult.Rows[i]["check_category_desc_vchr"].ToString()); } m_mthListCheckItem(); }