public MovieDetailsForm(MoviesForm f, movie result, bool isAdmin) { InitializeComponent(); movieDetail = result; this.isAdmin = isAdmin; if (isAdmin) { resMovieButton.Text = "Delete"; } frm = f; //Text = movieDetail.ticket.First().ToString(); }
public AddMovieForm(MoviesForm f) { InitializeComponent(); frm = f; }
private void moviesButton_Click(object sender, EventArgs e) { var form = new MoviesForm(this); form.Show(); }