BlockStudio.CustomControls.MessageBoxEx.Initialize C# (CSharp) 메소드

Initialize() 개인적인 정적인 메소드

private static Initialize ( ) : void
리턴 void
        private static void Initialize()
        {
            if (_hHook != IntPtr.Zero)
            {
                throw new NotSupportedException("multiple calls are not supported");
            }

            if (_owner != null)
            {
                _hHook = SetWindowsHookEx(WH_CALLWNDPROCRET, _hookProc, IntPtr.Zero, AppDomain.GetCurrentThreadId());
            }
        }