public CProgressBar(CProgressBar pb) { _PartyModeID = pb._PartyModeID; _TextureBackground = pb.TextureBackground; _TextureForeground = pb.TextureForeground; _TextureProgressLeft = pb.TextureProgressLeft; _TextureProgressMid = pb._TextureProgressMid; _TextureProgressRight = pb._TextureProgressRight; _AnimateMovement = pb._AnimateMovement; _AnimateColoring = pb._AnimateColoring; _Direction = pb._Direction; _ProgressColors = pb._ProgressColors; ColorBackground = pb.ColorBackground; ColorForeground = pb.ColorForeground; MaxRect = pb.MaxRect; Reflection = pb.Reflection; ReflectionSpace = pb.ReflectionHeight; ReflectionHeight = pb.ReflectionSpace; AllMonitors = pb.AllMonitors; Alpha = pb.Alpha; Visible = pb.Visible; _AnimTimer = new Stopwatch(); }
public CProgressBar GetNewProgressBar(CProgressBar pb) { return(new CProgressBar(pb)); }
protected void _AddProgressBar(CProgressBar pb, String key = null) { _AddElement(_ProgressBars.Add(pb, key), EType.ProgressBar); }