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
- CatalogZoneBase.cs
- PrintingPermission.cs
- _HeaderInfo.cs
- HttpModulesSection.cs
- ConstraintStruct.cs
- SerializableAttribute.cs
- BinaryFormatterWriter.cs
- TemplateControl.cs
- TransformerInfoCollection.cs
- NullReferenceException.cs
- XmlSchemaProviderAttribute.cs
- ControlUtil.cs
- CredentialCache.cs
- Stack.cs
- DependencyPropertyAttribute.cs
- XmlElementAttribute.cs
- SchemaTableColumn.cs
- InternalDuplexChannelListener.cs
- CreateRefExpr.cs
- StylusPlugInCollection.cs
- ClrProviderManifest.cs
- PrimitiveSchema.cs
- BindingCollection.cs
- FontInfo.cs
- X509CertificateCollection.cs
- TypeResolver.cs
- SessionStateContainer.cs
- GroupBoxRenderer.cs
- NullReferenceException.cs
- PartialTrustVisibleAssembliesSection.cs
- Win32.cs
- ResumeStoryboard.cs
- TableItemPatternIdentifiers.cs
- RelatedImageListAttribute.cs
- ServicePointManager.cs
- SpellerError.cs
- UInt32Converter.cs
- BufferBuilder.cs
- ToolStripSeparator.cs
- CRYPTPROTECT_PROMPTSTRUCT.cs
- DateTimeValueSerializerContext.cs
- ReflectionTypeLoadException.cs
- ConnectionPoint.cs
- PreloadedPackages.cs
- BindingEntityInfo.cs
- MeasureItemEvent.cs
- ButtonFieldBase.cs
- TextRunTypographyProperties.cs
- ReferenceEqualityComparer.cs
- DecimalConstantAttribute.cs
- TypeRestriction.cs
- ConfigurationStrings.cs
- WebConfigurationManager.cs
- ConnectorSelectionGlyph.cs
- KeyManager.cs
- AsyncDataRequest.cs
- DataContext.cs
- FileNotFoundException.cs
- CmsInterop.cs
- SimpleBitVector32.cs
- ProcessModelSection.cs
- SrgsElementFactory.cs
- UnmanagedMemoryStreamWrapper.cs
- CollectionViewGroupRoot.cs
- FixedDocumentPaginator.cs
- XamlParser.cs
- DataDocumentXPathNavigator.cs
- DataGridSortCommandEventArgs.cs
- OleDbConnection.cs
- ServiceDesigner.xaml.cs
- RoutedEventConverter.cs
- MobileUserControlDesigner.cs
- LicenseContext.cs
- TextRangeAdaptor.cs
- StructuralType.cs
- HMAC.cs
- Decimal.cs
- CompositeFontInfo.cs
- Debugger.cs
- CodeEventReferenceExpression.cs
- EntityWithKeyStrategy.cs
- GacUtil.cs
- DesignerAutoFormatStyle.cs
- EdmFunctions.cs
- ApplicationException.cs
- RenderingEventArgs.cs
- DesignTimeTemplateParser.cs
- CodeCatchClause.cs
- InvokeHandlers.cs
- Splitter.cs
- ToolBarDesigner.cs
- RSAOAEPKeyExchangeDeformatter.cs
- FtpCachePolicyElement.cs
- XmlText.cs
- DbFunctionCommandTree.cs
- WebServiceEnumData.cs
- TraceContextEventArgs.cs
- FlowPosition.cs
- ExpressionLexer.cs
- DrawingDrawingContext.cs