Example #1
0
 /// <summary>
 /// Clones the object.
 /// </summary>
 /// <returns>The cloned object.</returns>
 public override object Clone()
 {
     var newItem = new ThemePartClickable();
     newItem.Normal = this.Normal.Clone();
     newItem.Focused = this.Focused.Clone();
     newItem.MouseOver = this.MouseOver.Clone();
     newItem.Disabled = this.Disabled.Clone();
     newItem.MouseClicking = this.MouseClicking.Clone();
     return newItem;
 }
Example #2
0
        /// <summary>
        /// Clones the object.
        /// </summary>
        /// <returns>The cloned object.</returns>
        public override object Clone()
        {
            var newItem = new ThemePartClickable();

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