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