Esempio n. 1
0
 /// <summary>
 /// Clones this object.
 /// </summary>
 /// <returns>The cloned object.</returns>
 public virtual object Clone()
 {
     var newItem = new ThemePartBase();
     newItem.Normal = this.Normal.Clone();
     newItem.Focused = this.Focused.Clone();
     newItem.MouseOver = this.MouseOver.Clone();
     newItem.Disabled = this.Disabled.Clone();
     return newItem;
 }
Esempio n. 2
0
        /// <summary>
        /// Clones this object.
        /// </summary>
        /// <returns>The cloned object.</returns>
        public virtual object Clone()
        {
            var newItem = new ThemePartBase();

            newItem.Normal    = this.Normal.Clone();
            newItem.Focused   = this.Focused.Clone();
            newItem.MouseOver = this.MouseOver.Clone();
            newItem.Disabled  = this.Disabled.Clone();
            return(newItem);
        }