Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / cdf / src / NetFx40 / Tools / System.Activities.Presentation / System / Activities / Presentation / View / EditorResources.cs / 1305376 / EditorResources.cs
//---------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. //--------------------------------------------------------------- namespace System.Activities.Presentation.View { using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows; using System.Runtime; class EditorResources { private static ResourceDictionary resources; internal static ResourceDictionary GetResources() { if (resources == null) { Uri resourceLocator = new Uri( string.Concat( typeof(EditorResources).Assembly.GetName().Name, @";component/System/Activities/Presentation/View/EditorResources.xaml"), UriKind.RelativeOrAbsolute); resources = (ResourceDictionary)Application.LoadComponent(resourceLocator); } Fx.Assert(resources != null, "Could not load argument value editor resources."); return resources; } static ResourceDictionary icons; internal static ResourceDictionary GetIcons() { if (null == icons) { Uri resourceLocator = new Uri( string.Concat( typeof(EditorResources).Assembly.GetName().Name, @";component/Themes/Icons.xaml"), UriKind.RelativeOrAbsolute); icons = (ResourceDictionary)Application.LoadComponent(resourceLocator); } Fx.Assert(icons!= null, "Could not load icon resources."); return icons; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- MailAddressCollection.cs
- ICollection.cs
- FocusChangedEventArgs.cs
- SerialPinChanges.cs
- XsdCachingReader.cs
- SqlXmlStorage.cs
- WebServiceEnumData.cs
- _PooledStream.cs
- ProgressBarBrushConverter.cs
- StrokeIntersection.cs
- DataGridComboBoxColumn.cs
- LocalFileSettingsProvider.cs
- SqlDependencyListener.cs
- XmlnsCompatibleWithAttribute.cs
- SpotLight.cs
- View.cs
- UserControlCodeDomTreeGenerator.cs
- GAC.cs
- EntityContainerEmitter.cs
- InstanceOwner.cs
- MetadataArtifactLoaderComposite.cs
- MaterialCollection.cs
- OleDbErrorCollection.cs
- UpdateProgress.cs
- AuthenticationService.cs
- TypefaceMetricsCache.cs
- URLString.cs
- ViewManagerAttribute.cs
- PassportAuthenticationEventArgs.cs
- StyleCollectionEditor.cs
- AdCreatedEventArgs.cs
- SafeEventLogWriteHandle.cs
- OverflowException.cs
- HwndHost.cs
- OleDbConnectionPoolGroupProviderInfo.cs
- PenContext.cs
- CompilerState.cs
- RightsManagementPermission.cs
- ListControl.cs
- AssociationType.cs
- Crc32.cs
- StandardCommands.cs
- BrowserCapabilitiesFactory.cs
- COM2IDispatchConverter.cs
- ToggleButtonAutomationPeer.cs
- MenuItem.cs
- DeadCharTextComposition.cs
- SqlExpander.cs
- LockedBorderGlyph.cs
- SharedDp.cs
- NavigationWindow.cs
- Validator.cs
- SerialPinChanges.cs
- EditorPart.cs
- DescendantQuery.cs
- AsyncCompletedEventArgs.cs
- objectquery_tresulttype.cs
- WorkflowServiceAttributes.cs
- PartManifestEntry.cs
- XhtmlConformanceSection.cs
- TemplateNameScope.cs
- ProcessModule.cs
- SocketPermission.cs
- BaseCodeDomTreeGenerator.cs
- PropagatorResult.cs
- RuntimeUtils.cs
- XamlWrappingReader.cs
- TypeInitializationException.cs
- BinaryFormatter.cs
- PhysicalFontFamily.cs
- BuilderPropertyEntry.cs
- DefaultBinder.cs
- MailAddress.cs
- ConfigurationException.cs
- PrintingPermissionAttribute.cs
- WindowsScrollBarBits.cs
- BamlVersionHeader.cs
- FontStretch.cs
- GridViewSortEventArgs.cs
- XmlILIndex.cs
- BitmapCache.cs
- EmptyStringExpandableObjectConverter.cs
- ContextMenu.cs
- DbMetaDataCollectionNames.cs
- PerformanceCountersElement.cs
- XmlDesignerDataSourceView.cs
- CodeFieldReferenceExpression.cs
- AuthenticationServiceManager.cs
- AddInControllerImpl.cs
- StringConverter.cs
- RangeValuePatternIdentifiers.cs
- xmlsaver.cs
- XmlSerializationReader.cs
- VSWCFServiceContractGenerator.cs
- PositiveTimeSpanValidatorAttribute.cs
- ScalarRestriction.cs
- HttpCapabilitiesSectionHandler.cs
- pingexception.cs
- DataGridBoolColumn.cs
- StatusBarItemAutomationPeer.cs