Exemplo n.º 1
0
        //System.Drawing.Image DrawingImage;

        public ModuleForm()
        {
            try
            {
                InitializeComponent();
                _relatedItemsPane       = new RelatedItemsPane(new ConfigItemRelatedItemsConfiguration());
                tabItemRelItems.Content = _relatedItemsPane;

                //Define Template
                ProjectionLocationTemplate TemplateLocation = new ProjectionLocationTemplate();

                SelectTreeViewObjectHandlerClass.EventHandler = new SelectTreeViewObjectHandlerClass.EMOEvent(Location_In);
            }
            catch (Exception e)
            {
                System.Windows.MessageBox.Show(DateTime.Now + " : " + "Initialized Proc Error : " + e.Message);
            }
        }
Exemplo n.º 2
0
        public HAForm()
        {
            try
            {
                InitializeComponent();
                _relatedItemsPane       = new RelatedItemsPane(new ConfigItemRelatedItemsConfiguration());
                tabItemRelItems.Content = _relatedItemsPane;

                //Define Template
                ProjectionObjectTemplate   TemplateCatalogItem     = new ProjectionObjectTemplate();
                ProjectionObjectTemplate   TemplateWarranty        = new ProjectionObjectTemplate();
                ProjectionObjectTemplate   TemplateSupportContract = new ProjectionObjectTemplate();
                ProjectionObjectTemplate   TemplateOrganization    = new ProjectionObjectTemplate();
                ProjectionLocationTemplate TemplateLocation        = new ProjectionLocationTemplate();


                SelectTreeViewObjectHandlerClass.EventHandler = new SelectTreeViewObjectHandlerClass.EMOEvent(Location_In);
            }
            catch (Exception e)
            {
                System.Windows.MessageBox.Show(DateTime.Now + " : " + "Initialied Error : " + e.Message);
            }
        }
