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
- PathData.cs
- WebContext.cs
- PartitionResolver.cs
- ListViewDataItem.cs
- ClientUrlResolverWrapper.cs
- MaterialGroup.cs
- Rect.cs
- Vector3dCollection.cs
- InfoCardTraceRecord.cs
- TrackingRecord.cs
- ActivityDesignerHelper.cs
- ConfigXmlWhitespace.cs
- DataRowCollection.cs
- CatalogPartChrome.cs
- CustomAttributeSerializer.cs
- MinMaxParagraphWidth.cs
- MessageHeaders.cs
- ColorMatrix.cs
- EventlogProvider.cs
- ResXDataNode.cs
- _ShellExpression.cs
- CallInfo.cs
- MessageCredentialType.cs
- ResourceBinder.cs
- CodeDirectionExpression.cs
- Identifier.cs
- DataGridViewColumnDesignTimeVisibleAttribute.cs
- StorageMappingFragment.cs
- InstanceOwner.cs
- WindowsListView.cs
- TextAnchor.cs
- WindowsRichEditRange.cs
- DefaultPropertyAttribute.cs
- StringDictionaryWithComparer.cs
- StylusDevice.cs
- IApplicationTrustManager.cs
- RunWorkerCompletedEventArgs.cs
- Switch.cs
- PeerReferralPolicy.cs
- EntityDesignerBuildProvider.cs
- AbsoluteQuery.cs
- BrushMappingModeValidation.cs
- ConstructorArgumentAttribute.cs
- DataViewSettingCollection.cs
- XamlToRtfWriter.cs
- OperandQuery.cs
- webbrowsersite.cs
- Double.cs
- EncodingInfo.cs
- KeyInterop.cs
- ComUdtElement.cs
- SqlFunctionAttribute.cs
- LocalizedNameDescriptionPair.cs
- ThousandthOfEmRealPoints.cs
- RtfControls.cs
- DataControlHelper.cs
- IntranetCredentialPolicy.cs
- AttachInfo.cs
- CancelEventArgs.cs
- complextypematerializer.cs
- TemplateModeChangedEventArgs.cs
- GridViewColumnHeader.cs
- EventWaitHandleSecurity.cs
- TextBoxLine.cs
- RSAPKCS1SignatureDeformatter.cs
- RequestQueryProcessor.cs
- VectorCollectionValueSerializer.cs
- PropertyGeneratedEventArgs.cs
- XamlReaderHelper.cs
- BindingList.cs
- UnaryNode.cs
- StringSorter.cs
- ColorConvertedBitmapExtension.cs
- EncoderNLS.cs
- MapPathBasedVirtualPathProvider.cs
- indexingfiltermarshaler.cs
- InkCanvasFeedbackAdorner.cs
- CodeAccessPermission.cs
- XmlElementList.cs
- PanelStyle.cs
- BinaryFormatterWriter.cs
- MetadataItemCollectionFactory.cs
- WebControlsSection.cs
- XmlExpressionDumper.cs
- CommandHelpers.cs
- ThreadSafeList.cs
- ComponentCommands.cs
- ItemCheckedEvent.cs
- SmiXetterAccessMap.cs
- AsymmetricAlgorithm.cs
- CombinedGeometry.cs
- InternalBufferOverflowException.cs
- TagPrefixAttribute.cs
- SubqueryRules.cs
- StructureChangedEventArgs.cs
- GridView.cs
- FieldAccessException.cs
- LogConverter.cs
- FixedBufferAttribute.cs
- DbBuffer.cs