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
- SendKeys.cs
- ArrayWithOffset.cs
- ProcessInputEventArgs.cs
- SafeProcessHandle.cs
- DataGridViewAutoSizeModeEventArgs.cs
- EmptyElement.cs
- SrgsRule.cs
- PrintPreviewGraphics.cs
- IgnoreFlushAndCloseStream.cs
- BrowserCapabilitiesCompiler.cs
- AbandonedMutexException.cs
- VirtualPathProvider.cs
- SecurityElement.cs
- OverflowException.cs
- Point4D.cs
- DataGridViewDataErrorEventArgs.cs
- _BasicClient.cs
- VectorAnimationUsingKeyFrames.cs
- BinaryWriter.cs
- SerializationInfo.cs
- ErrorHandlerModule.cs
- HtmlDocument.cs
- CustomAttributeBuilder.cs
- DateTimeConstantAttribute.cs
- ModulesEntry.cs
- TreeViewEvent.cs
- ToolStripProfessionalLowResolutionRenderer.cs
- FrameworkTemplate.cs
- CanonicalXml.cs
- GacUtil.cs
- ServicePointManagerElement.cs
- TypeDelegator.cs
- Wildcard.cs
- WithStatement.cs
- ToolBarButtonClickEvent.cs
- DocumentViewerHelper.cs
- VerificationAttribute.cs
- BaseTemplateBuildProvider.cs
- CodeCompileUnit.cs
- HttpCacheVaryByContentEncodings.cs
- DiscreteKeyFrames.cs
- RemoteCryptoSignHashRequest.cs
- ReadOnlyDataSource.cs
- DecimalAnimationUsingKeyFrames.cs
- KeyValueInternalCollection.cs
- RuleAction.cs
- ClientTargetSection.cs
- SelectionChangedEventArgs.cs
- OrderedHashRepartitionStream.cs
- RemotingException.cs
- PropertyGrid.cs
- SafeRightsManagementHandle.cs
- DesignTimeTemplateParser.cs
- StaticSiteMapProvider.cs
- TreeViewDesigner.cs
- PropertyPathWorker.cs
- XmlName.cs
- Behavior.cs
- CommandManager.cs
- WebPartAuthorizationEventArgs.cs
- HotCommands.cs
- LogWriteRestartAreaAsyncResult.cs
- DataBindingCollection.cs
- validationstate.cs
- MessageLoggingFilterTraceRecord.cs
- DataGridViewColumn.cs
- AdapterSwitches.cs
- DataGridViewRowPostPaintEventArgs.cs
- PngBitmapDecoder.cs
- Context.cs
- KnownTypeAttribute.cs
- sitestring.cs
- PlacementWorkspace.cs
- DecoderFallback.cs
- TemplateBindingExtensionConverter.cs
- RelationshipDetailsCollection.cs
- Events.cs
- XmlSchemaElement.cs
- BrowserTree.cs
- ExtensibleClassFactory.cs
- SafeRegistryHandle.cs
- ConsumerConnectionPointCollection.cs
- ConfigErrorGlyph.cs
- ContextMenu.cs
- DataGridViewCellStyleConverter.cs
- UnionCodeGroup.cs
- StrokeRenderer.cs
- hresults.cs
- NumericUpDownAcceleration.cs
- PeerToPeerException.cs
- TextViewDesigner.cs
- SqlRowUpdatedEvent.cs
- HitTestResult.cs
- XmlIlTypeHelper.cs
- DuplexChannel.cs
- InkCanvasAutomationPeer.cs
- XmlSchemaElement.cs
- TrackPointCollection.cs
- MetadataException.cs
- DependencyPropertyChangedEventArgs.cs