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
- DataGridViewCellCollection.cs
- Compilation.cs
- Stroke.cs
- BaseAppDomainProtocolHandler.cs
- BroadcastEventHelper.cs
- PeerResolverBindingElement.cs
- XamlReader.cs
- StringValidator.cs
- Rotation3D.cs
- DirectoryObjectSecurity.cs
- TriggerCollection.cs
- DropShadowEffect.cs
- BmpBitmapDecoder.cs
- BookmarkTable.cs
- MD5.cs
- DataObject.cs
- SpotLight.cs
- EventDescriptor.cs
- EntityModelBuildProvider.cs
- AbsoluteQuery.cs
- XmlSchemaInclude.cs
- BaseResourcesBuildProvider.cs
- InstanceLockException.cs
- NamespaceExpr.cs
- UriTemplateLiteralPathSegment.cs
- FileRecordSequenceCompletedAsyncResult.cs
- ChannelBase.cs
- QuaternionAnimationUsingKeyFrames.cs
- RequestCachePolicyConverter.cs
- DocumentXPathNavigator.cs
- DataGridTextBox.cs
- WindowsFormsSynchronizationContext.cs
- SequentialOutput.cs
- _AuthenticationState.cs
- EmptyElement.cs
- SmiMetaData.cs
- StringFormat.cs
- assemblycache.cs
- SqlEnums.cs
- Animatable.cs
- MetafileHeader.cs
- XamlFxTrace.cs
- CultureInfoConverter.cs
- InputScopeManager.cs
- ILGenerator.cs
- SqlMethodCallConverter.cs
- WebPartConnectionsCloseVerb.cs
- BufferAllocator.cs
- SecureConversationSecurityTokenParameters.cs
- BufferedReadStream.cs
- CodeGeneratorAttribute.cs
- OleDbEnumerator.cs
- SyndicationSerializer.cs
- DataKey.cs
- ExcCanonicalXml.cs
- CharacterMetricsDictionary.cs
- ShapeTypeface.cs
- Regex.cs
- XPathQueryGenerator.cs
- VisualTreeHelper.cs
- IdentityModelStringsVersion1.cs
- DelegatedStream.cs
- AxHost.cs
- XPathNavigatorKeyComparer.cs
- DataRecord.cs
- ExpressionBuilder.cs
- BaseDataBoundControl.cs
- Journaling.cs
- StoreItemCollection.Loader.cs
- XmlElementAttributes.cs
- InputElement.cs
- CodeDefaultValueExpression.cs
- XPathNodeIterator.cs
- QilInvokeEarlyBound.cs
- DiagnosticsConfigurationHandler.cs
- StickyNoteContentControl.cs
- Baml2006ReaderSettings.cs
- MaterializeFromAtom.cs
- SlipBehavior.cs
- _SafeNetHandles.cs
- FrameworkContentElement.cs
- Queue.cs
- Literal.cs
- OleAutBinder.cs
- RegionInfo.cs
- XmlSchemaGroup.cs
- ProbeMatchesMessage11.cs
- EventlogProvider.cs
- HelpEvent.cs
- AutomationPatternInfo.cs
- DistributedTransactionPermission.cs
- EntityDesignerDataSourceView.cs
- DisplayMemberTemplateSelector.cs
- XmlCustomFormatter.cs
- Events.cs
- embossbitmapeffect.cs
- WebPartTracker.cs
- EntitySqlQueryCacheKey.cs
- ReferencedAssemblyResolver.cs
- PolicyImporterElementCollection.cs