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
- BindingListCollectionView.cs
- Menu.cs
- SynchronizationLockException.cs
- elementinformation.cs
- FormsAuthenticationEventArgs.cs
- TreeViewAutomationPeer.cs
- PromptBuilder.cs
- UxThemeWrapper.cs
- ScrollableControl.cs
- DBCommandBuilder.cs
- IndexedDataBuffer.cs
- Int32RectValueSerializer.cs
- DocumentOrderComparer.cs
- PropertiesTab.cs
- SaveWorkflowAsyncResult.cs
- CriticalExceptions.cs
- ScrollContentPresenter.cs
- TraceUtils.cs
- EventsTab.cs
- HtmlLinkAdapter.cs
- ProgressBar.cs
- SafeNativeMethodsMilCoreApi.cs
- nulltextcontainer.cs
- HyperLinkDesigner.cs
- TabControlCancelEvent.cs
- BuiltInExpr.cs
- MDIWindowDialog.cs
- GlobalProxySelection.cs
- Gdiplus.cs
- CustomErrorCollection.cs
- XmlSerializationGeneratedCode.cs
- SqlDelegatedTransaction.cs
- InputMethod.cs
- InteropBitmapSource.cs
- EntityKey.cs
- WebPartConnectionsCancelEventArgs.cs
- HttpCacheVary.cs
- AdornerLayer.cs
- securitycriticaldataformultiplegetandset.cs
- PointHitTestResult.cs
- CopyAttributesAction.cs
- DocumentOrderQuery.cs
- PrintController.cs
- XmlChildNodes.cs
- LogConverter.cs
- KeyedQueue.cs
- SafeUserTokenHandle.cs
- AuthenticatedStream.cs
- MSG.cs
- WebScriptServiceHostFactory.cs
- XmlnsCache.cs
- MetadataItemSerializer.cs
- NavigateEvent.cs
- FontCacheLogic.cs
- wgx_render.cs
- Flattener.cs
- ValidationHelpers.cs
- Stroke.cs
- SoapEnumAttribute.cs
- LocalFileSettingsProvider.cs
- EmissiveMaterial.cs
- EmbeddedMailObject.cs
- TCEAdapterGenerator.cs
- AutomationIdentifier.cs
- OdbcConnection.cs
- DataGridViewLayoutData.cs
- Int32Collection.cs
- CancelEventArgs.cs
- SqlConnectionPoolProviderInfo.cs
- IWorkflowDebuggerService.cs
- CookieHandler.cs
- WebPartConnectionsDisconnectVerb.cs
- EntityContainerEntitySetDefiningQuery.cs
- WeakEventTable.cs
- NativeMethods.cs
- FlagsAttribute.cs
- Rectangle.cs
- PrintEvent.cs
- ObjectQuery_EntitySqlExtensions.cs
- WebPartDisplayModeCancelEventArgs.cs
- Transform.cs
- RightsManagementInformation.cs
- ToolStripContainer.cs
- dataprotectionpermission.cs
- URLString.cs
- ButtonChrome.cs
- XPathNode.cs
- SingleConverter.cs
- QilUnary.cs
- ComboBox.cs
- TemplateXamlTreeBuilder.cs
- ValueProviderWrapper.cs
- DecoderExceptionFallback.cs
- SQLInt64.cs
- MimeFormatExtensions.cs
- PopupEventArgs.cs
- ClientConfigurationHost.cs
- HashAlgorithm.cs
- OleDbWrapper.cs
- LayoutDump.cs