Example #1
0
        private void tooltz_Click(object sender, EventArgs e)
        {
            if (!FCommon.RightCheck(this.FormID, this.RightFormID, this.FormListAID, this.FormListBID, RightSub.除))
            {
                this.ShowMessage("你没有此操作权限");
                return;
            }
            frmChecking frm = new frmChecking();

            //frm.WPFabricID = SysConvert.ToInt32(gridView1.GetFocusedRowCellValue("DID"));
            //frm.WPPackOrderDtsID = SysConvert.ToInt32(gridView1.GetFocusedRowCellValue("ID"));
            //frm.WPFMFlag = true;
            frm.ShowDialog();
        }
Example #2
0
 /// <summary>
 /// 检验
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void btnCheck_Click(object sender, EventArgs e)
 {
     try
     {
         frmChecking frm = new frmChecking();
         frm.ID    = SysConvert.ToInt32(gridView1.GetRowCellValue(gridView1.FocusedRowHandle, "ID"));
         frm.DtsID = SysConvert.ToInt32(gridView1.GetRowCellValue(gridView1.FocusedRowHandle, "DtsID"));
         frm.ShowDialog();
     }
     catch (Exception E)
     {
         this.ShowMessage(E.Message);
     }
 }
Example #3
0
 /// <summary>
 /// 构造函数
 /// </summary>
 /// <param name="p_Frm"></param>
 public HTCPVirtual(frmChecking p_Frm)
 {
     m_Frm = p_Frm;
 }
Example #4
0
 public HTCPSerialPort(frmChecking p_Frm)
 {
     m_Frm = p_Frm;
 }
Example #5
0
 /// <summary>
 /// 构造函数
 /// </summary>
 /// <param name="p_Frm"></param>
 public HTCPInput(frmChecking p_Frm)
 {
     m_Frm = p_Frm;
 }