Exemplo n.º 1
0
        private void ArrangeControls()
        {
            BtnDelete.Location = new Point(3, (Height - BtnDelete.Height) / 2);
            BtnUp.Location     = new Point(Width - BtnUp.Width - 3, Height / 2 - BtnUp.Height);
            BtnDown.Location   = new Point(Width - BtnDown.Width - 3, Height / 2);

            var left = BtnDelete.Right + 3;

            ItemsPanel.SetBounds(left, 0, BtnUp.Left - left - 3, Height);
        }