Code:
/ DotNET / DotNET / 8.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
- PriorityChain.cs
- TrailingSpaceComparer.cs
- ChunkedMemoryStream.cs
- AccessedThroughPropertyAttribute.cs
- OverrideMode.cs
- ScrollBar.cs
- DesignTimeParseData.cs
- ButtonChrome.cs
- objectresult_tresulttype.cs
- ExtendedProperty.cs
- EmbossBitmapEffect.cs
- MsmqInputMessagePool.cs
- ManagementNamedValueCollection.cs
- ParserContext.cs
- BaseHashHelper.cs
- AuthorizationRuleCollection.cs
- HyperLinkStyle.cs
- TimerElapsedEvenArgs.cs
- SqlConnectionStringBuilder.cs
- CompareValidator.cs
- PerformanceCounter.cs
- oledbmetadatacollectionnames.cs
- DbProviderSpecificTypePropertyAttribute.cs
- CoreChannel.cs
- DocumentsTrace.cs
- AssemblyAttributesGoHere.cs
- Barrier.cs
- WorkflowMarkupSerializationManager.cs
- AlgoModule.cs
- DuplexChannelBinder.cs
- FatalException.cs
- HtmlWindowCollection.cs
- Compress.cs
- GeneratedCodeAttribute.cs
- WebPartsSection.cs
- LayoutTable.cs
- Number.cs
- SqlBooleanMismatchVisitor.cs
- TraceHwndHost.cs
- DataGridViewDataErrorEventArgs.cs
- MetadataCache.cs
- AnonymousIdentificationSection.cs
- AnnotationResource.cs
- CultureMapper.cs
- InkCanvasAutomationPeer.cs
- LookupNode.cs
- TextParaLineResult.cs
- Bidi.cs
- DebugTrace.cs
- NetCodeGroup.cs
- FilteredDataSetHelper.cs
- StructuralObject.cs
- ConsoleCancelEventArgs.cs
- ScrollBarRenderer.cs
- OdbcEnvironment.cs
- EntityCommandExecutionException.cs
- XpsFontSubsetter.cs
- mansign.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- DesignerActionUIService.cs
- CollaborationHelperFunctions.cs
- ThreadExceptionDialog.cs
- Events.cs
- DataTemplateSelector.cs
- PropertiesTab.cs
- MarshalByRefObject.cs
- TextBoxBase.cs
- ResourceManager.cs
- DbProviderFactoriesConfigurationHandler.cs
- WmiPutTraceRecord.cs
- StorageComplexPropertyMapping.cs
- SpecularMaterial.cs
- XmlDsigSep2000.cs
- EventlogProvider.cs
- ChangeProcessor.cs
- GenericNameHandler.cs
- X509SecurityTokenProvider.cs
- MethodExpr.cs
- HostProtectionPermission.cs
- OleDbDataReader.cs
- SpotLight.cs
- ComponentChangingEvent.cs
- FrugalList.cs
- MergeFailedEvent.cs
- EntityContainer.cs
- LocalizableAttribute.cs
- Registry.cs
- UnhandledExceptionEventArgs.cs
- Geometry3D.cs
- WebDescriptionAttribute.cs
- Stack.cs
- Object.cs
- DragCompletedEventArgs.cs
- ExpandoClass.cs
- HandlerBase.cs
- TextSelectionProcessor.cs
- SqlUserDefinedTypeAttribute.cs
- DataGridTextBox.cs
- MulticastOption.cs
- TextViewSelectionProcessor.cs