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
- MatcherBuilder.cs
- ListViewDataItem.cs
- SSmlParser.cs
- SmtpReplyReader.cs
- StringOutput.cs
- ProfilePropertyNameValidator.cs
- Hash.cs
- Int16.cs
- UIElement3D.cs
- PlanCompiler.cs
- ResponseStream.cs
- DivideByZeroException.cs
- AuthenticationSection.cs
- EllipseGeometry.cs
- RoleService.cs
- RenderData.cs
- GridSplitter.cs
- XmlSchemaException.cs
- MetadataPropertyAttribute.cs
- CompositeKey.cs
- NetDataContractSerializer.cs
- TextDecorationCollection.cs
- XmlSchemaObjectCollection.cs
- ArraySet.cs
- TextRunProperties.cs
- TreeView.cs
- UnaryNode.cs
- SoapSchemaExporter.cs
- AstTree.cs
- TreeNodeSelectionProcessor.cs
- FlowDocumentPaginator.cs
- CheckBoxBaseAdapter.cs
- QilPatternVisitor.cs
- ImageSource.cs
- PersonalizationState.cs
- BitmapEffect.cs
- _ConnectOverlappedAsyncResult.cs
- InternalConfigEventArgs.cs
- ByteAnimationBase.cs
- ConstraintConverter.cs
- GC.cs
- CryptoApi.cs
- ConditionalAttribute.cs
- Window.cs
- SendMailErrorEventArgs.cs
- AttributeCollection.cs
- AudienceUriMode.cs
- GlyphTypeface.cs
- ControlBuilder.cs
- ProfileSettingsCollection.cs
- ConfigXmlCDataSection.cs
- Stylus.cs
- HtmlTableCell.cs
- JavaScriptObjectDeserializer.cs
- XamlContextStack.cs
- BreakRecordTable.cs
- XComponentModel.cs
- SizeKeyFrameCollection.cs
- ListControlActionList.cs
- AQNBuilder.cs
- BamlLocalizableResource.cs
- RotateTransform.cs
- HoistedLocals.cs
- Line.cs
- TextBoxLine.cs
- ValuePattern.cs
- BatchStream.cs
- FactoryRecord.cs
- PathFigureCollection.cs
- UIServiceHelper.cs
- ValidatorCollection.cs
- CaseCqlBlock.cs
- GifBitmapDecoder.cs
- ColumnProvider.cs
- Attributes.cs
- DataGridTablesFactory.cs
- XPathEmptyIterator.cs
- BuilderInfo.cs
- ResourceProviderFactory.cs
- XmlEntityReference.cs
- MenuAutomationPeer.cs
- ServiceNameCollection.cs
- KerberosSecurityTokenProvider.cs
- FixedDocumentPaginator.cs
- Statements.cs
- OdbcDataAdapter.cs
- TypeElement.cs
- future.cs
- DropDownList.cs
- DataSysAttribute.cs
- SafeHandles.cs
- DLinqAssociationProvider.cs
- EventLogPermissionEntry.cs
- ContentDefinition.cs
- DesignerSerializationVisibilityAttribute.cs
- AppDomainFactory.cs
- Transform.cs
- PointHitTestParameters.cs
- RequestQueryParser.cs
- DropDownList.cs