Пример #1
0
        private void b_lista_czestnikow_Click(object sender, EventArgs e)
        {
            int id_rows = t_tablica.CurrentCell.RowIndex;
            int id      = Convert.ToInt32(t_tablica.Rows[id_rows].Cells[0].Value);

            this.Hide();
            Lista_uczestnikow form = new Lista_uczestnikow(connection, id);

            form.ShowDialog();
            this.Close();
        }
Пример #2
0
 void zamkniecie()
 {
     this.Hide();
     if (powrot == 1)
     {
         Lista_uczestnikow form = new Lista_uczestnikow(connection, id_spotkania);
         form.ShowDialog();
     }
     else
     {
         Lista form = new Lista(connection);
         form.ShowDialog();
     }
     this.Close();
 }