Example #1
0
 /// <summary>
 ///   Create an empty shell link object
 /// </summary>
 public ShellLink()
 {
     theShellLinkObject = new ShellLinkCoClass();
     shellLink = (IShellLink) theShellLinkObject;
     dataList = (IShellLinkDataList) theShellLinkObject;
     consoleProperties = new ConsoleProperties(this);
 }
Example #2
0
 /// <summary>
 ///   Create an empty shell link object
 /// </summary>
 public ShellLink()
 {
     theShellLinkObject = new ShellLinkCoClass();
     shellLink          = (IShellLink)theShellLinkObject;
     dataList           = (IShellLinkDataList)theShellLinkObject;
     consoleProperties  = new ConsoleProperties(this);
 }
Example #3
0
 ///<summary>
 ///  Makes a copy of another ConsoleProperty
 ///</summary>
 ///<remarks>
 ///  Note that the 'owner' field is not copied here.
 ///</remarks>
 public ConsoleProperties(ConsoleProperties another)
 {
     nt_console_props = another.nt_console_props;
     colorTable = new ColorTable(this);
 }
Example #4
0
 public object Clone()
 {
     var clone = new ConsoleProperties(this);
     return clone;
 }
Example #5
0
 internal ColorTable(ConsoleProperties owner)
 {
     this.owner = owner;
 }
Example #6
0
        public object Clone()
        {
            var clone = new ConsoleProperties(this);

            return(clone);
        }
Example #7
0
 ///<summary>
 ///  Makes a copy of another ConsoleProperty
 ///</summary>
 ///<remarks>
 ///  Note that the 'owner' field is not copied here.
 ///</remarks>
 public ConsoleProperties(ConsoleProperties another)
 {
     nt_console_props = another.nt_console_props;
     colorTable       = new ColorTable(this);
 }