/// <summary> /// @author : TrungMT /// @CreateDate:04/04/2008 /// @Description: Process update button click event /// </summary> private void mbtnUpdate_Click(object sender, EventArgs e) { if (mdgrClip.CurrentRow == null) return; FrmClipItem frmClipItem = new FrmClipItem(this, GetCurrentClip()); frmClipItem.CustomerData = mdvCustomer; frmClipItem.ShowDialog(); }
/// <summary> /// @author : TrungMT /// @CreateDate:04/04/2008 /// @Description: Process add button click event /// </summary> private void mbtnAdd_Click(object sender, EventArgs e) { FrmClipItem frmClipItem = new FrmClipItem(this); frmClipItem.CustomerData = mdvCustomer; frmClipItem.ShowDialog(); }