private void Frmbrxxcx_Load(object sender, EventArgs e) { FunAddComboBox.AddBrlx(true, 0, cmbbrlx, InstanceForm.BDatabase); FunAddComboBox.AddKlx(false, 0, cmbklx, InstanceForm.BDatabase); FunAddComboBox.AddOperator(true, cmbdjy, InstanceForm.BDatabase); FunAddComboBox.AddYblx(true, 0, cmbcblx, InstanceForm.BDatabase); FunAddComboBox.AddGj(true, cmbgj, InstanceForm.BDatabase); FunAddComboBox.AddMz(true, cmbmz, InstanceForm.BDatabase); // chkdjsj.Checked = true; dtpcsrq1.Value = dtpcsrq1.Value.AddYears(-1); //自动读射频卡 string sbxh = ApiFunction.GetIniString("医院健康卡", "设备型号", Constant.ApplicationDirectory + "//ClientWindow.ini"); ts_Read_hospitalCard.Icall ReadCard = ts_Read_hospitalCard.CardFactory.NewCall(sbxh); if (ReadCard != null) { ReadCard.AutoReadCard(_menuTag.Function_Name, cmbklx, txtkh); } //150108 chencan/ 右键菜单添加“诊疗卡打印” if (cfg1161.Config == "1") { ToolStripMenuItem menuprint = new ToolStripMenuItem(); menuprint.Text = "重打条码单"; menuprint.Click += new EventHandler(menuprint_Click); this.contextMenuStrip1.Items.Add(menuprint); } cmbklx.Focus(); }