ARCed.Dialogs.ColorChooserForm.GroupBoxRGBCollapseBoxClickedEvent C# (CSharp) Метод

GroupBoxRGBCollapseBoxClickedEvent() приватный Метод

private GroupBoxRGBCollapseBoxClickedEvent ( object sender ) : void
sender object
Результат void
        private void GroupBoxRGBCollapseBoxClickedEvent(object sender)
        {
            int y = (this.groupBoxRGB.FullHeight - this.groupBoxRGB.CollapsedHeight);
            if (this.groupBoxRGB.IsCollapsed) y *= -1;
            Size = new Size(Width, Height + y);
            this.groupBoxHSV.Location = new Point(this.groupBoxHSV.Location.X,
                this.groupBoxHSV.Location.Y + y);
            this.panelAlpha.Location = new Point(this.panelAlpha.Location.X,
                this.panelAlpha.Location.Y + y);
        }