public object Clone() { WellsMetroStyleManager newStyleManager = new WellsMetroStyleManager(); newStyleManager.metroTheme = Theme; newStyleManager.metroStyle = Style; return(newStyleManager); }
public object Clone(ContainerControl owner) { WellsMetroStyleManager clonedManager = Clone() as WellsMetroStyleManager; if (owner is IWellsMetroForm) { clonedManager.Owner = owner; } return(clonedManager); }