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
- LocationSectionRecord.cs
- WebColorConverter.cs
- SHA256Managed.cs
- Serializer.cs
- ResolvedKeyFrameEntry.cs
- RegularExpressionValidator.cs
- XmlSortKeyAccumulator.cs
- HtmlImageAdapter.cs
- AssemblyCacheEntry.cs
- InternalSendMessage.cs
- WindowsSlider.cs
- PasswordBoxAutomationPeer.cs
- ResourceDefaultValueAttribute.cs
- GradientBrush.cs
- CompressEmulationStream.cs
- SHA384.cs
- SoapSchemaImporter.cs
- ProfilePropertyNameValidator.cs
- LowerCaseStringConverter.cs
- Script.cs
- Dispatcher.cs
- LineMetrics.cs
- FileDialog.cs
- ProfilePropertyNameValidator.cs
- IdentityModelStringsVersion1.cs
- XmlDataSource.cs
- AppDomainCompilerProxy.cs
- XmlMapping.cs
- Lazy.cs
- ApplicationBuildProvider.cs
- DetailsViewUpdatedEventArgs.cs
- ServiceContractGenerator.cs
- HostedElements.cs
- MergeLocalizationDirectives.cs
- DeviceSpecificDialogCachedState.cs
- MouseButton.cs
- OracleColumn.cs
- ToolStripItemCollection.cs
- DependencyPropertyKey.cs
- DecoderBestFitFallback.cs
- Stopwatch.cs
- IISUnsafeMethods.cs
- AttributeUsageAttribute.cs
- CompositionDesigner.cs
- DbConnectionPoolCounters.cs
- mediapermission.cs
- CustomLineCap.cs
- BulletedListDesigner.cs
- TypeToken.cs
- ProcessProtocolHandler.cs
- MenuItem.cs
- RoleManagerEventArgs.cs
- ColorConvertedBitmap.cs
- InvalidProgramException.cs
- ThreadStaticAttribute.cs
- DbMetaDataColumnNames.cs
- TypeSemantics.cs
- AdapterUtil.cs
- NavigationPropertyEmitter.cs
- TerminateSequence.cs
- LicenseManager.cs
- SmtpTransport.cs
- CommandEventArgs.cs
- ResourcePermissionBaseEntry.cs
- FakeModelItemImpl.cs
- Visual.cs
- ToolboxComponentsCreatingEventArgs.cs
- MenuItemBinding.cs
- RegexWriter.cs
- HtmlInputControl.cs
- querybuilder.cs
- XmlCharCheckingWriter.cs
- ConnectionInterfaceCollection.cs
- GlyphTypeface.cs
- ADRoleFactoryConfiguration.cs
- Semaphore.cs
- StatusCommandUI.cs
- UInt32.cs
- DoubleAnimationClockResource.cs
- MouseCaptureWithinProperty.cs
- BitmapMetadataBlob.cs
- DataGridViewCellContextMenuStripNeededEventArgs.cs
- MouseGestureValueSerializer.cs
- MimeMultiPart.cs
- SimpleWorkerRequest.cs
- InfoCardRSAPKCS1KeyExchangeFormatter.cs
- AxisAngleRotation3D.cs
- ProviderIncompatibleException.cs
- ScrollChrome.cs
- QueryPageSettingsEventArgs.cs
- DeviceContext2.cs
- AssemblyBuilder.cs
- DbExpressionBuilder.cs
- OneOfScalarConst.cs
- ChtmlTextWriter.cs
- UntrustedRecipientException.cs
- GridViewCommandEventArgs.cs
- ToolStripDropDownClosedEventArgs.cs
- WindowsRichEdit.cs
- ImageMetadata.cs