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
- WebHttpSecurity.cs
- StickyNoteAnnotations.cs
- XmlSigningNodeWriter.cs
- DataServiceCollectionOfT.cs
- WebDisplayNameAttribute.cs
- SerializationAttributes.cs
- PropertyConverter.cs
- EncoderNLS.cs
- AttributeUsageAttribute.cs
- Effect.cs
- RoutedEventConverter.cs
- InvokeGenerator.cs
- XmlNodeChangedEventManager.cs
- MenuItemBinding.cs
- TaskFileService.cs
- FormViewCommandEventArgs.cs
- SizeF.cs
- CollectionEditor.cs
- HttpListenerException.cs
- ZipFileInfo.cs
- ObjectTokenCategory.cs
- XmlLanguageConverter.cs
- DesignTimeResourceProviderFactoryAttribute.cs
- ApplicationId.cs
- Utils.cs
- BackStopAuthenticationModule.cs
- SoapAttributeOverrides.cs
- SortFieldComparer.cs
- ParenExpr.cs
- DataGridViewAutoSizeColumnModeEventArgs.cs
- ApplicationManager.cs
- OleServicesContext.cs
- XsltArgumentList.cs
- ObjectDataSourceEventArgs.cs
- DataGridViewRowHeightInfoNeededEventArgs.cs
- TextBoxBase.cs
- MergePropertyDescriptor.cs
- ToolBarButton.cs
- BuildDependencySet.cs
- OciLobLocator.cs
- GPStream.cs
- QueryModel.cs
- UIInitializationException.cs
- MarshalByRefObject.cs
- TableLayoutPanel.cs
- RijndaelManagedTransform.cs
- ApplicationInfo.cs
- CodeConditionStatement.cs
- WmlTextViewAdapter.cs
- DataGridTableCollection.cs
- URIFormatException.cs
- DesignerCategoryAttribute.cs
- CanExecuteRoutedEventArgs.cs
- FontDriver.cs
- LinearKeyFrames.cs
- CompilerState.cs
- TreeView.cs
- ConsumerConnectionPoint.cs
- EntityDataSourceViewSchema.cs
- WinInetCache.cs
- DbReferenceCollection.cs
- NullableDoubleMinMaxAggregationOperator.cs
- ArrangedElementCollection.cs
- MethodAccessException.cs
- ProxyElement.cs
- CharConverter.cs
- Expr.cs
- MailMessage.cs
- MonitorWrapper.cs
- CellIdBoolean.cs
- PerspectiveCamera.cs
- SystemIPGlobalStatistics.cs
- FormClosingEvent.cs
- CaseExpr.cs
- CqlLexerHelpers.cs
- XmlValidatingReaderImpl.cs
- TypeValidationEventArgs.cs
- ServiceOperationListItem.cs
- DropSourceBehavior.cs
- XmlObjectSerializerReadContextComplexJson.cs
- DataSourceXmlSerializer.cs
- DataGridClipboardHelper.cs
- EventTrigger.cs
- documentsequencetextview.cs
- dataprotectionpermission.cs
- CompilationPass2TaskInternal.cs
- ExpressionEditorAttribute.cs
- DbMetaDataCollectionNames.cs
- SecurityManager.cs
- MetaModel.cs
- PreProcessor.cs
- MouseGesture.cs
- SqlRowUpdatingEvent.cs
- DockProviderWrapper.cs
- TextRangeEdit.cs
- RuleInfoComparer.cs
- StrokeRenderer.cs
- PathFigure.cs
- SafeThreadHandle.cs
- DrawingAttributes.cs