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
- UnsafeNativeMethods.cs
- WindowsAuthenticationModule.cs
- MarshalDirectiveException.cs
- SubpageParagraph.cs
- PropertyTabAttribute.cs
- XsltSettings.cs
- TextHidden.cs
- MenuItemBinding.cs
- X509SubjectKeyIdentifierClause.cs
- DependsOnAttribute.cs
- HtmlCommandAdapter.cs
- DeflateStream.cs
- PixelFormat.cs
- FocusChangedEventArgs.cs
- NegatedCellConstant.cs
- OleDbParameter.cs
- SmiRequestExecutor.cs
- BaseDataList.cs
- SQLGuid.cs
- RegexStringValidator.cs
- SqlConnectionManager.cs
- MetadataItemSerializer.cs
- DataGridViewRowsRemovedEventArgs.cs
- Scripts.cs
- Types.cs
- _OverlappedAsyncResult.cs
- DoubleAnimationBase.cs
- TwoPhaseCommitProxy.cs
- RectConverter.cs
- SchemaTableColumn.cs
- ReceiveSecurityHeaderEntry.cs
- ServiceX509SecurityTokenProvider.cs
- AutomationProperties.cs
- HMACRIPEMD160.cs
- RolePrincipal.cs
- ScrollProperties.cs
- PartialToken.cs
- TokenBasedSet.cs
- HScrollProperties.cs
- HttpAsyncResult.cs
- BigInt.cs
- RuleSetDialog.cs
- shaperfactory.cs
- DispatchWrapper.cs
- CheckableControlBaseAdapter.cs
- StrokeDescriptor.cs
- ScrollChrome.cs
- SelectionList.cs
- SafeNativeMethods.cs
- ReferenceConverter.cs
- WebDescriptionAttribute.cs
- EntityModelSchemaGenerator.cs
- CustomWebEventKey.cs
- XmlSchemaNotation.cs
- BaseTemplateBuildProvider.cs
- UIElementCollection.cs
- SecurityElement.cs
- DelegatingConfigHost.cs
- FactoryRecord.cs
- StylusButtonEventArgs.cs
- PropertyGeneratedEventArgs.cs
- shaperfactory.cs
- EntityDataSourceSelectingEventArgs.cs
- DefaultValueTypeConverter.cs
- WinCategoryAttribute.cs
- TimeSpanValidator.cs
- X509ChainPolicy.cs
- CounterCreationData.cs
- ClientUrlResolverWrapper.cs
- PageStatePersister.cs
- DeflateEmulationStream.cs
- ZipPackagePart.cs
- ConnectionPointCookie.cs
- NativeObjectSecurity.cs
- UniqueIdentifierService.cs
- ResXResourceWriter.cs
- FileLogRecord.cs
- BitmapEffectDrawingContextWalker.cs
- NullableDoubleAverageAggregationOperator.cs
- ObjectQueryExecutionPlan.cs
- AuthorizationRuleCollection.cs
- RSAPKCS1KeyExchangeDeformatter.cs
- WindowsToolbarItemAsMenuItem.cs
- BinarySerializer.cs
- ChildrenQuery.cs
- SqlLiftWhereClauses.cs
- RegexTypeEditor.cs
- WebBrowserHelper.cs
- HtmlElementCollection.cs
- ZipIOExtraFieldZip64Element.cs
- ExpressionDumper.cs
- SingleAnimationUsingKeyFrames.cs
- WindowsSlider.cs
- Function.cs
- EnumMemberAttribute.cs
- ToggleProviderWrapper.cs
- SymmetricAlgorithm.cs
- ClientType.cs
- SrgsRuleRef.cs
- WeakEventTable.cs