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

            case 2:
                this.pbar_Import = ((System.Windows.Controls.ProgressBar)(target));
                return;

            case 3:
                this.grid_fail = ((System.Windows.Controls.Grid)(target));
                return;

            case 4:
                this.btn_pre = ((TripTester.ImageButton)(target));
                return;

            case 5:
                this.btn_next = ((TripTester.ImageButton)(target));
                return;

            case 6:
                this.img_help = ((System.Windows.Controls.Image)(target));
                return;

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

            case 8:
                this.grid_success = ((System.Windows.Controls.Image)(target));
                return;

            case 9:
                this.btn_back = ((TripTester.ImageButton)(target));
                return;

            case 10:
                this.btn_again = ((TripTester.ImageButton)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.btn_back = ((TripTester.ImageButton)(target));
                return;

            case 2:
                this.btn_print = ((TripTester.ImageButton)(target));
                return;

            case 3:
                this.gridContent = ((System.Windows.Controls.Grid)(target));
                return;

            case 4:
                this.dataGridDisplay = ((System.Windows.Controls.DataGrid)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.label_Title = ((System.Windows.Controls.Label)(target));
                return;

            case 2:
                this.btn_query = ((TripTester.ImageButton)(target));
                return;

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

            case 4:
                this.stackPanel1 = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 5:
                this.label1 = ((System.Windows.Controls.Label)(target));
                return;

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

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

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

            case 9:
                this.stackPanel3 = ((System.Windows.Controls.StackPanel)(target));
                return;

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

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

            case 12:
                this.stackPanel2 = ((System.Windows.Controls.StackPanel)(target));
                return;

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

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

            case 15:
                this.groupBoxDetail = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 16:
                this.wrapPanel_details = ((System.Windows.Controls.WrapPanel)(target));
                return;

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

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

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

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

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

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

            case 23:
                this.labelAL = ((System.Windows.Controls.Label)(target));
                return;

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

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

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

            case 27:
                this.label16 = ((System.Windows.Controls.Label)(target));
                return;

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

            case 29:
                this.labelBS = ((System.Windows.Controls.Label)(target));
                return;

            case 30:
                this.labelBI = ((System.Windows.Controls.Label)(target));
                return;

            case 31:
                this.labelAG = ((System.Windows.Controls.Label)(target));
                return;

            case 32:
                this.label21 = ((System.Windows.Controls.Label)(target));
                return;

            case 33:
                this.labelCL = ((System.Windows.Controls.Label)(target));
                return;

            case 34:
                this.labelCS = ((System.Windows.Controls.Label)(target));
                return;

            case 35:
                this.labelCI = ((System.Windows.Controls.Label)(target));
                return;

            case 36:
                this.labelCG = ((System.Windows.Controls.Label)(target));
                return;

            case 37:
                this.label26 = ((System.Windows.Controls.Label)(target));
                return;

            case 38:
                this.labelNL = ((System.Windows.Controls.Label)(target));
                return;

            case 39:
                this.labelNS = ((System.Windows.Controls.Label)(target));
                return;

            case 40:
                this.labelNI = ((System.Windows.Controls.Label)(target));
                return;

            case 41:
                this.labelMIC = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #4
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 5 "..\..\..\MainWindow.xaml"
                ((TripTester.MainWindow)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Window_MouseLeftButtonDown_1);

            #line default
            #line hidden

            #line 5 "..\..\..\MainWindow.xaml"
                ((TripTester.MainWindow)(target)).Closed += new System.EventHandler(this.Window_Closed_1);

            #line default
            #line hidden

            #line 5 "..\..\..\MainWindow.xaml"
                ((TripTester.MainWindow)(target)).SizeChanged += new System.Windows.SizeChangedEventHandler(this.Window_SizeChanged_1);

            #line default
            #line hidden
                return;

            case 2:
                this.rb_trip = ((System.Windows.Controls.RadioButton)(target));

            #line 19 "..\..\..\MainWindow.xaml"
                this.rb_trip.Checked += new System.Windows.RoutedEventHandler(this.checkChanged);

            #line default
            #line hidden
                return;

            case 3:
                this.rb_test = ((System.Windows.Controls.RadioButton)(target));

            #line 20 "..\..\..\MainWindow.xaml"
                this.rb_test.Checked += new System.Windows.RoutedEventHandler(this.checkChanged);

            #line default
            #line hidden
                return;

            case 4:
                this.Title = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 5:
                this.btn_close = ((TripTester.ImageButton)(target));
                return;

            case 6:
                this.btn_size = ((TripTester.ImageButton)(target));
                return;

            case 7:
                this.btn_min = ((TripTester.ImageButton)(target));
                return;

            case 8:
                this.dataGridDisplay = ((System.Windows.Controls.DataGrid)(target));

            #line 36 "..\..\..\MainWindow.xaml"
                this.dataGridDisplay.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.dataGridDisplay_MouseDoubleClick);

            #line default
            #line hidden
                return;

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

            case 11:
                this.btn_import = ((TripTester.ImageButton)(target));
                return;

            case 12:
                this.btn_excel = ((TripTester.ImageButton)(target));
                return;

            case 13:
                this.testDetail = ((TripTester.TestDetail)(target));
                return;

            case 14:
                this.tripDetail = ((TripTester.TripDetail)(target));
                return;

            case 15:
                this.comPage = ((TripTester.ComPage)(target));
                return;
            }
            this._contentLoaded = true;
        }