Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- __Filters.cs
- BufferedReadStream.cs
- QuaternionAnimation.cs
- SafeViewOfFileHandle.cs
- LongCountAggregationOperator.cs
- ImageListUtils.cs
- CallbackWrapper.cs
- SmtpCommands.cs
- HtmlInputHidden.cs
- parserscommon.cs
- BitmapMetadataEnumerator.cs
- InheritedPropertyChangedEventArgs.cs
- StreamReader.cs
- WebBrowserUriTypeConverter.cs
- StreamWriter.cs
- FixedSOMSemanticBox.cs
- EventLogPermissionAttribute.cs
- AxWrapperGen.cs
- SQLByteStorage.cs
- CodeNamespace.cs
- DbCommandDefinition.cs
- Mapping.cs
- StickyNoteHelper.cs
- newinstructionaction.cs
- InternalRelationshipCollection.cs
- InterleavedZipPartStream.cs
- ConfigurationSettings.cs
- SafeTimerHandle.cs
- XmlSchemaSequence.cs
- PKCS1MaskGenerationMethod.cs
- InstanceCreationEditor.cs
- CellConstantDomain.cs
- AttributeEmitter.cs
- XamlStream.cs
- UniformGrid.cs
- SiteMapNode.cs
- OutputCacheSection.cs
- RegexParser.cs
- TextBoxRenderer.cs
- MD5.cs
- Quaternion.cs
- ListViewInsertedEventArgs.cs
- RegexCompiler.cs
- WorkflowApplicationAbortedEventArgs.cs
- ContentValidator.cs
- ImagingCache.cs
- ContextStack.cs
- TaskFileService.cs
- LassoSelectionBehavior.cs
- RealProxy.cs
- CompilerGeneratedAttribute.cs
- TextDocumentView.cs
- PagedDataSource.cs
- SafeArrayTypeMismatchException.cs
- ItemContainerGenerator.cs
- GradientStopCollection.cs
- MemoryFailPoint.cs
- ADRoleFactoryConfiguration.cs
- ParserHooks.cs
- Hashtable.cs
- DynamicDataRoute.cs
- XmlSerializerSection.cs
- PageThemeBuildProvider.cs
- BitSet.cs
- OracleRowUpdatedEventArgs.cs
- WSSecurityJan2004.cs
- ConstraintEnumerator.cs
- WindowsListViewItem.cs
- Invariant.cs
- FontEmbeddingManager.cs
- Activator.cs
- InternalEnumValidator.cs
- DoubleCollectionValueSerializer.cs
- Rotation3DKeyFrameCollection.cs
- AssemblyCache.cs
- Vector3DCollectionValueSerializer.cs
- List.cs
- CircleHotSpot.cs
- IntermediatePolicyValidator.cs
- TimeStampChecker.cs
- DataRowChangeEvent.cs
- FormViewPageEventArgs.cs
- PropertyCollection.cs
- TableCellAutomationPeer.cs
- WebZone.cs
- DesignerObjectListAdapter.cs
- CommonObjectSecurity.cs
- RijndaelCryptoServiceProvider.cs
- RemoteCryptoDecryptRequest.cs
- XpsSerializerWriter.cs
- ModifiableIteratorCollection.cs
- ObjectSecurity.cs
- sitestring.cs
- SHA384Managed.cs
- ListItem.cs
- IIS7UserPrincipal.cs
- MatrixAnimationUsingPath.cs
- CompilationLock.cs
- TableRowCollection.cs
- CodeNamespace.cs