AntTweakBar.Tw.RefreshBar C# (CSharp) Метод

RefreshBar() публичный статический Метод

Forces bar content to be updated. By default bar content is periodically refreshed when AntTweakBar.Tw.Draw is called (the update frequency is defined by the bar parameter refresh).
public static RefreshBar ( IntPtr bar ) : void
bar System.IntPtr Bar identifier.
Результат void
        public static void RefreshBar(IntPtr bar)
        {
            if (bar == IntPtr.Zero) {
                throw new ArgumentOutOfRangeException("bar");
            }

            if (!NativeMethods.TwRefreshBar(bar)) {
                throw new AntTweakBarException("TwRefreshBar failed.");
            }
        }