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

            case 2:

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

            #line default
            #line hidden
                return;

            case 3:
                this._cs2d = ((Coast.Controls.CS2d)(target));
                return;

            case 4:
                this.textBlockStatus = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.comboTestData = ((System.Windows.Controls.ComboBox)(target));

            #line 45 "..\..\..\FitterControls\EllipseFitterControl.xaml"
                this.comboTestData.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.TestData_SelectionChanged);

            #line default
            #line hidden
                return;

            case 2:
                this.dataGridInputData = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 3:

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

            #line default
            #line hidden
                return;

            case 4:
                this._cs2d = ((Coast.Controls.CS2d)(target));
                return;

            case 5:
                this.textBlockStatus = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }