Beispiel #1
0
        public DisplayFormatter(IDisplay display, IPositionCalc calc, INotificationCenter notificationCenter, int width = 150, int height = 50)
        {
            _calc = calc;
            _notificationCenter = notificationCenter;

            Width    = width;
            Height   = height;
            _display = display;

            _display.BuildFrame(width, height);
        }
Beispiel #2
0
 public void SetSize(int width, int height)
 {
     Width  = width;
     Height = height;
     _display.BuildFrame(Width, Height);
 }