예제 #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 5 "..\..\..\MainWindow.xaml"
                ((AdaptiveTester.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

            case 2:

            #line 6 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.Grid)(target)).SizeChanged += new System.Windows.SizeChangedEventHandler(this.Grid_SizeChanged);

            #line default
            #line hidden
                return;

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

            case 4:
                this.tbCpe1 = ((System.Windows.Controls.TextBox)(target));
                return;

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

            case 6:
                this.tbCpe2 = ((System.Windows.Controls.TextBox)(target));
                return;

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

            case 8:
                this.comboBox1 = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 9:
                this.separator1 = ((System.Windows.Controls.Separator)(target));
                return;

            case 10:
                this.separator2 = ((System.Windows.Controls.Separator)(target));
                return;

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

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

            #line default
            #line hidden
                return;

            case 12:
                this.matrixControl = ((AdaptiveTester.MatrixControl)(target));
                return;

            case 13:
                this.border1 = ((System.Windows.Controls.Border)(target));
                return;

            case 14:
                this.border2 = ((System.Windows.Controls.Border)(target));
                return;

            case 15:
                this.label4 = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }
예제 #2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 5 "..\..\..\MainWindow.xaml"
     ((AdaptiveTester.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);
     
     #line default
     #line hidden
     return;
     case 2:
     
     #line 6 "..\..\..\MainWindow.xaml"
     ((System.Windows.Controls.Grid)(target)).SizeChanged += new System.Windows.SizeChangedEventHandler(this.Grid_SizeChanged);
     
     #line default
     #line hidden
     return;
     case 3:
     this.label1 = ((System.Windows.Controls.Label)(target));
     return;
     case 4:
     this.tbCpe1 = ((System.Windows.Controls.TextBox)(target));
     return;
     case 5:
     this.label2 = ((System.Windows.Controls.Label)(target));
     return;
     case 6:
     this.tbCpe2 = ((System.Windows.Controls.TextBox)(target));
     return;
     case 7:
     this.label3 = ((System.Windows.Controls.Label)(target));
     return;
     case 8:
     this.comboBox1 = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 9:
     this.separator1 = ((System.Windows.Controls.Separator)(target));
     return;
     case 10:
     this.separator2 = ((System.Windows.Controls.Separator)(target));
     return;
     case 11:
     this.buttonProcess = ((System.Windows.Controls.Button)(target));
     
     #line 25 "..\..\..\MainWindow.xaml"
     this.buttonProcess.Click += new System.Windows.RoutedEventHandler(this.buttonProcess_Click);
     
     #line default
     #line hidden
     return;
     case 12:
     this.matrixControl = ((AdaptiveTester.MatrixControl)(target));
     return;
     case 13:
     this.border1 = ((System.Windows.Controls.Border)(target));
     return;
     case 14:
     this.border2 = ((System.Windows.Controls.Border)(target));
     return;
     case 15:
     this.label4 = ((System.Windows.Controls.Label)(target));
     return;
     }
     this._contentLoaded = true;
 }