//System.Drawing.Image DrawingImage; public NodeForm() { try { InitializeComponent(); _relatedItemsPane = new RelatedItemsPane(new ConfigItemRelatedItemsConfiguration()); tabItemRelItems.Content = _relatedItemsPane; //Define Template ProjectionLocationTemplate TemplateLocation = new ProjectionLocationTemplate(); ProjectionRackTemplate TemplateRack = new ProjectionRackTemplate(); SelectTreeViewObjectHandlerClass.EventHandler = new SelectTreeViewObjectHandlerClass.EMOEvent(Location_In); } catch (Exception e) { System.Windows.MessageBox.Show(DateTime.Now + " : " + "Initialized Proc Error : " + e.Message); } }
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; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: #line 11 "..\..\PPForm.xaml" ((SMCenter.Forms.PPForm)(target)).Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded); #line default #line hidden #line 11 "..\..\PPForm.xaml" ((SMCenter.Forms.PPForm)(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.lblPortsNo = ((System.Windows.Controls.Label)(target)); return; case 8: this.txtPortsNo = ((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.lblSerial = ((System.Windows.Controls.Label)(target)); return; case 16: this.txtSerial = ((System.Windows.Controls.TextBox)(target)); return; case 17: this.lblBuhDoc = ((System.Windows.Controls.Label)(target)); return; case 18: this.txtBuhDoc = ((System.Windows.Controls.TextBox)(target)); return; case 19: this.lblHeightInUnits = ((System.Windows.Controls.Label)(target)); return; case 20: this.txtHeightInUnits = ((System.Windows.Controls.TextBox)(target)); return; case 21: this.lblDeviceKey = ((System.Windows.Controls.Label)(target)); return; case 22: this.txtDeviceKey = ((System.Windows.Controls.TextBox)(target)); return; case 23: this.lblModel = ((System.Windows.Controls.Label)(target)); return; case 24: this.txtModel = ((System.Windows.Controls.TextBox)(target)); return; case 25: this.lblRack = ((System.Windows.Controls.Label)(target)); return; case 26: this.TemplateRackItem = ((SMCenter.Forms.ProjectionRackTemplate)(target)); return; case 27: this.lblNotes = ((System.Windows.Controls.Label)(target)); return; case 28: this.txtNotes = ((System.Windows.Controls.TextBox)(target)); return; case 29: this.tabItemRelItems = ((System.Windows.Controls.TabItem)(target)); return; case 30: this.tabItemHistory = ((System.Windows.Controls.TabItem)(target)); return; } this._contentLoaded = true; }