Exemplo n.º 3
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 11 "..\..\ModuleForm.xaml"
                ((SMCenter.Forms.ModuleForm)(target)).Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded);

            #line default
            #line hidden

            #line 11 "..\..\ModuleForm.xaml"
                ((SMCenter.Forms.ModuleForm)(target)).DataContextChanged += new System.Windows.DependencyPropertyChangedEventHandler(this.UserControl_DataContextChanged);

            #line default
            #line hidden
                return;

            case 2:
                this.Location = ((System.Windows.Controls.Image)(target));
                return;

            case 3:
                this.lbHATitle = ((System.Windows.Controls.Label)(target));
                return;

            case 4:
                this.Logo = ((System.Windows.Controls.Image)(target));
                return;

            case 5:
                this.tabControlMain = ((System.Windows.Controls.TabControl)(target));
                return;

            case 6:
                this.tabItemGeneral = ((System.Windows.Controls.TabItem)(target));
                return;

            case 7:
                this.lblGeoName = ((System.Windows.Controls.Label)(target));
                return;

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

            case 9:
                this.lblMarkerName = ((System.Windows.Controls.Label)(target));
                return;

            case 10:
                this.txtMarkerName = ((System.Windows.Controls.TextBox)(target));
                return;

            case 11:
                this.lbIndex = ((System.Windows.Controls.Label)(target));
                return;

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

            case 13:
                this.lbAssetStatus = ((System.Windows.Controls.Label)(target));
                return;

            case 14:
                this.lpAssetStatus = ((Microsoft.EnterpriseManagement.UI.WpfControls.ListPicker)(target));
                return;

            case 15:
                this.lblLocation = ((System.Windows.Controls.Label)(target));
                return;

            case 16:
                this.TemplateLocationItem = ((SMCenter.Forms.ProjectionLocationTemplate)(target));
                return;

            case 17:
                this.lblNotes = ((System.Windows.Controls.Label)(target));
                return;

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

            case 19:
                this.tabItemRelItems = ((System.Windows.Controls.TabItem)(target));
                return;

            case 20:
                this.tabItemHistory = ((System.Windows.Controls.TabItem)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 4
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 11 "..\..\NodeForm2.xaml"
                ((SMCenter.Forms.NodeForm2)(target)).Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded);

            #line default
            #line hidden

            #line 11 "..\..\NodeForm2.xaml"
                ((SMCenter.Forms.NodeForm2)(target)).DataContextChanged += new System.Windows.DependencyPropertyChangedEventHandler(this.UserControl_DataContextChanged);

            #line default
            #line hidden
                return;

            case 2:
                this.Location = ((System.Windows.Controls.Image)(target));
                return;

            case 3:
                this.lbHATitle = ((System.Windows.Controls.Label)(target));
                return;

            case 4:
                this.Logo = ((System.Windows.Controls.Image)(target));
                return;

            case 5:
                this.tabControlMain = ((System.Windows.Controls.TabControl)(target));
                return;

            case 6:
                this.tabItemGeneral = ((System.Windows.Controls.TabItem)(target));
                return;

            case 7:
                this.lblId = ((System.Windows.Controls.Label)(target));
                return;

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

            case 9:
                this.lblAssetKey = ((System.Windows.Controls.Label)(target));
                return;

            case 10:
                this.txtAssetKey = ((System.Windows.Controls.TextBox)(target));
                return;

            case 11:
                this.lblGeoName = ((System.Windows.Controls.Label)(target));
                return;

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

            case 13:
                this.lblAssetStatus = ((System.Windows.Controls.Label)(target));
                return;

            case 14:
                this.lpAssetStatus = ((Microsoft.EnterpriseManagement.UI.WpfControls.ListPicker)(target));
                return;

            case 15:
                this.lblUplinkPortNo = ((System.Windows.Controls.Label)(target));
                return;

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

            case 17:
                this.lblParentPortNo = ((System.Windows.Controls.Label)(target));
                return;

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

            case 19:
                this.lblSerial = ((System.Windows.Controls.Label)(target));
                return;

            case 20:
                this.txtSerial = ((System.Windows.Controls.TextBox)(target));
                return;

            case 21:
                this.lblBuhDoc = ((System.Windows.Controls.Label)(target));
                return;

            case 22:
                this.txtBuhDoc = ((System.Windows.Controls.TextBox)(target));
                return;

            case 23:
                this.lblHeightInUnits = ((System.Windows.Controls.Label)(target));
                return;

            case 24:
                this.txtHeightInUnits = ((System.Windows.Controls.TextBox)(target));
                return;

            case 25:
                this.lblNodeMonitorType = ((System.Windows.Controls.Label)(target));
                return;

            case 26:
                this.lpNodeMonitorType = ((Microsoft.EnterpriseManagement.UI.WpfControls.ListPicker)(target));
                return;

            case 27:
                this.lblNodeType = ((System.Windows.Controls.Label)(target));
                return;

            case 28:
                this.lpNodeType = ((Microsoft.EnterpriseManagement.UI.WpfControls.ListPicker)(target));
                return;

            case 29:
                this.lblLocation = ((System.Windows.Controls.Label)(target));
                return;

            case 30:
                this.TemplateLocationItem = ((SMCenter.Forms.ProjectionLocationTemplate)(target));
                return;

            case 31:
                this.lblNotes = ((System.Windows.Controls.Label)(target));
                return;

            case 32:
                this.txtNotes = ((System.Windows.Controls.TextBox)(target));
                return;

            case 33:
                this.tabItemRelItems = ((System.Windows.Controls.TabItem)(target));
                return;

            case 34:
                this.tabItemHistory = ((System.Windows.Controls.TabItem)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 11 "..\..\Copy of NetworkMapForm.xaml"
                ((SMCenter.Forms.NetworkMapForm)(target)).Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded);

            #line default
            #line hidden

            #line 11 "..\..\Copy of NetworkMapForm.xaml"
                ((SMCenter.Forms.NetworkMapForm)(target)).DataContextChanged += new System.Windows.DependencyPropertyChangedEventHandler(this.UserControl_DataContextChanged);

            #line default
            #line hidden
                return;

            case 2:
                this.Location = ((System.Windows.Controls.Image)(target));
                return;

            case 3:
                this.lbHATitle = ((System.Windows.Controls.Label)(target));
                return;

            case 4:
                this.Logo = ((System.Windows.Controls.Image)(target));
                return;

            case 5:
                this.tabControlMain = ((System.Windows.Controls.TabControl)(target));
                return;

            case 6:
                this.tabItemGeneral = ((System.Windows.Controls.TabItem)(target));
                return;

            case 7:
                this.lblGeoName = ((System.Windows.Controls.Label)(target));
                return;

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

            case 9:
                this.lbAssetStatus = ((System.Windows.Controls.Label)(target));
                return;

            case 10:
                this.lpAssetStatus = ((Microsoft.EnterpriseManagement.UI.WpfControls.ListPicker)(target));
                return;

            case 11:
                this.lblId = ((System.Windows.Controls.Label)(target));
                return;

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

            case 13:
                this.lblLocation = ((System.Windows.Controls.Label)(target));
                return;

            case 14:
                this.TemplateLocationItem = ((SMCenter.Forms.ProjectionLocationTemplate)(target));
                return;

            case 15:
                this.lblNotes = ((System.Windows.Controls.Label)(target));
                return;

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

            case 17:
                this.lblImage = ((System.Windows.Controls.Label)(target));
                return;

            case 18:
                this.ImageBox = ((System.Windows.Controls.Image)(target));
                return;

            case 19:
                this.ImageButtons = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 20:
                this.brd_Image_Add = ((System.Windows.Controls.Border)(target));

            #line 121 "..\..\Copy of NetworkMapForm.xaml"
                this.brd_Image_Add.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.brd_Image_Add_MouseDown);

            #line default
            #line hidden
                return;

            case 21:
                this.Image_Add = ((System.Windows.Controls.Image)(target));
                return;

            case 22:
                this.brd_Image_Delete = ((System.Windows.Controls.Border)(target));

            #line 124 "..\..\Copy of NetworkMapForm.xaml"
                this.brd_Image_Delete.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.brd_Image_Delete_MouseDown);

            #line default
            #line hidden
                return;

            case 23:
                this.Image_Delete = ((System.Windows.Controls.Image)(target));
                return;

            case 24:
                this.tabItemRelItems = ((System.Windows.Controls.TabItem)(target));
                return;

            case 25:
                this.tabItemHistory = ((System.Windows.Controls.TabItem)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 6
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 11 "..\..\NodeForm.xaml"
                ((SMCenter.Forms.NodeForm)(target)).Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded);

            #line default
            #line hidden

            #line 11 "..\..\NodeForm.xaml"
                ((SMCenter.Forms.NodeForm)(target)).DataContextChanged += new System.Windows.DependencyPropertyChangedEventHandler(this.UserControl_DataContextChanged);

            #line default
            #line hidden
                return;

            case 2:
                this.Location = ((System.Windows.Controls.Image)(target));
                return;

            case 3:
                this.lbNodeTitle = ((System.Windows.Controls.Label)(target));
                return;

            case 4:
                this.Logo = ((System.Windows.Controls.Image)(target));
                return;

            case 5:
                this.tabControlMain = ((System.Windows.Controls.TabControl)(target));
                return;

            case 6:
                this.tabItemGeneral = ((System.Windows.Controls.TabItem)(target));
                return;

            case 7:
                this.lblId = ((System.Windows.Controls.Label)(target));
                return;

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

            case 9:
                this.lblAssetKey = ((System.Windows.Controls.Label)(target));
                return;

            case 10:
                this.txtAssetKey = ((System.Windows.Controls.TextBox)(target));
                return;

            case 11:
                this.lblGeoName = ((System.Windows.Controls.Label)(target));
                return;

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

            case 13:
                this.lblAssetStatus = ((System.Windows.Controls.Label)(target));
                return;

            case 14:
                this.lpAssetStatus = ((Microsoft.EnterpriseManagement.UI.WpfControls.ListPicker)(target));
                return;

            case 15:
                this.lblUplinkPortNo = ((System.Windows.Controls.Label)(target));
                return;

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

            case 17:
                this.lblParentPortNo = ((System.Windows.Controls.Label)(target));
                return;

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

            case 19:
                this.lblSerial = ((System.Windows.Controls.Label)(target));
                return;

            case 20:
                this.txtSerial = ((System.Windows.Controls.TextBox)(target));
                return;

            case 21:
                this.lblBuhDoc = ((System.Windows.Controls.Label)(target));
                return;

            case 22:
                this.txtBuhDoc = ((System.Windows.Controls.TextBox)(target));
                return;

            case 23:
                this.lblHeightInUnits = ((System.Windows.Controls.Label)(target));
                return;

            case 24:
                this.txtHeightInUnits = ((System.Windows.Controls.TextBox)(target));
                return;

            case 25:
                this.lblNodeMonitorType = ((System.Windows.Controls.Label)(target));
                return;

            case 26:
                this.lpNodeMonitorType = ((Microsoft.EnterpriseManagement.UI.WpfControls.ListPicker)(target));
                return;

            case 27:
                this.lblNodeType = ((System.Windows.Controls.Label)(target));
                return;

            case 28:
                this.lpNodeType = ((Microsoft.EnterpriseManagement.UI.WpfControls.ListPicker)(target));
                return;

            case 29:
                this.lblSNMPAddress = ((System.Windows.Controls.Label)(target));
                return;

            case 30:
                this.txtSNMPAddress = ((System.Windows.Controls.TextBox)(target));
                return;

            case 31:
                this.lblSNMPVersion = ((System.Windows.Controls.Label)(target));
                return;

            case 32:
                this.txtSNMPVersion = ((System.Windows.Controls.TextBox)(target));
                return;

            case 33:
                this.lblVirtualCommunitySuffix = ((System.Windows.Controls.Label)(target));
                return;

            case 34:
                this.txtVirtualCommunitySuffix = ((System.Windows.Controls.TextBox)(target));
                return;

            case 35:
                this.lblAccessMode = ((System.Windows.Controls.Label)(target));
                return;

            case 36:
                this.txtAccessMode = ((System.Windows.Controls.TextBox)(target));
                return;

            case 37:
                this.lblCertification = ((System.Windows.Controls.Label)(target));
                return;

            case 38:
                this.txtCertification = ((System.Windows.Controls.TextBox)(target));
                return;

            case 39:
                this.lblDeviceKey = ((System.Windows.Controls.Label)(target));
                return;

            case 40:
                this.txtDeviceKey = ((System.Windows.Controls.TextBox)(target));
                return;

            case 41:
                this.lblsysName = ((System.Windows.Controls.Label)(target));
                return;

            case 42:
                this.txtsysName = ((System.Windows.Controls.TextBox)(target));
                return;

            case 43:
                this.lblSystemObjectID = ((System.Windows.Controls.Label)(target));
                return;

            case 44:
                this.txtSystemObjectID = ((System.Windows.Controls.TextBox)(target));
                return;

            case 45:
                this.lblModel = ((System.Windows.Controls.Label)(target));
                return;

            case 46:
                this.txtModel = ((System.Windows.Controls.TextBox)(target));
                return;

            case 47:
                this.lblLocation = ((System.Windows.Controls.Label)(target));
                return;

            case 48:
                this.TemplateLocationItem = ((SMCenter.Forms.ProjectionLocationTemplate)(target));
                return;

            case 49:
                this.lblRack = ((System.Windows.Controls.Label)(target));
                return;

            case 50:
                this.TemplateRackItem = ((SMCenter.Forms.ProjectionRackTemplate)(target));
                return;

            case 51:
                this.lblNotes = ((System.Windows.Controls.Label)(target));
                return;

            case 52:
                this.txtNotes = ((System.Windows.Controls.TextBox)(target));
                return;

            case 53:
                this.tabItemRelItems = ((System.Windows.Controls.TabItem)(target));
                return;

            case 54:
                this.tabItemHistory = ((System.Windows.Controls.TabItem)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 7
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 12 "..\..\Copy of HAForm.xaml"
                ((SMCenter.Forms.HAForm)(target)).Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded);

            #line default
            #line hidden

            #line 12 "..\..\Copy of HAForm.xaml"
                ((SMCenter.Forms.HAForm)(target)).DataContextChanged += new System.Windows.DependencyPropertyChangedEventHandler(this.UserControl_DataContextChanged);

            #line default
            #line hidden
                return;

            case 2:
                this.Location = ((System.Windows.Controls.Image)(target));
                return;

            case 3:
                this.lbHATitle = ((System.Windows.Controls.Label)(target));
                return;

            case 4:
                this.Logo = ((System.Windows.Controls.Image)(target));
                return;

            case 5:
                this.tabControlMain = ((System.Windows.Controls.TabControl)(target));
                return;

            case 6:
                this.tabItemGeneral = ((System.Windows.Controls.TabItem)(target));
                return;

            case 7:
                this.lblDisplayName = ((System.Windows.Controls.Label)(target));
                return;

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

            case 9:
                this.lblAssetKey = ((System.Windows.Controls.Label)(target));
                return;

            case 10:
                this.txtAssetKey = ((System.Windows.Controls.TextBox)(target));

            #line 83 "..\..\Copy of HAForm.xaml"
                this.txtAssetKey.SourceUpdated += new System.EventHandler <System.Windows.Data.DataTransferEventArgs>(this.txtAssetKey_SourceUpdated);

            #line default
            #line hidden
                return;

            case 11:
                this.lblLifecycleStatus = ((System.Windows.Controls.Label)(target));
                return;

            case 12:
                this.lpLifecycleStatus = ((Microsoft.EnterpriseManagement.UI.WpfControls.ListPicker)(target));
                return;

            case 13:
                this.lblSer = ((System.Windows.Controls.Label)(target));
                return;

            case 14:
                this.txtNASerNumber = ((System.Windows.Controls.TextBox)(target));
                return;

            case 15:
                this.lblHAType = ((System.Windows.Controls.Label)(target));
                return;

            case 16:
                this.lpHAType = ((Microsoft.EnterpriseManagement.UI.WpfControls.ListPicker)(target));
                return;

            case 17:
                this.lblModel = ((System.Windows.Controls.Label)(target));
                return;

            case 18:
                this.TemplateCatalogItem = ((SMCenter.Forms.ProjectionObjectTemplate)(target));
                return;

            case 19:
                this.lblDescription = ((System.Windows.Controls.Label)(target));
                return;

            case 20:
                this.txtDescription = ((System.Windows.Controls.TextBox)(target));
                return;

            case 21:
                this.lblConfigItems = ((System.Windows.Controls.Label)(target));
                return;

            case 22:
                this.ListViewCI = ((System.Windows.Controls.ListView)(target));
                return;

            case 23:
                this.CIButtons = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 24:
                this.brd_CI_Add = ((System.Windows.Controls.Border)(target));

            #line 154 "..\..\Copy of HAForm.xaml"
                this.brd_CI_Add.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.brd_CI_Add_MouseDown);

            #line default
            #line hidden
                return;

            case 25:
                this.CI_Image_Add = ((System.Windows.Controls.Image)(target));
                return;

            case 26:
                this.brd_CI_Edit = ((System.Windows.Controls.Border)(target));

            #line 157 "..\..\Copy of HAForm.xaml"
                this.brd_CI_Edit.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.brd_CI_Edit_MouseDown);

            #line default
            #line hidden
                return;

            case 27:
                this.CI_Image_Edit = ((System.Windows.Controls.Image)(target));
                return;

            case 28:
                this.brd_CI_Delete = ((System.Windows.Controls.Border)(target));

            #line 160 "..\..\Copy of HAForm.xaml"
                this.brd_CI_Delete.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.brd_CI_Delete_MouseDown);

            #line default
            #line hidden
                return;

            case 29:
                this.CI_Image_Delete = ((System.Windows.Controls.Image)(target));
                return;

            case 30:
                this.lblWarranty = ((System.Windows.Controls.Label)(target));
                return;

            case 31:
                this.TemplateWarranty = ((SMCenter.Forms.ProjectionObjectTemplate)(target));
                return;

            case 32:
                this.lblSupport = ((System.Windows.Controls.Label)(target));
                return;

            case 33:
                this.TemplateSupportContract = ((SMCenter.Forms.ProjectionObjectTemplate)(target));
                return;

            case 34:
                this.lblAssUser = ((System.Windows.Controls.Label)(target));
                return;

            case 35:
                this.HAOwner = ((Microsoft.EnterpriseManagement.UI.WpfControls.UserPicker)(target));
                return;

            case 36:
                this.lblOrganization = ((System.Windows.Controls.Label)(target));
                return;

            case 37:
                this.TemplateOrganization = ((SMCenter.Forms.ProjectionObjectTemplate)(target));
                return;

            case 38:
                this.lblLocation = ((System.Windows.Controls.Label)(target));
                return;

            case 39:
                this.TemplateLocationItem = ((SMCenter.Forms.ProjectionLocationTemplate)(target));
                return;

            case 40:
                this.tabItemFinance = ((System.Windows.Controls.TabItem)(target));
                return;

            case 41:
                this.lblCostCenter = ((System.Windows.Controls.Label)(target));
                return;

            case 42:
                this.TemplateCostCenter = ((SMCenter.Forms.ProjectionObjectTemplate)(target));
                return;

            case 43:
                this.lblReceivedDate = ((System.Windows.Controls.Label)(target));
                return;

            case 44:
                this.dtReceivedDate = ((Microsoft.Windows.Controls.DatePicker)(target));
                return;

            case 45:
                this.lblCost = ((System.Windows.Controls.Label)(target));
                return;

            case 46:
                this.txtCost = ((System.Windows.Controls.TextBox)(target));
                return;

            case 47:
                this.lblLifecycleStatusChangedDate = ((System.Windows.Controls.Label)(target));
                return;

            case 48:
                this.dtLifecycleStatusChangedDate = ((Microsoft.Windows.Controls.DatePicker)(target));
                return;

            case 49:
                this.lblPurchaseOrderNumber = ((System.Windows.Controls.Label)(target));
                return;

            case 50:
                this.txtPurchaseOrderNumber = ((System.Windows.Controls.TextBox)(target));
                return;

            case 51:
                this.lblPurchaseOrderDate = ((System.Windows.Controls.Label)(target));
                return;

            case 52:
                this.dtPurchaseOrderDate = ((Microsoft.Windows.Controls.DatePicker)(target));
                return;

            case 53:
                this.lblInvoiceNumber = ((System.Windows.Controls.Label)(target));
                return;

            case 54:
                this.txtInvoiceNumber = ((System.Windows.Controls.TextBox)(target));
                return;

            case 55:
                this.lblInvoiceDate = ((System.Windows.Controls.Label)(target));
                return;

            case 56:
                this.dtInvoiceDate = ((Microsoft.Windows.Controls.DatePicker)(target));
                return;

            case 57:
                this.lblSupplier = ((System.Windows.Controls.Label)(target));
                return;

            case 58:
                this.TemplateSupplier = ((SMCenter.Forms.ProjectionObjectTemplate)(target));
                return;

            case 59:
                this.lblLease = ((System.Windows.Controls.Label)(target));
                return;

            case 60:
                this.TemplateLease = ((SMCenter.Forms.ProjectionObjectTemplate)(target));
                return;

            case 61:
                this.lblCostEvents = ((System.Windows.Controls.Label)(target));
                return;

            case 62:
                this.CostEventsListView = ((System.Windows.Controls.ListView)(target));
                return;

            case 63:
                this.CostEventsButtons = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 64:
                this.brd_CE_Add = ((System.Windows.Controls.Border)(target));
                return;

            case 65:
                this.Image_Add = ((System.Windows.Controls.Image)(target));
                return;

            case 66:
                this.brd_CE_Edit = ((System.Windows.Controls.Border)(target));
                return;

            case 67:
                this.Image_Edit = ((System.Windows.Controls.Image)(target));
                return;

            case 68:
                this.brd_CE_Delete = ((System.Windows.Controls.Border)(target));
                return;

            case 69:
                this.Image_Delete = ((System.Windows.Controls.Image)(target));
                return;

            case 70:
                this.tabItemRelItems = ((System.Windows.Controls.TabItem)(target));
                return;

            case 71:
                this.tabItemHistory = ((System.Windows.Controls.TabItem)(target));
                return;
            }
            this._contentLoaded = true;
        }