Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- SafeFileMappingHandle.cs
- IdentityReference.cs
- CultureSpecificStringDictionary.cs
- ApplyImportsAction.cs
- DependencySource.cs
- ImageMapEventArgs.cs
- SymLanguageType.cs
- Color.cs
- securitycriticaldataformultiplegetandset.cs
- DefaultBindingPropertyAttribute.cs
- XsltConvert.cs
- HttpAsyncResult.cs
- ScrollBar.cs
- ItemChangedEventArgs.cs
- TrackBarRenderer.cs
- XmlHelper.cs
- RefreshEventArgs.cs
- VirtualizedCellInfoCollection.cs
- HttpClientCertificate.cs
- LabelAutomationPeer.cs
- ContainerParagraph.cs
- BooleanStorage.cs
- TypeBuilder.cs
- OutputCacheModule.cs
- CodeAttributeArgumentCollection.cs
- Merger.cs
- MethodImplAttribute.cs
- MLangCodePageEncoding.cs
- _ListenerRequestStream.cs
- ToolStripContainerDesigner.cs
- CustomAttributeBuilder.cs
- PropertyItemInternal.cs
- SmiEventSink_DeferedProcessing.cs
- ChangePassword.cs
- ViewLoader.cs
- DependencyObjectCodeDomSerializer.cs
- DataControlPagerLinkButton.cs
- HtmlPanelAdapter.cs
- MenuItemBinding.cs
- FixedSOMTableRow.cs
- ButtonBase.cs
- Decorator.cs
- DocobjHost.cs
- Matrix3D.cs
- UrlMappingCollection.cs
- KeyFrames.cs
- ImageBrush.cs
- CodeDOMProvider.cs
- RectangleF.cs
- AssociationTypeEmitter.cs
- DBParameter.cs
- PixelFormat.cs
- Base64Decoder.cs
- WebPartConnectionsConfigureVerb.cs
- FormatterServices.cs
- DomainUpDown.cs
- DataAccessException.cs
- Decimal.cs
- PointHitTestResult.cs
- QualifiedCellIdBoolean.cs
- TagMapCollection.cs
- FileDataSourceCache.cs
- SqlBinder.cs
- MappingException.cs
- oledbmetadatacollectionnames.cs
- SqlConnectionPoolProviderInfo.cs
- LinkDescriptor.cs
- AndCondition.cs
- SharedStatics.cs
- METAHEADER.cs
- entitydatasourceentitysetnameconverter.cs
- InvalidCastException.cs
- RtfToXamlReader.cs
- ListViewSortEventArgs.cs
- WebBrowsableAttribute.cs
- PopOutPanel.cs
- GenericXmlSecurityToken.cs
- DateTimeFormat.cs
- DocumentsTrace.cs
- DataColumnPropertyDescriptor.cs
- CustomActivityDesigner.cs
- CapabilitiesUse.cs
- KeyInfo.cs
- MSAANativeProvider.cs
- NativeMethods.cs
- MethodRental.cs
- FolderBrowserDialog.cs
- LineMetrics.cs
- UnsafeNativeMethods.cs
- BitmapEffectInputConnector.cs
- MetabaseSettingsIis7.cs
- TextTreeObjectNode.cs
- CodeSubDirectoriesCollection.cs
- SchemaObjectWriter.cs
- ServiceRouteHandler.cs
- PageCopyCount.cs
- Animatable.cs
- SafeEventLogWriteHandle.cs
- CreateRefExpr.cs
- CapabilitiesRule.cs