Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / ndp / fx / src / Designer / CompMod / System / ComponentModel / CompModSwitches.cs / 1 / CompModSwitches.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.ComponentModel { using System.Diagnostics; ///internal static class CompModSwitches { private static BooleanSwitch commonDesignerServices; private static TraceSwitch userControlDesigner; private static TraceSwitch dragDrop; private static TraceSwitch msaa; public static BooleanSwitch CommonDesignerServices { get { if (commonDesignerServices == null) { commonDesignerServices = new BooleanSwitch("CommonDesignerServices", "Assert if any common designer service is not found."); } return commonDesignerServices; } } public static TraceSwitch DragDrop { get { if (dragDrop == null) { dragDrop = new TraceSwitch("DragDrop", "Debug OLEDragDrop support in Controls"); } return dragDrop; } } public static TraceSwitch MSAA { get { if (msaa == null) { msaa = new TraceSwitch("MSAA", "Debug Microsoft Active Accessibility"); } return msaa; } } public static TraceSwitch UserControlDesigner { get { if (userControlDesigner == null) { userControlDesigner = new TraceSwitch("UserControlDesigner", "User Control Designer : Trace service calls."); } return userControlDesigner; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ObjectSecurity.cs
- XmlIncludeAttribute.cs
- ProjectionAnalyzer.cs
- Executor.cs
- StrongNameMembershipCondition.cs
- SoundPlayerAction.cs
- BamlRecordReader.cs
- GridViewAutomationPeer.cs
- TrailingSpaceComparer.cs
- Transactions.cs
- AppDomainAttributes.cs
- X509Certificate2Collection.cs
- BaseCodeDomTreeGenerator.cs
- BinHexEncoding.cs
- DataServiceQueryProvider.cs
- FormClosedEvent.cs
- OdbcFactory.cs
- RenderContext.cs
- _DomainName.cs
- EntityContainer.cs
- XPathQueryGenerator.cs
- LogicalTreeHelper.cs
- Vars.cs
- DiscoveryMessageSequence.cs
- LinearGradientBrush.cs
- SoapExtensionTypeElementCollection.cs
- PrintPreviewControl.cs
- OletxVolatileEnlistment.cs
- HwndHostAutomationPeer.cs
- TextRunCache.cs
- CellLabel.cs
- SevenBitStream.cs
- SqlDeflator.cs
- CompilerGeneratedAttribute.cs
- EncodingNLS.cs
- BindStream.cs
- ConfigXmlElement.cs
- StreamSecurityUpgradeInitiatorBase.cs
- CollectionDataContract.cs
- RefExpr.cs
- WmlLabelAdapter.cs
- DataTablePropertyDescriptor.cs
- SingletonChannelAcceptor.cs
- FontFamily.cs
- FamilyTypeface.cs
- ToolZoneDesigner.cs
- BuildResult.cs
- OperatingSystem.cs
- Group.cs
- Rect.cs
- ToolBarDesigner.cs
- ChannelSettingsElement.cs
- TdsEnums.cs
- SqlNotificationEventArgs.cs
- SimpleHandlerBuildProvider.cs
- ListDictionaryInternal.cs
- assemblycache.cs
- ContractListAdapter.cs
- RenamedEventArgs.cs
- CTreeGenerator.cs
- TypeListConverter.cs
- CollectionViewGroup.cs
- XsdDuration.cs
- XmlSchemaValidationException.cs
- BamlBinaryWriter.cs
- XmlSchemaAny.cs
- AnchoredBlock.cs
- DataMemberFieldConverter.cs
- DataGrid.cs
- CodeAttributeArgumentCollection.cs
- WindowsSecurityTokenAuthenticator.cs
- MemoryFailPoint.cs
- XmlWhitespace.cs
- InvokeProviderWrapper.cs
- AttributeProviderAttribute.cs
- ColumnCollection.cs
- IndexedGlyphRun.cs
- ConnectionInterfaceCollection.cs
- RemoveStoryboard.cs
- ProcessThreadCollection.cs
- CultureTable.cs
- ToolboxItemWrapper.cs
- DebuggerAttributes.cs
- FusionWrap.cs
- UInt64.cs
- RegexCode.cs
- SkinBuilder.cs
- BrowserDefinition.cs
- RtType.cs
- UnionExpr.cs
- TraceEventCache.cs
- SqlProviderServices.cs
- NativeMethods.cs
- LinkLabelLinkClickedEvent.cs
- TemplateKey.cs
- QilFunction.cs
- dtdvalidator.cs
- PlainXmlDeserializer.cs
- XPathException.cs
- TabControlCancelEvent.cs