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(); }
/// <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); } }
/// <summary> /// 构造函数 /// </summary> /// <param name="p_Frm"></param> public HTCPVirtual(frmChecking p_Frm) { m_Frm = p_Frm; }
public HTCPSerialPort(frmChecking p_Frm) { m_Frm = p_Frm; }
/// <summary> /// 构造函数 /// </summary> /// <param name="p_Frm"></param> public HTCPInput(frmChecking p_Frm) { m_Frm = p_Frm; }