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
- TextModifierScope.cs
- OleDbRowUpdatedEvent.cs
- RecordBuilder.cs
- ResourceContainer.cs
- _NegotiateClient.cs
- AssemblyBuilderData.cs
- BamlRecords.cs
- ListViewItemMouseHoverEvent.cs
- NameNode.cs
- DefaultValidator.cs
- PasswordRecovery.cs
- Collection.cs
- SettingsPropertyWrongTypeException.cs
- QueryComponents.cs
- XmlNotation.cs
- TextBoxRenderer.cs
- ObjectDisposedException.cs
- SymbolEqualComparer.cs
- NamespaceQuery.cs
- Transform3D.cs
- EditCommandColumn.cs
- MulticastOption.cs
- WebConfigurationManager.cs
- GenerateScriptTypeAttribute.cs
- WebAdminConfigurationHelper.cs
- Typeface.cs
- IApplicationTrustManager.cs
- XmlSchemaExporter.cs
- IndexerNameAttribute.cs
- FrugalList.cs
- xsdvalidator.cs
- PngBitmapDecoder.cs
- SystemIcmpV6Statistics.cs
- GeometryGroup.cs
- ItemDragEvent.cs
- SchemaTypeEmitter.cs
- _BasicClient.cs
- PersistenceIOParticipant.cs
- CleanUpVirtualizedItemEventArgs.cs
- ServicePoint.cs
- mediaclock.cs
- DesignerActionVerbItem.cs
- MouseDevice.cs
- precedingsibling.cs
- WindowAutomationPeer.cs
- EventlogProvider.cs
- NativeMethods.cs
- MDIControlStrip.cs
- SharedStatics.cs
- WindowsFormsDesignerOptionService.cs
- GridViewSortEventArgs.cs
- Label.cs
- GridToolTip.cs
- SkewTransform.cs
- PrimitiveXmlSerializers.cs
- EncryptedPackageFilter.cs
- AsyncResult.cs
- ConnectionConsumerAttribute.cs
- RuntimeConfig.cs
- GenericTypeParameterBuilder.cs
- FormViewPagerRow.cs
- ToolboxItem.cs
- Track.cs
- ViewgenContext.cs
- Win32.cs
- ThicknessAnimationUsingKeyFrames.cs
- ObjectConverter.cs
- WorkflowHostingEndpoint.cs
- Document.cs
- errorpatternmatcher.cs
- ClientConvert.cs
- HttpModulesInstallComponent.cs
- GlobalProxySelection.cs
- NavigateEvent.cs
- TextSelectionHighlightLayer.cs
- WebPartVerbsEventArgs.cs
- OleDbDataReader.cs
- StyleCollectionEditor.cs
- InfoCardRSAOAEPKeyExchangeFormatter.cs
- SQLDoubleStorage.cs
- TextReader.cs
- MailWebEventProvider.cs
- JournalEntryStack.cs
- TemplatedWizardStep.cs
- SymDocumentType.cs
- FontSourceCollection.cs
- ForceCopyBuildProvider.cs
- BitConverter.cs
- DBParameter.cs
- XamlInterfaces.cs
- NullToBooleanConverter.cs
- ConfigXmlText.cs
- MessageSmuggler.cs
- ManagementQuery.cs
- Cursor.cs
- webclient.cs
- HtmlPanelAdapter.cs
- ToolStripDropDown.cs
- ErrorEventArgs.cs
- pingexception.cs