public void CopyFrom(ActiveWindowMatch old) { Active = old.Active; title = new MatchDescription(old.Title); className = new MatchDescription(old.ClassName); imageName = new MatchDescription(old.ImageName); }
public void CopyFrom(PadLayout old) { Rows = old.rows; Columns = old.Columns; Width = old.Width; Height = old.Height; Name = old.name; buttons.Clear(); ID = old.id; foreach (var b in old.Buttons) { buttons.Add(new ButtonDescription(b)); } Color = old.Color; WindowMatch = new ActiveWindowMatch(old.WindowMatch); }
public ActiveWindowMatch(ActiveWindowMatch old) { CopyFrom(old); }