Ejemplo n.º 1
0
        private void AddFilm_Button(object sender, RoutedEventArgs e)
        {
            AddFilm addFilm = new AddFilm();

            addFilm.ShowDialog();
            Loading_Data();
        }
Ejemplo n.º 2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.AddFilmWindow = ((AdminCinemaApp.AddFilm)(target));
                return;

            case 2:
                this.Title = ((System.Windows.Controls.TextBox)(target));
                return;

            case 3:
                this.Age_limit = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 4:
                this.Duration = ((System.Windows.Controls.TextBox)(target));
                return;

            case 5:
                this.Description = ((System.Windows.Controls.TextBox)(target));
                return;

            case 6:
                this.FilmPosterImage = ((System.Windows.Controls.Image)(target));
                return;

            case 7:

            #line 28 "..\..\AddFilm.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Browse_Button_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.Save_Button = ((System.Windows.Controls.Button)(target));

            #line 30 "..\..\AddFilm.xaml"
                this.Save_Button.Click += new System.Windows.RoutedEventHandler(this.Save_Button_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }