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
- PageBuildProvider.cs
- CodeEventReferenceExpression.cs
- WS2007HttpBinding.cs
- DataPointer.cs
- DataGridViewCellEventArgs.cs
- TemplateBindingExtension.cs
- AttributeCollection.cs
- EventWaitHandle.cs
- FtpRequestCacheValidator.cs
- Choices.cs
- ImageInfo.cs
- ThumbAutomationPeer.cs
- LightweightEntityWrapper.cs
- VisualStyleRenderer.cs
- SpinLock.cs
- CustomAttributeBuilder.cs
- MultiView.cs
- SqlDeflator.cs
- AssertFilter.cs
- RootBuilder.cs
- ContentDisposition.cs
- ToolStripPanel.cs
- RadialGradientBrush.cs
- RepeatButtonAutomationPeer.cs
- Schedule.cs
- XmlDocumentFragment.cs
- RegexWorker.cs
- WebControl.cs
- ProvidersHelper.cs
- ParserOptions.cs
- TableFieldsEditor.cs
- HttpApplication.cs
- SqlUnionizer.cs
- ContextDataSource.cs
- WsdlImporterElementCollection.cs
- XmlAggregates.cs
- MenuCommandService.cs
- ReadOnlyHierarchicalDataSource.cs
- _OverlappedAsyncResult.cs
- XmlSchemaException.cs
- HwndPanningFeedback.cs
- RectConverter.cs
- CollectionEditorDialog.cs
- JournalEntryStack.cs
- NamespaceEmitter.cs
- ParameterCollectionEditorForm.cs
- HttpCacheVary.cs
- ObjectStateEntry.cs
- MetadataArtifactLoaderResource.cs
- FixUp.cs
- ImmComposition.cs
- EndOfStreamException.cs
- GridSplitterAutomationPeer.cs
- LinqDataSourceInsertEventArgs.cs
- MailBnfHelper.cs
- QilTargetType.cs
- IResourceProvider.cs
- TextParagraph.cs
- FixedSOMPage.cs
- ListSourceHelper.cs
- SimpleTypeResolver.cs
- milrender.cs
- DynamicDataRouteHandler.cs
- TableRowCollection.cs
- ContextProperty.cs
- QueryableFilterUserControl.cs
- DynamicAttribute.cs
- SmiContextFactory.cs
- ObjectStorage.cs
- PhoneCall.cs
- Models.cs
- PageThemeParser.cs
- RemotingConfiguration.cs
- ISAPIApplicationHost.cs
- QilTargetType.cs
- FilePrompt.cs
- TextSpanModifier.cs
- ComEventsSink.cs
- BitArray.cs
- HttpConfigurationSystem.cs
- WindowsToolbarAsMenu.cs
- Renderer.cs
- TextSelectionProcessor.cs
- CfgParser.cs
- FontDifferentiator.cs
- RepeatBehavior.cs
- LambdaCompiler.cs
- DbSource.cs
- CorrelationQuery.cs
- StructuredTypeEmitter.cs
- EntityReference.cs
- KeyedCollection.cs
- FacetDescriptionElement.cs
- LinkLabelLinkClickedEvent.cs
- CalloutQueueItem.cs
- LinqDataSourceHelper.cs
- AssertFilter.cs
- TypographyProperties.cs
- ReadOnlyMetadataCollection.cs
- TdsParserHelperClasses.cs