public static void Draw() { if (!NativeMethods.TwDraw()) { throw new AntTweakBarException("TwDraw failed."); } }