示例#1
0
        private void read_Click(object sender, RoutedEventArgs e)
        {
            int i = dataGridMovies.SelectedIndex;

            ExistingMovie em = new ExistingMovie(i);

            em.ShowDialog();
        }
示例#2
0
        private void existing_Click(object sender, RoutedEventArgs e)
        {
            ExistingMovie em = new ExistingMovie(-1);

            em.ShowDialog();
        }
示例#3
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.win = ((WpfApplication6.ExistingMovie)(target));
                return;

            case 2:
                this.grid = ((System.Windows.Controls.Grid)(target));
                return;

            case 3:
                this.image = ((System.Windows.Controls.Image)(target));
                return;

            case 4:
                this.image1 = ((System.Windows.Controls.Image)(target));
                return;

            case 5:
                this.textBlock1 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 6:
                this.textBlock = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 7:
                this.textBlock2 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 8:
                this.textBlock3 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 9:
                this.textBlock4 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 10:
                this.trailer = ((System.Windows.Controls.Button)(target));

            #line 33 "..\..\ExistingMovie.xaml"
                this.trailer.Click += new System.Windows.RoutedEventHandler(this.watchTrailer);

            #line default
            #line hidden
                return;

            case 11:
                this.movie = ((System.Windows.Controls.Button)(target));

            #line 34 "..\..\ExistingMovie.xaml"
                this.movie.Click += new System.Windows.RoutedEventHandler(this.watchMovie);

            #line default
            #line hidden
                return;

            case 12:
                this.exit = ((System.Windows.Controls.Button)(target));

            #line 35 "..\..\ExistingMovie.xaml"
                this.exit.Click += new System.Windows.RoutedEventHandler(this.close);

            #line default
            #line hidden
                return;

            case 13:
                this.comboBox = ((System.Windows.Controls.ComboBox)(target));

            #line 36 "..\..\ExistingMovie.xaml"
                this.comboBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.comboBox_SelectionChanged);

            #line default
            #line hidden
                return;

            case 14:
                this.choose = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }