ZForge.Controls.HeaderPanelNativeMethods.RECT.FromRectangle C# (CSharp) Méthode

FromRectangle() public static méthode

public static FromRectangle ( Rectangle rect ) : System.Windows.Forms.RECT
rect System.Drawing.Rectangle
Résultat System.Windows.Forms.RECT
            public static RECT FromRectangle(Rectangle rect)
            {
                return new RECT(rect.Left,
                                 rect.Top,
                                 rect.Right,
                                 rect.Bottom);
            }
HeaderPanelNativeMethods.RECT