System.Windows.Forms.Control.ParentResized(Point)

Here are the examples of the csharp api class System.Windows.Forms.Control.ParentResized(Point) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

2 Examples 7

1. Example

Project: Unity-WinForms
Source File: Control.cs
View license
internal virtual void uwfAddjustSizeToScreen(Size delta)
        {
            ParentResized(new Point(delta.Width, delta.Height));
        }

2. Example

Project: Unity-WinForms
Source File: Control.cs
View license
private void ResizeChilds(Point delta)
        {
            if (delta == Point.Empty) return;
            if (Controls == null) return;

            for (int i = 0; i < Controls.Count; i++)
                Controls[i].ParentResized(delta);
        }