Beispiel #1
0
        private void dodaj_bt_Click(object sender, EventArgs e)
        {
            kontakty_add = true;
            Dodawanie_kontaktow dk = new Dodawanie_kontaktow(this);

            dk.ShowDialog();
        }
Beispiel #2
0
        public void edytuj_bt_Click(object sender, EventArgs e)
        {
            foreach (DataGridViewRow r in kontakty_tabela.SelectedRows)
            {
                kontakty_IDKon = Convert.ToInt32(r.Cells[0].Value.ToString());
            }
            kontakty_add = false;
            Dodawanie_kontaktow dk = new Dodawanie_kontaktow(this);

            dk.ShowDialog();
        }