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

            case 2:
                this.gpbAdjust = ((ControlLib.NGroupBox)(target));

            #line 23 "..\..\..\..\..\AdjustBase\UI\Adjust3.xaml"
                this.gpbAdjust.MouseRightButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.gpbAdjust_MouseRightButtonUp);

            #line default
            #line hidden
                return;

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

            case 4:
                this.lbName1 = ((System.Windows.Controls.Label)(target));
                return;

            case 5:
                this.dudAdjust1 = ((ControlLib.DoubleUpDown)(target));

            #line 37 "..\..\..\..\..\AdjustBase\UI\Adjust3.xaml"
                this.dudAdjust1.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <object>(this.dudAdjust1_ValueChanged);

            #line default
            #line hidden
                return;

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

            case 7:
                this.dudAdjust2 = ((ControlLib.DoubleUpDown)(target));

            #line 39 "..\..\..\..\..\AdjustBase\UI\Adjust3.xaml"
                this.dudAdjust2.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <object>(this.dudAdjust2_ValueChanged);

            #line default
            #line hidden
                return;

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

            case 9:
                this.dudAdjust3 = ((ControlLib.DoubleUpDown)(target));

            #line 41 "..\..\..\..\..\AdjustBase\UI\Adjust3.xaml"
                this.dudAdjust3.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <object>(this.dudAdjust3_ValueChanged);

            #line default
            #line hidden
                return;

            case 10:
                this.btnSave = ((ControlLib.ButtonColor)(target));

            #line 42 "..\..\..\..\..\AdjustBase\UI\Adjust3.xaml"
                this.btnSave.Click += new System.Windows.RoutedEventHandler(this.btnSave_Click);

            #line default
            #line hidden
                return;

            case 11:
                this.txtAnnotation = ((System.Windows.Controls.TextBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 9 "..\..\..\..\SetStd\UI\WinSetStdWork.xaml"
                ((DealConfigFile.WinSetStdWork)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.BaseMetroWindow_Closing);

            #line default
            #line hidden

            #line 9 "..\..\..\..\SetStd\UI\WinSetStdWork.xaml"
                ((DealConfigFile.WinSetStdWork)(target)).Loaded += new System.Windows.RoutedEventHandler(this.BaseMetroWindow_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.gdLayout = ((System.Windows.Controls.Grid)(target));
                return;

            case 3:
                this.std1 = ((DealConfigFile.Adjust3)(target));
                return;

            case 4:
                this.std2 = ((DealConfigFile.Adjust3)(target));
                return;

            case 5:
                this.std3 = ((DealConfigFile.Adjust3)(target));
                return;

            case 6:
                this.std4 = ((DealConfigFile.Adjust3)(target));
                return;

            case 7:
                this.std5 = ((DealConfigFile.Adjust3)(target));
                return;

            case 8:
                this.std6 = ((DealConfigFile.Adjust3)(target));
                return;

            case 9:
                this.std7 = ((DealConfigFile.Adjust3)(target));
                return;

            case 10:
                this.std8 = ((DealConfigFile.Adjust3)(target));
                return;

            case 11:
                this.std9 = ((DealConfigFile.Adjust3)(target));
                return;

            case 12:
                this.std10 = ((DealConfigFile.Adjust3)(target));
                return;

            case 13:
                this.std11 = ((DealConfigFile.Adjust3)(target));
                return;

            case 14:
                this.std12 = ((DealConfigFile.Adjust3)(target));
                return;

            case 15:
                this.std13 = ((DealConfigFile.Adjust3)(target));
                return;

            case 16:
                this.std14 = ((DealConfigFile.Adjust3)(target));
                return;

            case 17:
                this.std15 = ((DealConfigFile.Adjust3)(target));
                return;

            case 18:
                this.std16 = ((DealConfigFile.Adjust3)(target));
                return;

            case 19:
                this.std17 = ((DealConfigFile.Adjust3)(target));
                return;

            case 20:
                this.std18 = ((DealConfigFile.Adjust3)(target));
                return;
            }
            this._contentLoaded = true;
        }