private void buttonDodaj_Click(object sender, EventArgs e) { buttonActive.active = false; FormFilm newForm = new FormFilm(); newForm.Show(); }
public void buttonEdutuj_Click(object sender, EventArgs e) { dataContainer.index = dataGridView1.CurrentCell.RowIndex; int i = dataContainer.index; labelCount.Text = dataContainer.index.ToString(); //licznik.liczba = FilmList[i].Wypozyczonych; buttonActive.active = true; FormFilm newForm = new FormFilm(); newForm.Show(); }