public SetUserForm() { InitializeComponent(); label3.Text = string.Empty; label4.Text = string.Empty; dataGridView1.SelectionMode = DataGridViewSelectionMode.FullRowSelect; idcardinfo = new CIDCardInfo(); idcardinfo.InitIDcardDev(); idcardinfo.Start(); idcardinfo.OnIDCardReceived += new CIDCardInfo.IDCardRequest(idcardinfo_OnIDCardReceived); userinvoke = new InvokeDelegate(userinvokefun); }
public CModel(ModuleSettings settings) { // config = new ModuleConfig(); this.settings = settings; idcardinfo = new CIDCardInfo(); idcardinfo.InitIDcardDev(); idcardinfo.Start(); idcardinfo.OnIDCardReceived += new CIDCardInfo.IDCardRequest(idcardinfo_OnIDCardReceived); findandsavestudent = new CFindAndSaveStudent(this); findandsavestudent.OpenLink(); ksdevmanager = new CKsDevManager(this); myprint = new CPrintContent(this); }
public string dq_sfzhm; //用户序列号 public Login_Form() { InitializeComponent(); ModuleSettings settings = ModuleConfig.GetSettings(); if (settings.Useidcard == 1) { textBox1.Enabled = false; textBox2.Enabled = false; } userclass = 1; invokeform = new InvokeDelegate(invokeformfun); idcardinfo = new CIDCardInfo(); idcardinfo.InitIDcardDev(); idcardinfo.OnIDCardReceived += new CIDCardInfo.IDCardRequest(idcardinfo_OnIDCardReceived); idcardinfo.Start(); }