Example #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.MainWindow1 = ((SwipeGridWPF.MainWindow)(target));
                return;

            case 2:
                this.tabControl = ((System.Windows.Controls.TabControl)(target));
                return;

            case 3:
                this.TabData = ((System.Windows.Controls.TabItem)(target));
                return;

            case 4:
                this.gridSecond = ((System.Windows.Controls.Grid)(target));
                return;

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

            #line 18 "..\..\MainWindow.xaml"
                this.btnPrev.Click += new System.Windows.RoutedEventHandler(this.btnPrev_Click);

            #line default
            #line hidden
                return;

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

            case 7:
                this.gridSplitter = ((System.Windows.Controls.GridSplitter)(target));
                return;

            case 8:
                this.label_Copy4 = ((System.Windows.Controls.Label)(target));
                return;

            case 9:
                this.tbFName = ((System.Windows.Controls.TextBox)(target));
                return;

            case 10:
                this.label_Copy5 = ((System.Windows.Controls.Label)(target));
                return;

            case 11:
                this.tbSName = ((System.Windows.Controls.TextBox)(target));
                return;

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

            case 13:
                this.tbPassp = ((System.Windows.Controls.TextBox)(target));
                return;

            case 14:
                this.btnCreate = ((System.Windows.Controls.Button)(target));

            #line 27 "..\..\MainWindow.xaml"
                this.btnCreate.Click += new System.Windows.RoutedEventHandler(this.btnCreate_Click);

            #line default
            #line hidden
                return;

            case 15:
                this.gridFirst = ((System.Windows.Controls.Grid)(target));
                return;

            case 16:
                this.btnNext = ((System.Windows.Controls.Button)(target));

            #line 33 "..\..\MainWindow.xaml"
                this.btnNext.Click += new System.Windows.RoutedEventHandler(this.btnNext_Click);

            #line default
            #line hidden
                return;

            case 17:
                this.cbFrom = ((System.Windows.Controls.ComboBox)(target));
                return;

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

            case 19:
                this.cbTo = ((System.Windows.Controls.ComboBox)(target));
                return;

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

            case 21:
                this.rbTrip = ((System.Windows.Controls.RadioButton)(target));

            #line 38 "..\..\MainWindow.xaml"
                this.rbTrip.Checked += new System.Windows.RoutedEventHandler(this.rbTrip_Checked);

            #line default
            #line hidden
                return;

            case 22:
                this.rbRTrip = ((System.Windows.Controls.RadioButton)(target));

            #line 39 "..\..\MainWindow.xaml"
                this.rbRTrip.Checked += new System.Windows.RoutedEventHandler(this.rbTrip_Checked);

            #line default
            #line hidden
                return;

            case 23:
                this.DepDate = ((System.Windows.Controls.DatePicker)(target));

            #line 40 "..\..\MainWindow.xaml"
                this.DepDate.CalendarOpened += new System.Windows.RoutedEventHandler(this.DepDate_CalendarOpened);

            #line default
            #line hidden
                return;

            case 24:
                this.RetDate = ((System.Windows.Controls.DatePicker)(target));

            #line 41 "..\..\MainWindow.xaml"
                this.RetDate.CalendarOpened += new System.Windows.RoutedEventHandler(this.RetDate_CalendarOpened);

            #line default
            #line hidden
                return;

            case 25:
                this.label_Copy1 = ((System.Windows.Controls.Label)(target));
                return;

            case 26:
                this.lblRetDate = ((System.Windows.Controls.Label)(target));
                return;

            case 27:
                this.cbClass = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 28:
                this.label_Copy3 = ((System.Windows.Controls.Label)(target));
                return;

            case 29:
                this.TabTickets = ((System.Windows.Controls.TabItem)(target));

            #line 53 "..\..\MainWindow.xaml"
                this.TabTickets.MouseEnter += new System.Windows.Input.MouseEventHandler(this.TabTickets_MouseEnter);

            #line default
            #line hidden
                return;

            case 30:
                this.TicketsGrid = ((System.Windows.Controls.DataGrid)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.FirstGrid = ((SwipeGridWPF.MainWindow)(target));
                return;

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

            case 3:
                this.btnNext = ((System.Windows.Controls.Button)(target));

            #line 15 "..\..\MainWindow.xaml"
                this.btnNext.Click += new System.Windows.RoutedEventHandler(this.btnNext_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.comboBoxSource = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 5:
                this.comboBoxDestination = ((System.Windows.Controls.ComboBox)(target));
                return;

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

            case 7:
                this.lblSource_Copy = ((System.Windows.Controls.Label)(target));
                return;

            case 8:
                this.dateDeparture = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 9:
                this.dateArrival = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 10:
                this.txtPrice = ((System.Windows.Controls.TextBox)(target));
                return;

            case 11:
                this.rbTo = ((System.Windows.Controls.RadioButton)(target));

            #line 24 "..\..\MainWindow.xaml"
                this.rbTo.Checked += new System.Windows.RoutedEventHandler(this.rbTo_Checked);

            #line default
            #line hidden
                return;

            case 12:
                this.rbToAndFrom = ((System.Windows.Controls.RadioButton)(target));

            #line 25 "..\..\MainWindow.xaml"
                this.rbToAndFrom.Checked += new System.Windows.RoutedEventHandler(this.rbToAndFrom_Checked);

            #line default
            #line hidden
                return;

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

            case 14:
                this.comboBoxClass = ((System.Windows.Controls.ComboBox)(target));
                return;

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

            case 16:
                this.listBoxPrice = ((System.Windows.Controls.ListBox)(target));
                return;

            case 17:
                this.btnInsert = ((System.Windows.Controls.Button)(target));

            #line 31 "..\..\MainWindow.xaml"
                this.btnInsert.Click += new System.Windows.RoutedEventHandler(this.btnInsert_Click);

            #line default
            #line hidden
                return;

            case 18:
                this.dataGrid = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 19:
                this.gridSecond = ((System.Windows.Controls.Grid)(target));
                return;

            case 20:
                this.btnPrev = ((System.Windows.Controls.Button)(target));

            #line 38 "..\..\MainWindow.xaml"
                this.btnPrev.Click += new System.Windows.RoutedEventHandler(this.btnPrev_Click);

            #line default
            #line hidden
                return;

            case 21:
                this.groupBoxInfoBilet = ((System.Windows.Controls.GroupBox)(target));
                return;

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

            case 23:
                this.txtFirstName = ((System.Windows.Controls.TextBox)(target));
                return;

            case 24:
                this.label_Copy = ((System.Windows.Controls.Label)(target));
                return;

            case 25:
                this.txtSecondName = ((System.Windows.Controls.TextBox)(target));
                return;

            case 26:
                this.label_Copy1 = ((System.Windows.Controls.Label)(target));
                return;

            case 27:
                this.txtIDNO = ((System.Windows.Controls.TextBox)(target));
                return;

            case 28:
                this.label_Copy2 = ((System.Windows.Controls.Label)(target));
                return;

            case 29:
                this.txtSeriesPasport = ((System.Windows.Controls.TextBox)(target));
                return;

            case 30:
                this.btnSale = ((System.Windows.Controls.Button)(target));

            #line 48 "..\..\MainWindow.xaml"
                this.btnSale.Click += new System.Windows.RoutedEventHandler(this.btnSale_Click);

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