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
- RoutedEventValueSerializer.cs
- ObjectListSelectEventArgs.cs
- OperationResponse.cs
- Visitors.cs
- DecoderBestFitFallback.cs
- PathFigure.cs
- StylusPointPropertyInfo.cs
- SmtpNtlmAuthenticationModule.cs
- ArraySegment.cs
- WebPartHelpVerb.cs
- _ChunkParse.cs
- XmlSerializationGeneratedCode.cs
- ToolStripItemClickedEventArgs.cs
- HttpContextBase.cs
- AssertFilter.cs
- Keywords.cs
- XPathMessageFilter.cs
- BoundField.cs
- TextAction.cs
- SafeReversePInvokeHandle.cs
- StringAnimationUsingKeyFrames.cs
- SystemTcpConnection.cs
- FtpCachePolicyElement.cs
- DataGridViewCellConverter.cs
- _ProxyChain.cs
- UserControlDesigner.cs
- NativeBuffer.cs
- RuntimeHandles.cs
- WasHttpModulesInstallComponent.cs
- SafeArrayTypeMismatchException.cs
- SQLConvert.cs
- RegionData.cs
- ParentQuery.cs
- DBNull.cs
- WindowsBrush.cs
- PageAsyncTask.cs
- smtpconnection.cs
- ModelFunctionTypeElement.cs
- SplashScreenNativeMethods.cs
- Symbol.cs
- cryptoapiTransform.cs
- PropertyPanel.cs
- ElementsClipboardData.cs
- NavigationCommands.cs
- XmlSchemas.cs
- ExpressionEditorAttribute.cs
- CodeArrayIndexerExpression.cs
- XamlWrappingReader.cs
- DbBuffer.cs
- CFStream.cs
- ToolStripContainer.cs
- UpdateException.cs
- MatrixAnimationUsingPath.cs
- WebPartConnectionsConnectVerb.cs
- AdornerPresentationContext.cs
- XMLSchema.cs
- EntryPointNotFoundException.cs
- AnnotationResource.cs
- HostedTcpTransportManager.cs
- RoutedUICommand.cs
- UpdatableGenericsFeature.cs
- MobileSysDescriptionAttribute.cs
- SelectionItemPattern.cs
- EmptyReadOnlyDictionaryInternal.cs
- QilInvoke.cs
- LicFileLicenseProvider.cs
- WebPartZoneCollection.cs
- FixedDocument.cs
- DuplicateDetector.cs
- MetadataItemCollectionFactory.cs
- CssClassPropertyAttribute.cs
- ArgumentNullException.cs
- LinkLabelLinkClickedEvent.cs
- BulletChrome.cs
- HebrewCalendar.cs
- BinaryWriter.cs
- DocumentReference.cs
- CharConverter.cs
- WebPartConnectionsEventArgs.cs
- Group.cs
- ReplyChannel.cs
- SimpleApplicationHost.cs
- MailMessageEventArgs.cs
- ApplicationServiceHelper.cs
- ECDiffieHellmanCngPublicKey.cs
- LineServicesCallbacks.cs
- MobileListItemCollection.cs
- ControlSerializer.cs
- GeneralTransform.cs
- ProxyBuilder.cs
- AQNBuilder.cs
- BindingSource.cs
- InboundActivityHelper.cs
- QueueAccessMode.cs
- AddressHeader.cs
- VirtualDirectoryMapping.cs
- DrawingImage.cs
- Misc.cs
- MembershipValidatePasswordEventArgs.cs
- TextCompositionEventArgs.cs