Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / Designer / WinForms / System / WinForms / Design / RadioButtonDesigner.cs / 1 / RadioButtonDesigner.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* */ namespace System.Windows.Forms.Design { using System; using System.Collections; using System.ComponentModel; using System.ComponentModel.Design; using System.Design; using System.Drawing; using System.Windows.Forms; using System.Diagnostics; ////// /// internal class RadioButtonDesigner: ButtonBaseDesigner { public override void InitializeNewComponent(IDictionary defaultValues) { base.InitializeNewComponent(defaultValues); // In Whidbey, default the TabStop to true. PropertyDescriptor prop = TypeDescriptor.GetProperties(Component)["TabStop"]; if (prop != null && prop.PropertyType == typeof(bool) && !prop.IsReadOnly && prop.IsBrowsable) { prop.SetValue(Component, true); } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved./// Provides a designer that can design components /// that extend ButtonBase. ///
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- PrintingPermissionAttribute.cs
- MetadataHelper.cs
- LogicalExpressionTypeConverter.cs
- RelAssertionDirectKeyIdentifierClause.cs
- MappingModelBuildProvider.cs
- InvocationExpression.cs
- XmlNodeReader.cs
- Int32RectValueSerializer.cs
- RangeBaseAutomationPeer.cs
- MetadataException.cs
- Avt.cs
- Connection.cs
- SQLBinary.cs
- QilInvoke.cs
- LicenseException.cs
- HitTestWithPointDrawingContextWalker.cs
- ToolBarTray.cs
- SkinBuilder.cs
- PersonalizableTypeEntry.cs
- MemberAssignmentAnalysis.cs
- SqlInfoMessageEvent.cs
- ColumnMapCopier.cs
- SourceChangedEventArgs.cs
- ConsoleCancelEventArgs.cs
- TextServicesCompartmentContext.cs
- ObjectDataSourceMethodEventArgs.cs
- SimpleType.cs
- CodePropertyReferenceExpression.cs
- SuppressIldasmAttribute.cs
- Command.cs
- TypeSystemHelpers.cs
- SqlInternalConnectionTds.cs
- SettingsSavedEventArgs.cs
- MULTI_QI.cs
- RuntimeConfigLKG.cs
- WindowsGraphicsCacheManager.cs
- Stroke2.cs
- CacheAxisQuery.cs
- ScriptManagerProxy.cs
- CompositeCollection.cs
- LOSFormatter.cs
- CompensationDesigner.cs
- InternalTypeHelper.cs
- WebPartConnectionsConnectVerb.cs
- _CookieModule.cs
- BindingSource.cs
- DetailsViewRow.cs
- SmtpAuthenticationManager.cs
- TextComposition.cs
- EdmEntityTypeAttribute.cs
- AutoResetEvent.cs
- KeyConstraint.cs
- SimpleParser.cs
- ExpressionBuilder.cs
- RecognizedAudio.cs
- AnnotationDocumentPaginator.cs
- QuerySubExprEliminator.cs
- ImplicitInputBrush.cs
- NGCSerializationManagerAsync.cs
- COM2Properties.cs
- MdiWindowListItemConverter.cs
- PathFigureCollectionConverter.cs
- SymmetricCryptoHandle.cs
- GenericEnumConverter.cs
- Activity.cs
- DirectionalLight.cs
- DataGridColumnReorderingEventArgs.cs
- FormattedTextSymbols.cs
- TextAutomationPeer.cs
- InlineObject.cs
- Error.cs
- RuleAction.cs
- InfoCardRSAPKCS1SignatureFormatter.cs
- TabItemAutomationPeer.cs
- StringCollection.cs
- ClaimSet.cs
- AssemblyHash.cs
- RTLAwareMessageBox.cs
- AssemblyAttributesGoHere.cs
- OleDbParameterCollection.cs
- ServiceDocument.cs
- PtsHelper.cs
- ToolZoneDesigner.cs
- ClientBuildManagerTypeDescriptionProviderBridge.cs
- mongolianshape.cs
- SqlFacetAttribute.cs
- NativeMethods.cs
- ISAPIWorkerRequest.cs
- Section.cs
- ThreadAttributes.cs
- SingleQueryOperator.cs
- DataControlButton.cs
- Variant.cs
- HostingEnvironmentWrapper.cs
- FastEncoder.cs
- Tokenizer.cs
- SimpleBitVector32.cs
- SqlDependencyUtils.cs
- ConfigXmlWhitespace.cs
- CompareInfo.cs