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();
 }
Esempio n. 2
0
 public AddMovieForm(MoviesForm f)
 {
     InitializeComponent();
     frm = f;
 }
Esempio n. 3
0
        private void moviesButton_Click(object sender, EventArgs e)
        {
            var form = new MoviesForm(this);

            form.Show();
        }