private void toolStripbtnRemind_Click(object sender, EventArgs e) { if (FormRemind == null || FormRemind.IsDisposed) { FormRemind = new FrmRemind((int)this.DGVNoteName.CurrentRow.Cells[0].Value); FormRemind.Show(); } }
private void toolStripbtnRemind_Click(object sender, EventArgs e) { FormRemind = new FrmRemind((int)this.DGVNoteName.CurrentRow.Cells[0].Value); FormRemind.FormClosed += FormRemind_FormClosed1; FormRemind.ShowDialog(); }