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
- FrameworkContentElement.cs
- XmlILIndex.cs
- ComponentDispatcher.cs
- EventProperty.cs
- BitStack.cs
- XmlSchemaValidationException.cs
- WebPartDescription.cs
- WebPartVerbsEventArgs.cs
- BridgeDataRecord.cs
- AccessibilityApplicationManager.cs
- XPathAncestorQuery.cs
- ShapingEngine.cs
- ColumnReorderedEventArgs.cs
- FontSizeConverter.cs
- SQLMoneyStorage.cs
- ConstructorExpr.cs
- PointAnimationClockResource.cs
- IndexedString.cs
- Encoder.cs
- TimeSpanHelper.cs
- Utils.cs
- DataBindEngine.cs
- Vector.cs
- OleDbConnectionFactory.cs
- LinearGradientBrush.cs
- PriorityQueue.cs
- TreeNodeCollection.cs
- FigureHelper.cs
- HttpWrapper.cs
- ColorMap.cs
- AttributeConverter.cs
- DataGridViewCellFormattingEventArgs.cs
- ProxyAttribute.cs
- Translator.cs
- DataGridViewCellLinkedList.cs
- ScriptingAuthenticationServiceSection.cs
- HtmlListAdapter.cs
- SchemaTypeEmitter.cs
- RenderingEventArgs.cs
- WebPartVerb.cs
- TemplateBamlRecordReader.cs
- ErrorWrapper.cs
- SerializationObjectManager.cs
- PropertiesTab.cs
- BitmapPalettes.cs
- SafeRightsManagementHandle.cs
- InfoCardTraceRecord.cs
- SerializerDescriptor.cs
- assertwrapper.cs
- xmlfixedPageInfo.cs
- ToolStripItemImageRenderEventArgs.cs
- DllNotFoundException.cs
- DrawingGroupDrawingContext.cs
- ToolStripProfessionalLowResolutionRenderer.cs
- SchemaNamespaceManager.cs
- ToolStripSeparator.cs
- CorrelationQueryBehavior.cs
- IdnMapping.cs
- WebPartsSection.cs
- WindowsSlider.cs
- Relationship.cs
- DES.cs
- ScrollEvent.cs
- RootProfilePropertySettingsCollection.cs
- XmlDocumentSchema.cs
- PostBackTrigger.cs
- DesignerForm.cs
- FileDataSourceCache.cs
- DefaultBindingPropertyAttribute.cs
- System.Data_BID.cs
- ComponentDispatcher.cs
- TreeViewCancelEvent.cs
- SocketInformation.cs
- PrintPreviewControl.cs
- WmpBitmapEncoder.cs
- LogRecordSequence.cs
- WindowsTokenRoleProvider.cs
- Cursor.cs
- TransformerTypeCollection.cs
- SqlErrorCollection.cs
- RTLAwareMessageBox.cs
- ParallelTimeline.cs
- PathSegment.cs
- AssemblyFilter.cs
- EntityWrapperFactory.cs
- EntityDataSourceSelectedEventArgs.cs
- COM2ComponentEditor.cs
- SafeCoTaskMem.cs
- ProgressBar.cs
- DesignSurfaceCollection.cs
- FocusTracker.cs
- Fault.cs
- TdsParserSessionPool.cs
- TreeNodeStyleCollection.cs
- NameValueConfigurationElement.cs
- Region.cs
- UDPClient.cs
- AppDomainGrammarProxy.cs
- SByte.cs
- WindowsAuthenticationEventArgs.cs