Beispiel #1
0
 private void btnUpdateSelected_Click(object sender, EventArgs e)
 {
     if (grdBugs.SelectedRows.Count > 0)
     {
         FrmCreateBug frmCreateBug = new FrmCreateBug();
         frmCreateBug.BugID = (long)grdBugs.SelectedRows[0].Cells["Id"].Value;
         frmCreateBug.ShowDialog();
     }
 }
Beispiel #2
0
        private void btnCreateBug_Click(object sender, EventArgs e)
        {
            FrmCreateBug frmCreateBug = new FrmCreateBug();

            frmCreateBug.ShowDialog();
        }