Esempio n. 1
0
 public virtual RectShape CreateRectangle()
 {
     RectShape newRect = new RectShape();
     newRect.Style.FillStyleInfo = BackgroundStyle;
     newRect.Style.LineStyleInfo = BorderStyle;
     return newRect;
 }
Esempio n. 2
0
 void InitControl()
 {
     MyShapeControl = new RectShape();
     MyShapeControl.Size.Set(
         MyShapeControl.Style.FontStyleInfo.Font.SpaceCharSize.X,
         MyShapeControl.Style.FontStyleInfo.Font.SpaceCharSize.Y);
     MyShapeControl.Layout();
 }