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

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

            case 3:
                this.cbProperties = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 4:
                this.lbSettings = ((PrintCostCalculator3d.Controls.MultiSelectListBox)(target));
                return;

            case 5:
                this.btnSave = ((System.Windows.Controls.Button)(target));
                return;

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

            case 2:
                this.lbMaterials = ((PrintCostCalculator3d.Controls.MultiSelectListBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.lbPrinters = ((PrintCostCalculator3d.Controls.MultiSelectListBox)(target));
                return;

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

            case 3:
                this.btnCancel = ((System.Windows.Controls.Button)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.gridDropArea = ((System.Windows.Controls.Grid)(target));
                return;

            case 2:
                this.cbCalculation = ((System.Windows.Controls.ComboBox)(target));
                return;

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

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

            case 5:
                this.ckbApplyTaxes = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 6:
                this.nudTaxRate = ((MahApps.Metro.Controls.NumericUpDown)(target));
                return;

            case 7:
                this.ExpanderMultipleGcodeParserView = ((System.Windows.Controls.Expander)(target));
                return;

            case 8:
                this.TextBoxSearchStl = ((System.Windows.Controls.TextBox)(target));
                return;

            case 9:
                this.mslbStl = ((PrintCostCalculator3d.Controls.MultiSelectListBox)(target));
                return;

            case 10:

            #line 1018 "..\..\..\..\Views\3dPrinting\3dPrintingCalculationView.xaml"
                ((System.Windows.Controls.ContextMenu)(target)).Opened += new System.Windows.RoutedEventHandler(this.ContextMenu_Opened);

            #line default
            #line hidden
                return;

            case 11:

            #line 1032 "..\..\..\..\Views\3dPrinting\3dPrintingCalculationView.xaml"
                ((System.Windows.Controls.ContextMenu)(target)).Opened += new System.Windows.RoutedEventHandler(this.ContextMenu_Opened);

            #line default
            #line hidden
                return;

            case 12:
                this.TextBoxSearchGcode = ((System.Windows.Controls.TextBox)(target));
                return;

            case 13:
                this.mslbGCode = ((PrintCostCalculator3d.Controls.MultiSelectListBox)(target));
                return;

            case 14:

            #line 1251 "..\..\..\..\Views\3dPrinting\3dPrintingCalculationView.xaml"
                ((System.Windows.Controls.ContextMenu)(target)).Opened += new System.Windows.RoutedEventHandler(this.ContextMenu_Opened);

            #line default
            #line hidden
                return;

            case 15:

            #line 1265 "..\..\..\..\Views\3dPrinting\3dPrintingCalculationView.xaml"
                ((System.Windows.Controls.ContextMenu)(target)).Opened += new System.Windows.RoutedEventHandler(this.ContextMenu_Opened);

            #line default
            #line hidden
                return;

            case 16:
                this.TextBoxSearchPrinter = ((System.Windows.Controls.TextBox)(target));
                return;

            case 17:
                this.lbPrinters = ((PrintCostCalculator3d.Controls.MultiSelectListBox)(target));
                return;

            case 18:
                this.TextBoxSearchMaterial = ((System.Windows.Controls.TextBox)(target));
                return;

            case 19:
                this.lbMaterials = ((PrintCostCalculator3d.Controls.MultiSelectListBox)(target));
                return;

            case 20:
                this.ExpanderAdvancedView = ((System.Windows.Controls.Expander)(target));
                return;

            case 21:
                this.TextBoxSearchOffers = ((System.Windows.Controls.TextBox)(target));
                return;

            case 22:
                this.lbOffers = ((PrintCostCalculator3d.Controls.MultiSelectListBox)(target));
                return;

            case 23:
                this.view3d = ((HelixToolkit.Wpf.SharpDX.Viewport3DX)(target));
                return;

            case 24:
                this.cbGcode = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 25:
                this.view2dGcode = ((HelixToolkit.Wpf.SharpDX.Viewport3DX)(target));
                return;

            case 26:
                this.view3dGcode = ((HelixToolkit.Wpf.SharpDX.Viewport3DX)(target));
                return;

            case 27:
                this.group = ((HelixToolkit.Wpf.SharpDX.GroupModel3D)(target));
                return;
            }
            this._contentLoaded = true;
        }