Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / WinForms / Managed / System / WinForms / MdiWindowListItemConverter.cs / 1305376 / 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
- DelayedRegex.cs
- UIElementParaClient.cs
- ExpressionQuoter.cs
- PropertyTab.cs
- SystemIPv6InterfaceProperties.cs
- TemplateBuilder.cs
- exports.cs
- EntryPointNotFoundException.cs
- WebZone.cs
- ClientCredentials.cs
- PermissionAttributes.cs
- PartitionResolver.cs
- AttributeTable.cs
- FrameworkElementFactoryMarkupObject.cs
- BitStack.cs
- ApplicationServiceManager.cs
- ToolStripHighContrastRenderer.cs
- StickyNoteHelper.cs
- GridItemPatternIdentifiers.cs
- LoginUtil.cs
- _UriTypeConverter.cs
- OdbcDataAdapter.cs
- CommandSet.cs
- RedBlackList.cs
- DataControlField.cs
- Material.cs
- XslCompiledTransform.cs
- PersonalizationStateInfoCollection.cs
- DataGridViewColumnEventArgs.cs
- NamespaceEmitter.cs
- Internal.cs
- GridViewPageEventArgs.cs
- XmlElementAttribute.cs
- Grant.cs
- PolyQuadraticBezierSegmentFigureLogic.cs
- MailBnfHelper.cs
- Roles.cs
- CodeCastExpression.cs
- TrackingLocation.cs
- UrlAuthFailedErrorFormatter.cs
- EntitySetBase.cs
- MimeTypePropertyAttribute.cs
- DataGridViewRowPostPaintEventArgs.cs
- ApplicationFileCodeDomTreeGenerator.cs
- WasAdminWrapper.cs
- NamedElement.cs
- InputLangChangeRequestEvent.cs
- ConfigUtil.cs
- XamlTypeMapper.cs
- ListComponentEditor.cs
- FloaterParaClient.cs
- Oci.cs
- CommentEmitter.cs
- ReadOnlyDataSource.cs
- XmlWrappingWriter.cs
- MenuScrollingVisibilityConverter.cs
- BitSet.cs
- DropDownList.cs
- HtmlInputButton.cs
- KoreanCalendar.cs
- XmlSerializerSection.cs
- AutomationElement.cs
- _SecureChannel.cs
- ViewKeyConstraint.cs
- JoinCqlBlock.cs
- WebPartDisplayModeCancelEventArgs.cs
- PartialList.cs
- ActivationArguments.cs
- EventDescriptor.cs
- SqlProvider.cs
- Image.cs
- RotateTransform.cs
- StringCollection.cs
- MarshalByRefObject.cs
- StrongName.cs
- MsmqReceiveParameters.cs
- BaseTemplateParser.cs
- MaskDesignerDialog.cs
- CSharpCodeProvider.cs
- ActivitySurrogateSelector.cs
- ObjectTypeMapping.cs
- UrlAuthorizationModule.cs
- CqlParserHelpers.cs
- MaskedTextBox.cs
- DocumentPageHost.cs
- ColumnClickEvent.cs
- DataGridViewButtonColumn.cs
- CopyAction.cs
- ProgressBarAutomationPeer.cs
- CompiledRegexRunnerFactory.cs
- HttpListenerElement.cs
- List.cs
- AtomMaterializerLog.cs
- TreeNodeBindingCollection.cs
- XmlRawWriter.cs
- AsyncPostBackTrigger.cs
- TailCallAnalyzer.cs
- TokenBasedSet.cs
- ApplicationFileCodeDomTreeGenerator.cs
- Rotation3DKeyFrameCollection.cs