Ejemplo n.º 1
0
 protected virtual void OnBoardUIResize(BoardUIResizeEventArgs e)
 {
     if (BoardUIResize != null)
     {
         BoardUIResize(this, e);
     }
 }
Ejemplo n.º 2
0
        // perform necessary resize and relocation of this particular instance
        protected internal void ResizingRelocationBind(object sender, BoardUIResizeEventArgs e)
        {
            // IMPORTANT

            // RESIZING
            this.Width  = BoardUI.ColumnDisplayUnit;
            this.Height = BoardUI.RowDisplayUnit;

            // RELOCATION
            Relocate();
        }