Exemplo n.º 1
0
 private void bảngĐiểmToolStripMenuItem_Click(object sender, EventArgs e)
 {
     try
     {
         formBangDiem BangDiem = new formBangDiem(_AllowUpdateDiem, cbNamHoc.SelectedIndex, treeView.SelectedNode.Parent.Index, treeView.SelectedNode.Index, int.Parse(listView1.SelectedItems[0].Tag.ToString()));
         BangDiem.Show();
     }
     catch
     {
         formBangDiem BangDiem = new formBangDiem(_AllowUpdateDiem);
         BangDiem.Show();
     }
 }
Exemplo n.º 2
0
        //Nhập điểm
        private void bangDiem_ItemClick(object sender, DevExpress.XtraEditors.TileItemEventArgs e)
        {
            formBangDiem formBD;

            if (Quyen == 2)
            {
                formBD = new formBangDiem(true);
            }
            else
            {
                formBD = new formBangDiem(false);
            }
            formBD.Show();
        }
Exemplo n.º 3
0
        private void _dMonHoc_ItemClick(object sender, DevExpress.XtraEditors.TileItemEventArgs e)
        {
            formBangDiem formBD = new formBangDiem(false);

            formBD.Show();
        }