Exemplo n.º 1
0
        private void btn_Priviligies_Click(object sender, EventArgs e)
        {
            if (dgrid_Result.SelectedRows.Count != 0)
            {
                frmGroupPriviliges frm = new frmGroupPriviliges(Convert.ToInt32(dgrid_Result.SelectedRows[0].Cells["GroupID"].Value));
                frm.ShowDialog();
            }
            else { MessageBox.Show("اختر عنصر اولا"); }

        }
Exemplo n.º 2
0
 private void btn_Priviligies_Click(object sender, EventArgs e)
 {
     if (dgrid_Result.SelectedRows.Count != 0)
     {
         frmGroupPriviliges frm = new frmGroupPriviliges(Convert.ToInt32(dgrid_Result.SelectedRows[0].Cells["GroupID"].Value));
         frm.ShowDialog();
     }
     else
     {
         MessageBox.Show("اختر عنصر اولا");
     }
 }