Esempio n. 1
0
        private void btnSelectLine_Click(object sender, EventArgs e)
        {
            Frm_StationName fsn = new Frm_StationName(this);

            fsn.ShowDialog();

            //string[] EmpData = Input.InputBox.ShowInputBox("输入权限", string.Empty);
            //try
            //{
            //    string UserId = EmpData[0];
            //    string PWD = EmpData[1];
            //    if (!string.IsNullOrEmpty(UserId) && !string.IsNullOrEmpty(PWD))
            //    {
            //        string _StrErr = refWebtUserInfo.Instance.CHECK_SET_LINE_EMPLOYEE(UserId, PWD);
            //        if (_StrErr == "OK")
            //        {
            // SendMsgToClient( "权限正确","Employee OK");

            //Line = true;
            //DataTable dt = FrmBLL.ReleaseData.arrByteToDataTable(RefWebService_BLL.refWebtLineInfo.Instance.GetAllLineInfo());
            //SelectData sd = new SelectData(this, dt);
            //sd.ShowDialog();
            //SetStation();
            //Line = false;


            //        }
            //        else
            //        {
            //            SendMsgToClient(_StrErr,"ERROR:"+ _StrErr);

            //        }
            //    }

            //}
            //catch (Exception ex)
            //{
            //    SendMsgToClient("权限格式不正确:" + ex.Message, "ERROR: Emp Format Error:" + ex.Message);
            //}
        }
Esempio n. 2
0
 private void imbt_Select_line_Click(object sender, EventArgs e)
 {
     string[] EmpData = Input.InputBox.ShowInputBox("输入权限", string.Empty);
     try
     {
         string UserId  = EmpData[0];
         string PWD     = EmpData[1];
         string _StrErr = refWebtUserInfo.Instance.CHECK_SET_LINE_EMPLOYEE(UserId, PWD);
         if (_StrErr == "OK")
         {
             Frm_StationName fsm = new Frm_StationName(this);
             fsm.ShowDialog();
         }
         else
         {
             SendMsgError(_StrErr);
         }
     }
     catch
     {
         SendMsgError("权限格式不正确");
     }
 }
Esempio n. 3
0
        private void imbt_SelectLine_Click(object sender, EventArgs e)
        {
            Frm_StationName fsm = new Frm_StationName(this);

            fsm.ShowDialog();
        }