Ejemplo n.º 1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.InfoFlightForm = ((Aviadispetcher.MainWindow)(target));

            #line 7 "..\..\MainWindow.xaml"
                this.InfoFlightForm.Loaded += new System.Windows.RoutedEventHandler(this.InfoFlightForm_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.mainMenu = ((System.Windows.Controls.Menu)(target));
                return;

            case 3:
                this.LoadDataMenuItem = ((System.Windows.Controls.MenuItem)(target));

            #line 11 "..\..\MainWindow.xaml"
                this.LoadDataMenuItem.Click += new System.Windows.RoutedEventHandler(this.LoadDataMenuItem_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.SaveDataMenuItem = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 5:
                this.EditDataMenuItem = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 6:
                this.AddDataMenuItem = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 7:
                this.SelectXMenuItem = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 8:
                this.SelectXYMenuItem = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 9:
                this.FlightListDG = ((System.Windows.Controls.DataGrid)(target));
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.InfoFlightForm = ((Aviadispetcher.MainWindow)(target));

            #line 4 "..\..\..\MainWindow.xaml"
                this.InfoFlightForm.Loaded += new System.Windows.RoutedEventHandler(this.InfoFlightForm_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.menu1 = ((System.Windows.Controls.Menu)(target));
                return;

            case 3:
                this.LoadDataMenuItem = ((System.Windows.Controls.MenuItem)(target));

            #line 17 "..\..\..\MainWindow.xaml"
                this.LoadDataMenuItem.Click += new System.Windows.RoutedEventHandler(this.LoadDataMenuItem_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.SaveDataMenuItem = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 5:
                this.EditDataMenuItem = ((System.Windows.Controls.MenuItem)(target));

            #line 21 "..\..\..\MainWindow.xaml"
                this.EditDataMenuItem.Click += new System.Windows.RoutedEventHandler(this.EditDataMenuItem_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.AddDataMenuItem = ((System.Windows.Controls.MenuItem)(target));

            #line 22 "..\..\..\MainWindow.xaml"
                this.AddDataMenuItem.Click += new System.Windows.RoutedEventHandler(this.AddDataMenuItem_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.SelectXMenuItem = ((System.Windows.Controls.MenuItem)(target));

            #line 25 "..\..\..\MainWindow.xaml"
                this.SelectXMenuItem.Click += new System.Windows.RoutedEventHandler(this.SelectXMenuItem_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.SelectXYMenuItem = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 9:
                this.FlightListDG = ((System.Windows.Controls.DataGrid)(target));

            #line 29 "..\..\..\MainWindow.xaml"
                this.FlightListDG.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.FlightListDG_MouseUp);

            #line default
            #line hidden
                return;

            case 10:
                this.numFlightGroupBox = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 11:
                this.numFlightLabel = ((System.Windows.Controls.Label)(target));
                return;

            case 12:
                this.cityFlightLabel = ((System.Windows.Controls.Label)(target));
                return;

            case 13:
                this.timeFlightLabel = ((System.Windows.Controls.Label)(target));
                return;

            case 14:
                this.freeSeatsLabel = ((System.Windows.Controls.Label)(target));
                return;

            case 15:
                this.saveButton = ((System.Windows.Controls.Button)(target));

            #line 50 "..\..\..\MainWindow.xaml"
                this.saveButton.Click += new System.Windows.RoutedEventHandler(this.saveButton_Click);

            #line default
            #line hidden
                return;

            case 16:
                this.numFlightTextBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 17:
                this.cityFlightTextBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 18:
                this.timeFlightTextBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 19:
                this.freeSeatsTextBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 20:
                this.groupBox1 = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 21:
                this.cityList = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 22:
                this.selectXList = ((System.Windows.Controls.ListBox)(target));
                return;
            }
            this._contentLoaded = true;
        }