ZForge.Controls.HeaderPanelNativeMethods.RECT.FromRectangle C# (CSharp) Method

FromRectangle() public static method

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