public CFormCustomerManage()
        {
            InitializeComponent();

            try
            {
                iccdCom = CReadIniFile.ReadSectionData("刷卡器", "ICCardCom");
            }
            catch (Exception ex)
            {
                CLOGException.Trace(ex.ToString());
            }

            m_formCustomer     = new CFormCustomer();
            m_formCustomer.Tag = this.CucipCustomer;
            // 设置键盘“Esc”按钮
            Button BtnCancel = new Button();

            this.CancelButton = BtnCancel;
            BtnCancel.Click  += new EventHandler(BtnCustomerClose_Click);
            // 设置键盘“Enter”按钮
            this.AcceptButton = this.CucipCustomer.BtnFind;

            if (CStaticClass.ConfigBillingFlag())
            {// 有收费管理系统,  删除车主信息tab
                this.TctlCustomer.Controls.Remove(this.TpCustomer);
            }
            this.CucipCustomer.CUserCustomerInfoPanel_Load(null, null);
            // 修改用户卡号的物理号时不需要
            if (CStaticClass.myPara.ReplacePhyCardIDFlag)
            {
                this.LblICCardIDOld.Visible  = false;
                this.CTxtICCardIDOld.Visible = false;
            }
        }
Exemplo n.º 2
0
        public CFormHandOrder()
        {
            InitializeComponent();
            this.CboWareHouse.Items.AddRange(CStaticClass.ConfigLstWareHouseDescp().ToArray());
            this.CboWareHouse.SelectedIndex = 0;

            // 设置键盘“Esc”按钮
            Button BtnCancel = new Button();

            this.CancelButton = BtnCancel;
            BtnCancel.Click  += new EventHandler(BtnCancel_Click);
            m_formCarLocationStatus.ClientSize      = new System.Drawing.Size(CStaticClass.ConfigMinWidth(), CStaticClass.ConfigMinHeight());
            m_formCarLocationStatus.FormBorderStyle = FormBorderStyle.FixedDialog;
            m_formCarLocationStatus.StartPosition   = FormStartPosition.CenterScreen;

            btnRdICCard.Enabled = false;
            try
            {
                iccdCom = CReadIniFile.ReadSectionData("刷卡器", "ICCardCom");
            }
            catch (Exception ex)
            {
                CLOGException.Trace(ex.ToString());
            }
        }
Exemplo n.º 3
0
 private void CFormTempFetch_Load(object sender, EventArgs e)
 {
     try
     {
         iccdCom = CReadIniFile.ReadSectionData("刷卡器", "ICCardCom");
     }
     catch (Exception ex)
     {
         CLOGException.Trace(ex.ToString());
     }
 }