Ejemplo n.º 1
0
 public void AddWin(WinBase win)
 {
     SubWinList?.Add(win); //主板中subWinList可能包含子板和元件
     win.Parent = this;
     if (win is MarkPoint)
     {
         AddMarkPoint(win as MarkPoint);
     }
     else if (win is CheckWinBase)
     {
         AddCheckWin(win as CheckWinBase);
     }
 }
Ejemplo n.º 2
0
 public void AddWin(WinBase win, Point Location)
 {
     win.ShowShape.ShiftCenterTo(Location);
     SubWinList?.Add(win);
     win.Parent = this;
     if (win is MarkPoint)
     {
         AddMarkPoint(win as MarkPoint);
     }
     else if (win is CheckWinBase)
     {
         AddCheckWin(win as CheckWinBase);
     }
 }
Ejemplo n.º 3
0
 public void AddWin(WinBase win, Point Location)
 {
     win.ShowShape.ShiftCenterTo(Location);
     SubWinList?.Add(win);
     win.Parent = this;
 }