public void m_lngFrmLoad() { this.m_objViewer.comboBox1.SelectedIndex = 0; this.m_objViewer.comboBox2.SelectedIndex = 0; this.m_objViewer.comboBox3.SelectedIndex = 0; long lngRes = Domain.m_lngGetAllPatientPayType(out dtPayType); if (lngRes == 1) { DataRow InserRow = dtPayType.NewRow(); InserRow["PAYTYPENO_VCHR"] = "0000"; InserRow["PAYTYPENAME_VCHR"] = "公用"; InserRow["strISUSING"] = "正常"; InserRow["MEMO_VCHR"] = "公用"; InserRow["PAYTYPEID_CHR"] = "0000"; dtPayType.Rows.InsertAt(InserRow, 0); this.m_objViewer.m_DgPayType.m_mthSetDataTable(dtPayType); this.m_objViewer.m_DgPayType.CurrentCell = new DataGridCell(0, 0); this.m_objViewer.m_DgPayType.m_mthSelectARow(0); m_lngGetAndShowItem(); } else { MessageBox.Show("获取数据出错!", "系统提示"); } clsDomainConrol_ConcertreCipe m_objDoMain = new clsDomainConrol_ConcertreCipe(); m_objDoMain.m_mthFindMedicine(out tbItem, null); }