Ejemplo n.º 1
0
        public void ChangesMade()
        {
            SaveButton.Visible    = true;
            DiscardButton.Visible = true;

            int height = MainSplit.Panel1.Height;

            PlanStructure.Height = height - PlanStructure.Top - SaveButton.Height - 8;


            if (GuiUtils.IsRunningOnMono())
            {
                // buttons aren't positioned when they aren't visible
                SaveButton.Location    = new Point(Width - 156, height - 22);
                DiscardButton.Location = new Point(Width - 86, height - 22);
            }

            SaveButton.BringToFront();
            DiscardButton.BringToFront();
        }