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

            case 2:
                this.TextTitle = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            #line 34 "..\..\..\Views\Settings.xaml"
                this.CloseButton.Click += new System.Windows.RoutedEventHandler(this.Close_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.checkBoxDuplicates = ((System.Windows.Controls.CheckBox)(target));
                return;

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

            case 6:
                this.Round_Ducts = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 7:
                this.textBox_Copy = ((System.Windows.Controls.TextBox)(target));
                return;

            case 8:
                this.SnglElmtButton = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 9:
                this.CmpltRunButton = ((System.Windows.Controls.RadioButton)(target));
                return;
            }
            this._contentLoaded = true;
        }
示例#2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.MainWindow = ((NumberDuctParts.MainFormSettings)(target));
                return;

            case 2:
                this.TextTitle = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            #line 34 "..\..\Settins.xaml"
                this.CloseButton.Click += new System.Windows.RoutedEventHandler(this.Close_Click);

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