public GDISurface ( int width, int height, |
||
width | int | |
height | int | |
CompatibleControl | ||
BindControl | bool | |
return | System |
public GDISurface(int width, int height, Control CompatibleControl, bool BindControl)
{
IntPtr hDCControk = NativeMethods.ControlDC(CompatibleControl);
Init(width, height, hDCControk);
NativeMethods.ReleaseDC(CompatibleControl.Handle, hDCControk);
if (BindControl)
{
Control = CompatibleControl;
}
Create();
}
GDISurface::GDISurface ( |
|
GDISurface::GDISurface ( int width, int height, |
|
GDISurface::GDISurface ( int width, int height, |