void InitControl() { MyShapeControl = new RectShape(); MyShapeControl.Size.Set( MyShapeControl.Style.FontStyleInfo.Font.SpaceCharSize.X, MyShapeControl.Style.FontStyleInfo.Font.SpaceCharSize.Y); MyShapeControl.Layout(); }