public void m_mthShowWarning(com.digitalwave.controls.ctlTextBoxFind txtBox, string strWaring) { frmShowWarning ShowWarning = new frmShowWarning(); ShowWarning.m_GetWaring = strWaring; Point p = txtBox.Parent.PointToScreen(txtBox.Location); p.Offset(-50, -(ShowWarning.Height - txtBox.Height / 2)); ShowWarning.Location = p; ShowWarning.Show(); }
public void m_mthShowWarning(System.Windows.Forms.ComboBox txtBox, string strWaring) { frmShowWarning ShowWarning = new frmShowWarning(); ShowWarning.m_GetWaring = strWaring; Point p = txtBox.Parent.PointToScreen(txtBox.Location); p.Offset(-50, -(ShowWarning.Height - txtBox.Height / 2)); ShowWarning.Location = p; ShowWarning.Show(); }
public void m_mthShowWarning(SourceLibrary.Windows.Forms.TextBoxTypedNumeric txtBox, string strWaring) { frmShowWarning ShowWarning = new frmShowWarning(); ShowWarning.m_GetWaring = strWaring; Point p = txtBox.Parent.PointToScreen(txtBox.Location); p.Offset(-50, -(ShowWarning.Height - txtBox.Height / 2)); ShowWarning.Location = p; ShowWarning.Show(); }
public void m_mthShowWarning(com.digitalwave.iCare.gui.HIS.exComboBox txtBox, string strWaring) { frmShowWarning ShowWarning = new frmShowWarning(); ShowWarning.m_GetWaring = strWaring; Point p = txtBox.Parent.PointToScreen(txtBox.Location); p.Offset(-50, -(ShowWarning.Height - txtBox.Height / 2)); ShowWarning.Location = p; ShowWarning.Show(); }
public void m_mthShowWarning(exDataGridSour.exComboBox txtBox, string strWaring) { frmShowWarning ShowWarning = new frmShowWarning(); ShowWarning.m_GetWaring = strWaring; Point p = txtBox.Parent.PointToScreen(txtBox.Location); p.Offset(-50, -(ShowWarning.Height - txtBox.Height / 2)); ShowWarning.Location = p; ShowWarning.Show(); }
public void m_mthShowWarning(com.digitalwave.controls.datagrid.ctlDataGrid txtBox, string strWaring) { frmShowWarning ShowWarning = new frmShowWarning(); ShowWarning.m_GetWaring = strWaring; Point p = txtBox.Parent.PointToScreen(txtBox.Location); p.X += (txtBox.Width / 2); p.Y += (txtBox.Height / 2); ShowWarning.Location = p; ShowWarning.Show(); }
public void m_mthShowWarning(System.Windows.Forms.ListView txtBox, string strWaring) { frmShowWarning ShowWarning = new frmShowWarning(); ShowWarning.m_GetWaring = strWaring; Point p = txtBox.Parent.PointToScreen(txtBox.Location); p.X += (txtBox.Width / 2); p.Y += (txtBox.Height / 2); ShowWarning.Location = p; ShowWarning.Show(); }
private void btnUpdate_Click(object sender, EventArgs e) { btnUpdate.Enabled = false; if (m_lblName.Tag != null) { long lngRes = objSvc.m_lngGetApplyOPInfoUpdateDate(m_lblName.Tag.ToString(), dtAlterDate.Value.ToString("yyyy-MM-dd HH:mm")); if (lngRes > 0) { btnFind_Click(null, e); } frmShowWarning obj = new frmShowWarning(); obj.Location = this.PointToScreen(btnUpdate.Location); obj.m_GetWaring = "更新成功"; obj.Show(); } btnUpdate.Enabled = true; }