public int Show() { WindowApi.RegisterPaintCallBack(_windowPtr, OnPaint); return(WindowApi.ShowWindow(_windowPtr)); }