Пример #1
0
 public BottomFrame createBottomFrame()
 {
     BottomFrame bottomFrame = new BottomFrame(this.Game,
         ConstantFrame.BOTTOM_PANEL_LEFT_BORDER, //x
         heightDisplay - ConstantFrame.BOTTOM_PANEL_HEIGHT * (bottomFrameList.Count + 1),
         widthDisplay - ConstantFrame.BOTTOM_PANEL_LEFT_BORDER - ConstantFrame.BOTTOM_PANEL_RIGHT_BORDER,// width
         ConstantFrame.BOTTOM_PANEL_HEIGHT, //height
         "",
         ConstantFrame.COLOR_BOTTOM_FRAME,
         bottomFrameList.Count
         );
     return bottomFrame;
 }
Пример #2
0
 public void AddBottomFrame(BottomFrame bottomFrame)
 {
     bottomFrameList.Add(bottomFrame);
     this.Add(bottomFrame);
 }