Ejemplo n.º 1
0
        private void button1_Click(object sender, EventArgs e)
        {
            addstudent f = new addstudent();

            this.Hide();
            f.Show();
        }
Ejemplo n.º 2
0
        private void create_Click(object sender, EventArgs e)
        {
            addstudent s = new addstudent();

            this.Hide();
            s.Show();
        }
Ejemplo n.º 3
0
        private void updatestu_Click(object sender, EventArgs e)
        {
            if (dataGridstudent.SelectedCells.Count != 0)
            {
                int        rw = dataGridstudent.SelectedCells[0].RowIndex;
                int        id = (int)dataGridstudent.Rows[rw].Cells["Id"].Value;
                addstudent se = new addstudent(id);

                this.Hide();
                se.Show();
            }
        }