Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / 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. ///
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- GridItem.cs
- XmlSchemaExporter.cs
- BindToObject.cs
- SizeAnimationClockResource.cs
- MissingSatelliteAssemblyException.cs
- WinFormsUtils.cs
- FragmentQueryProcessor.cs
- StopStoryboard.cs
- Stack.cs
- TrackBar.cs
- SecurityToken.cs
- ColumnWidthChangedEvent.cs
- SynchronizingStream.cs
- CodeDomConfigurationHandler.cs
- CodeMethodInvokeExpression.cs
- SqlTriggerAttribute.cs
- MetadataHelper.cs
- ContextStaticAttribute.cs
- WindowsFormsHelpers.cs
- DataPagerFieldCommandEventArgs.cs
- Registry.cs
- ObjectReaderCompiler.cs
- XmlTypeAttribute.cs
- MultiPartWriter.cs
- FullTextBreakpoint.cs
- TextViewSelectionProcessor.cs
- SecurityException.cs
- followingsibling.cs
- SQLInt64.cs
- PowerModeChangedEventArgs.cs
- XsdBuilder.cs
- AddInContractAttribute.cs
- DragCompletedEventArgs.cs
- WorkflowRuntimeSection.cs
- Rotation3D.cs
- SafeProcessHandle.cs
- figurelengthconverter.cs
- DecoderExceptionFallback.cs
- CopyAttributesAction.cs
- Trigger.cs
- SafePEFileHandle.cs
- StylusDownEventArgs.cs
- DecoderFallback.cs
- DataGridViewTextBoxCell.cs
- XXXInfos.cs
- RTTrackingProfile.cs
- GeometryConverter.cs
- CollectionViewGroupInternal.cs
- TextServicesCompartment.cs
- WebEventCodes.cs
- StringArrayConverter.cs
- HashCodeCombiner.cs
- SiteMapHierarchicalDataSourceView.cs
- TextAnchor.cs
- ButtonPopupAdapter.cs
- UserNameServiceElement.cs
- RelationalExpressions.cs
- KeyFrames.cs
- OperatingSystem.cs
- StrokeNodeOperations.cs
- GridViewColumn.cs
- IgnorePropertiesAttribute.cs
- BinaryWriter.cs
- TableLayoutColumnStyleCollection.cs
- ProcessModelInfo.cs
- NonSerializedAttribute.cs
- SymLanguageType.cs
- SQLStringStorage.cs
- SmiEventSink.cs
- SourceFileBuildProvider.cs
- ProcessMessagesAsyncResult.cs
- CallbackWrapper.cs
- TypeListConverter.cs
- BasicViewGenerator.cs
- EntityParameterCollection.cs
- HMAC.cs
- X509RawDataKeyIdentifierClause.cs
- MethodRental.cs
- TypefaceCollection.cs
- MouseCaptureWithinProperty.cs
- Style.cs
- SByteStorage.cs
- HandleExceptionArgs.cs
- DataGridViewLayoutData.cs
- ToolStripMenuItemDesigner.cs
- TypeUnloadedException.cs
- UrlMappingCollection.cs
- Block.cs
- QueryOperationResponseOfT.cs
- Input.cs
- SqlFacetAttribute.cs
- TitleStyle.cs
- DrawItemEvent.cs
- Control.cs
- ReferenceConverter.cs
- ResourceDisplayNameAttribute.cs
- SafeRegistryHandle.cs
- compensatingcollection.cs
- ColumnWidthChangedEvent.cs
- ConnectionProviderAttribute.cs