private void AddFilmShow_Button(object sender, RoutedEventArgs e) { AddFilmShow addFilmShow = new AddFilmShow(); addFilmShow.ShowDialog(); Loading_Data(); }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.AddFilmShowWindow = ((AdminCinemaApp.AddFilmShow)(target)); return; case 2: this.TimeOfFilmShow = ((Xceed.Wpf.Toolkit.DateTimePicker)(target)); return; case 3: this.RoomName = ((System.Windows.Controls.ComboBox)(target)); #line 17 "..\..\AddFilmShow.xaml" this.RoomName.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.RoomName_SelectionChanged); #line default #line hidden return; case 4: this.FilmShowTitle = ((System.Windows.Controls.ComboBox)(target)); return; case 5: this.NumberOfSeats = ((System.Windows.Controls.TextBox)(target)); return; case 6: this.Save_Button = ((System.Windows.Controls.Button)(target)); #line 43 "..\..\AddFilmShow.xaml" this.Save_Button.Click += new System.Windows.RoutedEventHandler(this.Save_Button_Click); #line default #line hidden return; case 7: this.TEST = ((System.Windows.Controls.Image)(target)); return; } this._contentLoaded = true; }