Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / WinForms / Managed / System / WinForms / MdiWindowListItemConverter.cs / 1 / MdiWindowListItemConverter.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Windows.Forms { using System; using System.ComponentModel; using System.Collections; internal class MdiWindowListItemConverter : ComponentConverter { public MdiWindowListItemConverter(Type type) : base(type) { } ////// /// /// public override StandardValuesCollection GetStandardValues(ITypeDescriptorContext context) { MenuStrip menu = context.Instance as MenuStrip; if (menu != null) { StandardValuesCollection values = base.GetStandardValues(context); ArrayList list = new ArrayList(); int count = values.Count; for (int i=0; iGets a collection of standard values for the data type this validator is /// designed for. ///// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Windows.Forms { using System; using System.ComponentModel; using System.Collections; internal class MdiWindowListItemConverter : ComponentConverter { public MdiWindowListItemConverter(Type type) : base(type) { } /// /// /// /// public override StandardValuesCollection GetStandardValues(ITypeDescriptorContext context) { MenuStrip menu = context.Instance as MenuStrip; if (menu != null) { StandardValuesCollection values = base.GetStandardValues(context); ArrayList list = new ArrayList(); int count = values.Count; for (int i=0; iGets a collection of standard values for the data type this validator is /// designed for. ///
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- Resources.Designer.cs
- DataGridViewCellMouseEventArgs.cs
- Action.cs
- FunctionImportElement.cs
- OuterGlowBitmapEffect.cs
- XamlReader.cs
- ListParagraph.cs
- StringFreezingAttribute.cs
- MexNamedPipeBindingElement.cs
- dbdatarecord.cs
- Helpers.cs
- WebPartZoneBase.cs
- FileLevelControlBuilderAttribute.cs
- Transform3DGroup.cs
- FollowerQueueCreator.cs
- odbcmetadatacolumnnames.cs
- WebServiceErrorEvent.cs
- DurableEnlistmentState.cs
- Int32.cs
- ObjectSet.cs
- RoleManagerEventArgs.cs
- FormsAuthenticationUserCollection.cs
- CollectionType.cs
- SqlServices.cs
- IgnoreDeviceFilterElement.cs
- RtType.cs
- ColumnHeader.cs
- SqlConnectionFactory.cs
- AudioFormatConverter.cs
- RegularExpressionValidator.cs
- Binding.cs
- XPathQilFactory.cs
- XPathAncestorQuery.cs
- SecurityCookieModeValidator.cs
- EnumerationRangeValidationUtil.cs
- Converter.cs
- SqlVersion.cs
- DataGridViewCellStyle.cs
- ReadOnlyAttribute.cs
- Icon.cs
- QueryAccessibilityHelpEvent.cs
- _AutoWebProxyScriptHelper.cs
- FileInfo.cs
- WebBrowserDocumentCompletedEventHandler.cs
- ConfigXmlElement.cs
- MD5CryptoServiceProvider.cs
- CompilerError.cs
- EnumerableCollectionView.cs
- DataGridDetailsPresenterAutomationPeer.cs
- XpsFilter.cs
- TileBrush.cs
- StylusPlugInCollection.cs
- DependencyPropertyKey.cs
- ClassHandlersStore.cs
- ConcatQueryOperator.cs
- AccessedThroughPropertyAttribute.cs
- UnicastIPAddressInformationCollection.cs
- ImportCatalogPart.cs
- MDIControlStrip.cs
- EventItfInfo.cs
- AutomationElement.cs
- FigureParagraph.cs
- ColorConverter.cs
- Rotation3D.cs
- XmlNullResolver.cs
- EventSetter.cs
- Accessible.cs
- TextBox.cs
- WindowsEditBoxRange.cs
- ValidationSummary.cs
- MenuCommand.cs
- EventLogPermission.cs
- TextCompositionManager.cs
- WindowsAuthenticationEventArgs.cs
- InstanceBehavior.cs
- CreateRefExpr.cs
- CodeDirectiveCollection.cs
- PersonalizationProviderHelper.cs
- AmbiguousMatchException.cs
- DataColumnCollection.cs
- ProfileGroupSettingsCollection.cs
- MissingMemberException.cs
- Mouse.cs
- sqlnorm.cs
- TextEndOfSegment.cs
- IArgumentProvider.cs
- _SslStream.cs
- NativeMethods.cs
- StreamWriter.cs
- StructuredTypeEmitter.cs
- CharacterMetricsDictionary.cs
- BaseCodePageEncoding.cs
- InkPresenter.cs
- DynamicResourceExtension.cs
- WorkflowInvoker.cs
- EntityDataSourceSelectedEventArgs.cs
- PiiTraceSource.cs
- InvalidEnumArgumentException.cs
- TrailingSpaceComparer.cs
- XmlValueConverter.cs