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

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

            case 3:

            #line 17 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.TextBlock_ChangeColor_Clicked);

            #line default
            #line hidden
                return;

            case 4:
                this.ListBox1 = ((System.Windows.Controls.ListBox)(target));

            #line 21 "..\..\MainWindow.xaml"
                this.ListBox1.Initialized += new System.EventHandler(this.ListBox1_Initialized);

            #line default
            #line hidden
                return;

            case 5:
                this.AddButton = ((System.Windows.Controls.Button)(target));

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

            #line default
            #line hidden
                return;

            case 6:
                this.DeleteButton = ((System.Windows.Controls.Button)(target));

            #line 23 "..\..\MainWindow.xaml"
                this.DeleteButton.Click += new System.Windows.RoutedEventHandler(this.DeleteButton_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.MessageLabel = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.MainTaxiDriverWindow = ((Task5.MainWindow)(target));
                return;

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

            case 3:
                this.groupBox = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 4:
                this.driverUsernameLabel = ((System.Windows.Controls.Label)(target));
                return;

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

            case 6:
                this.driverUserNameLabel = ((System.Windows.Controls.Label)(target));
                return;

            case 7:
                this.driverUserName = ((System.Windows.Controls.TextBox)(target));
                return;

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

            #line 42 "..\..\MainWindow.xaml"
                this.endOfWork.Click += new System.Windows.RoutedEventHandler(this.endOfWork_Click);

            #line default
            #line hidden
                return;

            case 9:
                this.startWork = ((System.Windows.Controls.Button)(target));

            #line 43 "..\..\MainWindow.xaml"
                this.startWork.Click += new System.Windows.RoutedEventHandler(this.startWork_Click);

            #line default
            #line hidden
                return;

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

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

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

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

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

            case 15:
                this.driverInfoCar = ((System.Windows.Controls.Label)(target));
                return;

            case 16:
                this.driverInfoCarDetails = ((System.Windows.Controls.Label)(target));
                return;

            case 17:
                this.driverInfoExp = ((System.Windows.Controls.Label)(target));
                return;

            case 18:
                this.driverInfoExpDetails = ((System.Windows.Controls.Label)(target));
                return;

            case 19:
                this.driverInfoCost = ((System.Windows.Controls.Label)(target));
                return;

            case 20:
                this.driverInfoCostDetails = ((System.Windows.Controls.Label)(target));
                return;

            case 21:
                this.driverInfoCostPerMin = ((System.Windows.Controls.Label)(target));
                return;

            case 22:
                this.driverInfoCostPerMinDetails = ((System.Windows.Controls.Label)(target));
                return;

            case 23:
                this.groupBox2 = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 24:
                this.dummywidth1 = ((System.Windows.Controls.Border)(target));
                return;

            case 25:
                this.dummywidth2 = ((System.Windows.Controls.Border)(target));
                return;

            case 26:
                this.dummywidth3 = ((System.Windows.Controls.Border)(target));
                return;

            case 27:
                this.dummywidth4 = ((System.Windows.Controls.Border)(target));
                return;

            case 28:
                this.dummywidth5 = ((System.Windows.Controls.Border)(target));
                return;

            case 29:
                this.dummywidth6 = ((System.Windows.Controls.Border)(target));
                return;

            case 30:
                this.orders = ((System.Windows.Controls.ListView)(target));

            #line 97 "..\..\MainWindow.xaml"
                this.orders.PreviewMouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.orders_Click);

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