MdiWindowListItemConverter.cs source code in C# .NET

Source code for the .NET framework in C#

                        

Code:

/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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) {
        } 

        ///  
        ///  
        /// 
        ///    Gets a collection of standard values for the data type this validator is 
        ///       designed for.
        /// 
        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; i
//     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) {
        } 

        ///  
        ///  
        /// 
        ///    Gets a collection of standard values for the data type this validator is 
        ///       designed for.
        /// 
        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; i

                        

Link Menu

Network programming in C#, Network Programming in VB.NET, Network Programming in .NET
This book is available now!
Buy at Amazon US or
Buy at Amazon UK