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

            case 2:
                this.lbPrinters = ((WpfFramework.Controls.MultiSelectListBox)(target));
                return;

            case 3:

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

            #line default
            #line hidden
                return;

            case 4:

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

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
示例#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 = ((WpfFramework.Controls.MultiSelectListBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.btnSetSpeed = ((System.Windows.Controls.Button)(target));
                return;

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

            case 3:
                this.lbMessages = ((WpfFramework.Controls.MultiSelectListBox)(target));
                return;

            case 4:
                this.cbCamIndex = ((System.Windows.Controls.ComboBox)(target));
                return;

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

            case 6:
                this.lbModels = ((WpfFramework.Controls.MultiSelectListBox)(target));
                return;

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

            case 8:
                this.lbPrinters = ((WpfFramework.Controls.MultiSelectListBox)(target));
                return;

            case 9:
                this.btnConnect = ((System.Windows.Controls.Button)(target));
                return;

            case 10:
                this.btnConfigure = ((System.Windows.Controls.Button)(target));
                return;

            case 11:
                this.btnPro = ((System.Windows.Controls.Button)(target));
                return;
            }
            this._contentLoaded = true;
        }
示例#4
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.cbPrinter = ((System.Windows.Controls.ComboBox)(target));
                return;

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

            case 3:
                this.ckbPerYear = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 4:
                this.nudMachineHoursPerYear = ((MahApps.Metro.Controls.NumericUpDown)(target));
                return;

            case 5:
                this.nudUsefulYears = ((MahApps.Metro.Controls.NumericUpDown)(target));
                return;

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

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

            case 8:
                this.lbMHRs = ((WpfFramework.Controls.MultiSelectListBox)(target));
                return;

            case 9:
                this.btnPro = ((System.Windows.Controls.Button)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.cbModelGroups = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 2:
                this.mslbGCode = ((WpfFramework.Controls.MultiSelectListBox)(target));
                return;

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

            case 4:
                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.TextBoxSearchOffers = ((System.Windows.Controls.TextBox)(target));
                return;

            case 2:
                this.lbOffers = ((WpfFramework.Controls.MultiSelectListBox)(target));
                return;

            case 3:
                this.view3d = ((HelixToolkit.Wpf.HelixViewport3D)(target));
                return;

            case 4:
                this.foo = ((System.Windows.Media.Media3D.ModelVisual3D)(target));
                return;

            case 5:
                this.rotate = ((System.Windows.Media.Media3D.AxisAngleRotation3D)(target));
                return;

            case 6:
                this.view2dGcode = ((HelixToolkit.Wpf.HelixViewport3D)(target));
                return;

            case 7:
                this.Tool3D = ((HelixToolkit.Wpf.PipeVisual3D)(target));
                return;

            case 8:
                this.view3dGcode = ((HelixToolkit.Wpf.HelixViewport3D)(target));
                return;

            case 9:
                this.ToolGcode3D = ((HelixToolkit.Wpf.PipeVisual3D)(target));
                return;

            case 10:
                this.GcodeModel3d = ((System.Windows.Media.Media3D.ModelVisual3D)(target));
                return;

            case 11:
                this.rotateGcode = ((System.Windows.Media.Media3D.AxisAngleRotation3D)(target));
                return;

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

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

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

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

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

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

            case 18:
                this.lbPrinters = ((WpfFramework.Controls.MultiSelectListBox)(target));
                return;

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

            case 20:
                this.lbMaterials = ((WpfFramework.Controls.MultiSelectListBox)(target));
                return;

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

            case 22:
                this.mslbStl = ((WpfFramework.Controls.MultiSelectListBox)(target));
                return;

            case 23:

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

            #line default
            #line hidden
                return;

            case 24:

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

            #line default
            #line hidden
                return;

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

            case 26:
                this.mslbGCode = ((WpfFramework.Controls.MultiSelectListBox)(target));
                return;

            case 27:

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

            #line default
            #line hidden
                return;

            case 28:

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

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