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
- ShaderEffect.cs
- Binding.cs
- Validator.cs
- TrackingParameters.cs
- FunctionDefinition.cs
- DllNotFoundException.cs
- DataTableNewRowEvent.cs
- Pair.cs
- RelationshipConverter.cs
- ValidatingReaderNodeData.cs
- ClientTargetCollection.cs
- PresentationTraceSources.cs
- ApplicationContext.cs
- RealizedColumnsBlock.cs
- AsymmetricKeyExchangeDeformatter.cs
- ComponentChangedEvent.cs
- SHA256Managed.cs
- HostedImpersonationContext.cs
- ActivityDesigner.cs
- TemplatedAdorner.cs
- IChannel.cs
- MimePart.cs
- ConfigurationStrings.cs
- PropertyGrid.cs
- ClockGroup.cs
- AutoGeneratedField.cs
- TableDetailsCollection.cs
- RadioButtonStandardAdapter.cs
- StreamResourceInfo.cs
- FlagPanel.cs
- ActiveXHelper.cs
- CodeMemberEvent.cs
- RightsManagementInformation.cs
- CapabilitiesRule.cs
- ProcessRequestArgs.cs
- RepeaterDesigner.cs
- ToolStripDropDownClosingEventArgs.cs
- ExtensionSurface.cs
- ConnectionStringsExpressionEditor.cs
- SelectManyQueryOperator.cs
- odbcmetadatacolumnnames.cs
- SchemaElementDecl.cs
- DurationConverter.cs
- ButtonFieldBase.cs
- PopupEventArgs.cs
- OleServicesContext.cs
- TemplateAction.cs
- FormsIdentity.cs
- TextContainerChangedEventArgs.cs
- StringComparer.cs
- WebPartsPersonalizationAuthorization.cs
- WindowsToolbarItemAsMenuItem.cs
- TextMetrics.cs
- SqlStream.cs
- ImageMap.cs
- ApplicationDirectory.cs
- DataRelation.cs
- MimeTypeMapper.cs
- User.cs
- TextComposition.cs
- FrameworkContentElement.cs
- ChangeConflicts.cs
- ETagAttribute.cs
- ComponentResourceKey.cs
- DSACryptoServiceProvider.cs
- ClassValidator.cs
- SymbolEqualComparer.cs
- IResourceProvider.cs
- SplayTreeNode.cs
- Encoder.cs
- SqlInternalConnectionTds.cs
- OperationBehaviorAttribute.cs
- ADRoleFactoryConfiguration.cs
- XmlTypeAttribute.cs
- NativeWindow.cs
- FontNamesConverter.cs
- Deserializer.cs
- SqlDataSourceSummaryPanel.cs
- TraceContext.cs
- StrokeCollectionConverter.cs
- DataMember.cs
- InternalSafeNativeMethods.cs
- HashHelper.cs
- LineServicesCallbacks.cs
- FrameDimension.cs
- XmlIlVisitor.cs
- HostedHttpRequestAsyncResult.cs
- HtmlInputCheckBox.cs
- ISAPIApplicationHost.cs
- AccessDataSourceView.cs
- NavigationFailedEventArgs.cs
- Message.cs
- EncodingNLS.cs
- MethodSet.cs
- ProvidePropertyAttribute.cs
- MimeXmlReflector.cs
- VirtualPathUtility.cs
- EntityDataSourceUtil.cs
- StorageMappingItemCollection.cs
- ExpressionPrinter.cs