PropertyGridCommands.cs source code in C# .NET

Source code for the .NET framework in C#

                        

Code:

/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / WinForms / Managed / System / WinForms / PropertyGridInternal / PropertyGridCommands.cs / 1305376 / PropertyGridCommands.cs

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

/* 
 */ 
namespace System.Windows.Forms.PropertyGridInternal {
 
    using System.Diagnostics;
    using System;
    using System.ComponentModel.Design;
    using Microsoft.Win32; 

    ///  
    ///  
    ///     This class contains the set of menu commands our property browser
    ///     uses. 
    /// 
    [System.Security.Permissions.PermissionSetAttribute(System.Security.Permissions.SecurityAction.InheritanceDemand, Name="FullTrust")]
    [System.Security.Permissions.PermissionSetAttribute(System.Security.Permissions.SecurityAction.LinkDemand, Name="FullTrust")]
    public class PropertyGridCommands{ 

        ///  
        ///  
        ///      This guid corresponds to the menu grouping windows forms will use for its menus.  This is
        ///      defined in the windows forms menu CTC file, but we need it here so we can define what 
        ///      context menus to use.
        /// 
        protected static readonly Guid wfcMenuGroup = new Guid("{a72bd644-1979-4cbc-a620-ea4112198a66}");
 
        /// 
        ///  
        ///     This guid corresponds to the windows forms command set. 
        /// 
        protected static readonly Guid wfcMenuCommand = new Guid("{5a51cf82-7619-4a5d-b054-47f438425aa7}"); 

        /// 
        /// 
        ///    [To be supplied.] 
        /// 
        public static readonly CommandID Reset          = new CommandID(wfcMenuCommand, 0x3000); 
        ///  
        /// 
        ///    [To be supplied.] 
        /// 
        public static readonly CommandID Description    = new CommandID(wfcMenuCommand, 0x3001);
        /// 
        ///  
        ///    [To be supplied.]
        ///  
        public static readonly CommandID Hide           = new CommandID(wfcMenuCommand, 0x3002); 
        /// 
        ///  
        ///    [To be supplied.]
        /// 
        public static readonly CommandID Commands       = new CommandID(wfcMenuCommand, 0x3010);
    } 

} 

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

/* 
 */ 
namespace System.Windows.Forms.PropertyGridInternal {
 
    using System.Diagnostics;
    using System;
    using System.ComponentModel.Design;
    using Microsoft.Win32; 

    ///  
    ///  
    ///     This class contains the set of menu commands our property browser
    ///     uses. 
    /// 
    [System.Security.Permissions.PermissionSetAttribute(System.Security.Permissions.SecurityAction.InheritanceDemand, Name="FullTrust")]
    [System.Security.Permissions.PermissionSetAttribute(System.Security.Permissions.SecurityAction.LinkDemand, Name="FullTrust")]
    public class PropertyGridCommands{ 

        ///  
        ///  
        ///      This guid corresponds to the menu grouping windows forms will use for its menus.  This is
        ///      defined in the windows forms menu CTC file, but we need it here so we can define what 
        ///      context menus to use.
        /// 
        protected static readonly Guid wfcMenuGroup = new Guid("{a72bd644-1979-4cbc-a620-ea4112198a66}");
 
        /// 
        ///  
        ///     This guid corresponds to the windows forms command set. 
        /// 
        protected static readonly Guid wfcMenuCommand = new Guid("{5a51cf82-7619-4a5d-b054-47f438425aa7}"); 

        /// 
        /// 
        ///    [To be supplied.] 
        /// 
        public static readonly CommandID Reset          = new CommandID(wfcMenuCommand, 0x3000); 
        ///  
        /// 
        ///    [To be supplied.] 
        /// 
        public static readonly CommandID Description    = new CommandID(wfcMenuCommand, 0x3001);
        /// 
        ///  
        ///    [To be supplied.]
        ///  
        public static readonly CommandID Hide           = new CommandID(wfcMenuCommand, 0x3002); 
        /// 
        ///  
        ///    [To be supplied.]
        /// 
        public static readonly CommandID Commands       = new CommandID(wfcMenuCommand, 0x3010);
    } 

} 

// File provided for Reference Use Only by Microsoft Corporation (c) 2007.

                        

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