private void FC_RFBarcode_Load(object sender, EventArgs e) { try { this.cs = new VehIC_WF.CommonService.CommonService(); this.IC = new VehIC_WF.ICCardManageService.ICCardManageService(); if (!FrmMain.Debug) { this.cs.Url = "http://" + FrmMain.localinfo.ServerUrl + "/VehIC_WS/CommonService.asmx"; this.IC.Url = "http://" + FrmMain.localinfo.ServerUrl + "/VehIC_WS/ICCardManageService.asmx"; } string[] vehTypeList = this.IC.GetVehTypeList(); for (int i = 0; i < vehTypeList.Length; i++) { if (!(vehTypeList[i].Trim() == "")) { this.cb_vehtype.Items.Add(vehTypeList[i]); } } this.cb_vehtype.SelectedIndex = -1; this.serverurl = this.cs.GetThridUrl() + "login.aspx?un=0"; this.axWebBrowser1.Navigate(this.serverurl); } catch (Exception exception) { MessageBox.Show("初始化数据时出错!\r\n" + exception.ToString()); } }
private void FrmRFCancel_Load(object sender, EventArgs e) { this.IC = new VehIC_WF.ICCardManageService.ICCardManageService(); if (!FrmMain.Debug) { this.IC.Url = "http://" + FrmMain.localinfo.ServerUrl + "/VehIC_WS/ICCardManageService.asmx"; } this.Init(); }
private void FC_MatVehCardEx_Load(object sender, EventArgs e) { this.CS = new VehIC_WF.CommonService.CommonService(); this.IC = new VehIC_WF.ICCardManageService.ICCardManageService(); if (!FrmMain.Debug) { this.CS.Url = "http://" + FrmMain.localinfo.ServerUrl + "/VehIC_WS/CommonService.asmx"; this.IC.Url = "http://" + FrmMain.localinfo.ServerUrl + "/VehIC_WS/ICCardManageService.asmx"; } }
private void FC_OperaterCard_Load(object sender, EventArgs e) { try { this.iccardmanageservice = new VehIC_WF.ICCardManageService.ICCardManageService(); if (!FrmMain.Debug) { this.iccardmanageservice.Url = "http://" + FrmMain.localinfo.ServerUrl + "/VehIC_WS/ICCardManageService.asmx"; } } catch (Exception exception) { MessageBox.Show("初始化数据时出错!\r\n" + exception.ToString()); } }
public FC_FixVehCard() { try { this.InitializeComponent(); this.iccardmanageservice = new VehIC_WF.ICCardManageService.ICCardManageService(); if (!FrmMain.Debug) { this.iccardmanageservice.Url = "http://" + FrmMain.localinfo.ServerUrl + "/VehIC_WS/ICCardManageService.asmx"; } } catch (Exception exception) { MessageBox.Show("初始化数据时出错!\r\n" + exception.ToString()); } }
private void FC_RFBarcodeEx_Load(object sender, EventArgs e) { try { this.cs = new VehIC_WF.CommonService.CommonService(); this.IC = new VehIC_WF.ICCardManageService.ICCardManageService(); if (!FrmMain.Debug) { this.cs.Url = "http://" + FrmMain.localinfo.ServerUrl + "/VehIC_WS/CommonService.asmx"; this.IC.Url = "http://" + FrmMain.localinfo.ServerUrl + "/VehIC_WS/ICCardManageService.asmx"; } } catch (Exception exception) { MessageBox.Show("初始化数据时出错!\r\n" + exception.ToString()); } }
private void FrmLogin_Load(object sender, EventArgs e) { this.cs = new VehIC_WF.CommonService.CommonService(); this.ic = new VehIC_WF.ICCardManageService.ICCardManageService(); this.cs.Url = "http://" + FrmMain.localinfo.ServerUrl + "/VehIC_WS/CommonService.asmx"; this.ic.Url = "http://" + FrmMain.localinfo.ServerUrl + "/VehIC_WS/ICCardManageService.asmx"; //this.sklogin = this.cs.GetSystemPara("LoginByIc") == "1"; // this.OnMsg = new InvokeDelegate(this.HandleMessage); //if (this.sklogin && this.LoadDevice()) // if (this.sklogin && FrmMain.localinfo.device_reader_status) //if (this.sklogin && DeviceManager.Instance.HaveAvailableCardReader()) //{ // this.textBox1.ReadOnly = true; // this.OnMsg = new InvokeDelegate(this.HandleMessage); // this.timer1.Start(); //} //else //{ this.textBox1.Focus(); //} }