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
- _CommandStream.cs
- SecurityTokenTypes.cs
- SafeEventLogReadHandle.cs
- FormView.cs
- CryptographicAttribute.cs
- SqlLiftIndependentRowExpressions.cs
- JobCollate.cs
- complextypematerializer.cs
- DataControlField.cs
- ImplicitInputBrush.cs
- DataChangedEventManager.cs
- InlineObject.cs
- MasterPage.cs
- WebPartUserCapability.cs
- SharedMemory.cs
- _Connection.cs
- AutomationAttributeInfo.cs
- ResourceAssociationTypeEnd.cs
- ResetableIterator.cs
- ReadContentAsBinaryHelper.cs
- WebBrowserBase.cs
- ToolStripRendererSwitcher.cs
- ObjectAnimationUsingKeyFrames.cs
- Matrix3DConverter.cs
- WmlMobileTextWriter.cs
- FamilyTypeface.cs
- GeneralTransform.cs
- PlaceHolder.cs
- RelationshipFixer.cs
- __FastResourceComparer.cs
- FixedTextPointer.cs
- Rfc2898DeriveBytes.cs
- BitmapSourceSafeMILHandle.cs
- SchemaNotation.cs
- SHA256Managed.cs
- GeometryCombineModeValidation.cs
- XamlRtfConverter.cs
- DataListComponentEditor.cs
- HandleRef.cs
- ApplicationDirectory.cs
- WindowsListViewGroupSubsetLink.cs
- ColorContextHelper.cs
- ObjectNotFoundException.cs
- WebPermission.cs
- AggregatePushdown.cs
- DSASignatureDeformatter.cs
- ResolvedKeyFrameEntry.cs
- ColorMatrix.cs
- GcSettings.cs
- Cursors.cs
- DataGridViewCellValidatingEventArgs.cs
- InputChannel.cs
- HostnameComparisonMode.cs
- WebPartPersonalization.cs
- PolyLineSegmentFigureLogic.cs
- Processor.cs
- HandleRef.cs
- ProvidePropertyAttribute.cs
- ActivityStatusChangeEventArgs.cs
- BaseHashHelper.cs
- XsdBuildProvider.cs
- WebPartMinimizeVerb.cs
- CompositeActivityTypeDescriptorProvider.cs
- HttpHandlerAction.cs
- ImageKeyConverter.cs
- Semaphore.cs
- SimpleFileLog.cs
- QilInvokeEarlyBound.cs
- Char.cs
- StrongNameSignatureInformation.cs
- DataDesignUtil.cs
- IndicShape.cs
- JsonFormatGeneratorStatics.cs
- CollectionContainer.cs
- LoginName.cs
- ValidatedControlConverter.cs
- metadatamappinghashervisitor.hashsourcebuilder.cs
- EtwTrace.cs
- ClickablePoint.cs
- SafeNativeMethods.cs
- ValueChangedEventManager.cs
- SQLMoneyStorage.cs
- PriorityItem.cs
- PointLight.cs
- ShimAsPublicXamlType.cs
- Point3DCollection.cs
- DataGridTemplateColumn.cs
- ServiceOperationDetailViewControl.cs
- InputLanguage.cs
- TextPointer.cs
- IFormattable.cs
- MenuCommandsChangedEventArgs.cs
- XsltQilFactory.cs
- UnsafeNativeMethodsTablet.cs
- OleDbDataAdapter.cs
- DeclaredTypeElementCollection.cs
- MenuScrollingVisibilityConverter.cs
- ObjectListFieldCollection.cs
- FloaterBaseParagraph.cs
- DefaultValueConverter.cs