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

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

            case 3:
                this.toleranceTB = ((System.Windows.Controls.TextBox)(target));
                return;

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

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

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

            #line 32 "..\..\..\MainWindow.xaml"
                this.cr_button.Click += new System.Windows.RoutedEventHandler(this.cr_button_Click);

            #line default
            #line hidden
                return;

            case 7:

            #line 36 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

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

            case 9:
                this.timelb = ((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:
                this.TestRegressionTool = ((TestRegressionTool.MainWindow)(target));
                return;

            case 2:
                this.cr_button = ((System.Windows.Controls.Button)(target));

            #line 29 "..\..\MainWindow.xaml"
                this.cr_button.Click += new System.Windows.RoutedEventHandler(this.cr_button_Click);

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