예제 #1
0
 private void btnShow_Winners_Click(object sender, EventArgs e)
 {
     try
     {
         frmLottery_Winners f = new frmLottery_Winners();
         f.Display_Winners(Convert.ToInt32(lblID.Text));
         f.ShowDialog();
     }
     catch
     {
     }
 }
예제 #2
0
 private void mnuShow_Winners_Click(object sender, EventArgs e)
 {
     try
     {
         frmLottery_Winners f = new frmLottery_Winners();
         f.Display_Winners(Convert.ToInt32(dgvStore.CurrentRow.Cells["Guid1"].Value));
         f.ShowDialog();
     }
     catch
     {
         frmMessage f = new frmMessage();
         f.flag            = 0;
         f.lblMessage.Text = "جشنواره انتخابی معتبر نمی باشد";
         f.ShowDialog();
     }
 }