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

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

This function is intended to be used by applications with multiple graphical windows. It tells AntTweakBar to switch its current context to the context associated to the identifier windowID.
public static SetCurrentWindow ( int windowID ) : void
windowID int Window context identifier. This identifier could be any integer.
Результат void
        public static void SetCurrentWindow(int windowID)
        {
            if (!NativeMethods.TwSetCurrentWindow(windowID)) {
                throw new AntTweakBarException("TwSetCurrentWindow failed.");
            }
        }