예제 #1
0
        private void dgvOsztalyok_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
        {
            oEvfId = dgvOsztalyok.SelectedRows[0].Cells[0].Value.ToString();
            var frm = new frmOfOsztaly(conn, oEvfId, fRank);

            frm.ShowDialog();
            dgvFill();
        }
예제 #2
0
 private void frmOfOsztalyom_Click(object sender, EventArgs e)
 {
     if (Frank == 4 || Frank == 1)
     {
         if (Oid != "1")
         {
             var frm = new frmOfOsztaly(conn, Oid, Frank.ToString());
             frm.ShowDialog();
             ProfilUpload();
         }
         else
         {
             MessageBox.Show("Még nem vagy osztályhoz rendelve!", "Hiba", MessageBoxButtons.OK, MessageBoxIcon.Information);
         }
     }
     else
     {
         var frm = new frmOfOsztalyok(conn, Frank.ToString(), Fid, false);
         frm.ShowDialog();
         ProfilUpload();
     }
     pbFill();
 }
예제 #3
0
        private void tsmTanaraink_Click(object sender, EventArgs e)
        {
            var frm = new frmOfOsztaly(conn, Oid, Frank.ToString(), true);

            frm.ShowDialog();
        }