private void ToolStripMenuItemCheck_Click(object sender, EventArgs e) { frmCheck fc = new frmCheck(); fc.PersonalId = Convert.ToInt16(cSC.ID); fc.ShowDialog(this); }
private void dgvChequeWekList_DoubleClick(object sender, EventArgs e) { int CurrentRow = dgvChequeWekList.CurrentCell.RowIndex; string personalId = dgvChequeWekList.Rows[CurrentRow].Cells[3].Value.ToString(); frmCheck FC = new frmCheck(); FC.PersonalId = Convert.ToInt16(personalId); FC.ShowDialog(this); }
private void btnCheck_Click(object sender, System.EventArgs e) { frmCheck F = new frmCheck(txtCheck.Text); if (F.ShowDialog() != DialogResult.OK) { return; } txtCheck.Text = F.GetValue; }
private void BtnCheckBox_Click(object sender, EventArgs e) { frmCheck frm = new frmCheck(); frm.ShowDialog(); }