Esempio n. 1
0
        private void button1_Click(object sender, EventArgs e)
        {
            addadvics f = new addadvics();

            this.Hide();
            f.Show();
        }
Esempio n. 2
0
        private void create_Click(object sender, EventArgs e)
        {
            addadvics a = new addadvics();

            this.Hide();
            a.Show();
        }
Esempio n. 3
0
 private void updateadd_Click(object sender, EventArgs e)
 {
     if (dataGridadd.SelectedCells.Count != 0)
     {
         int       rw = dataGridadd.SelectedCells[0].RowIndex;
         int       id = (int)dataGridadd.Rows[rw].Cells["Id"].Value;
         addadvics se = new addadvics(id);
         this.Hide();
         se.Show();
     }
 }