示例#1
0
 public void CopyFrom(ActiveWindowMatch old)
 {
     Active    = old.Active;
     title     = new MatchDescription(old.Title);
     className = new MatchDescription(old.ClassName);
     imageName = new MatchDescription(old.ImageName);
 }
示例#2
0
 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);
 }
示例#3
0
 public ActiveWindowMatch(ActiveWindowMatch old)
 {
     CopyFrom(old);
 }