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

Here are the examples of the csharp api class System.Windows.Forms.Control.PointToScreen(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
public Point PointToScreen(Point p)
        {
            if (parent != null)
                p = parent.PointToScreen(p);

            var localuwfOffset = uwfOffset;

            p.Offset(x + localuwfOffset.X, y + localuwfOffset.Y);
            return p;
        }

2. Example

Project: Unity-WinForms
Source File: Control.cs
View license
internal virtual void RaiseOnPaint(PaintEventArgs e)
        {
            uwfBatches = 0;

        /n ..... /n //View Source file for more details /n }