Exemplo n.º 1
0
        public frmHome()
        {
            InitializeComponent();
            frmStudent frmStu = new frmStudent();

            loadMdiChild(frmStu);
            toolStripStatusLabel2.Text = "GV: " + Properties.Settings.Default.tenGV;
        }
Exemplo n.º 2
0
        private void dgvStudent_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
        {
            frmStudent f = new frmStudent(int.Parse(dgvStudent.SelectedRows[0].Cells[0].Value.ToString()));

            if (f.ShowDialog() == DialogResult.OK)
            {
                LoadStudent();
            }
        }
Exemplo n.º 3
0
        private void btnAdd_Click(object sender, EventArgs e)
        {
            frmStudent f = new frmStudent(0);

            if (f.ShowDialog() == DialogResult.OK)
            {
                LoadStudent();
            }
        }
Exemplo n.º 4
0
        private void sInhViênToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmStudent frmStu = new frmStudent();

            loadMdiChild(frmStu);
        }