DesignerCommandSet.cs source code in C# .NET

Source code for the .NET framework in C#

                        

Code:

/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / Designer / CompMod / System / ComponentModel / Design / DesignerCommandSet.cs / 1 / DesignerCommandSet.cs

                            //------------------------------------------------------------------------------ 
// 
//     Copyright (c) Microsoft Corporation.  All rights reserved.
// 
//----------------------------------------------------------------------------- 

namespace System.ComponentModel.Design { 
 
    using System;
    using System.Collections; 
    using System.ComponentModel;

    /// 
    ///  
    ///     [to be provided]
    ///  
    public class DesignerCommandSet { 

        ///  
        /// 
        ///     [to be provided]
        /// 
        public virtual ICollection GetCommands(string name) { 
            return null;
        } 
 
/*
        public DesignerActionList CreateVerbsActionList() { 
            DesignerActionList result = null;
            DesignerVerbCollection verbs = Verbs;
            if(verbs != null) {
                DesignerVerb[] verbsArray = new DesignerVerb[verbs.Count]; 
                verbs.CopyTo(verbsArray, 0);
                result = new DesignerActionVerbList(verbsArray); 
            } 
            return result;
        } 
        */

        /// 
        ///  
        ///     [to be provided]
        ///  
        public DesignerVerbCollection Verbs { 
            get {
                return (DesignerVerbCollection)GetCommands("Verbs"); 
            }
        }

        ///  
        /// 
        ///     [to be provided] 
        ///  
        public DesignerActionListCollection ActionLists {
            get { 
                return (DesignerActionListCollection)GetCommands("ActionLists");
            }
        }
    } 
}
 

// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
// Copyright (c) Microsoft Corporation. All rights reserved.


                        

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