Microsoft.ManagementConsole.FormView.MouseActivate C# (CSharp) Method

MouseActivate() private method

private MouseActivate ( IntPtr topLevelWindow, int hitTestResult ) : void
topLevelWindow System.IntPtr
hitTestResult int
return void
        internal void MouseActivate(IntPtr topLevelWindow, int hitTestResult)
        {
            MouseActivateCommand command = new MouseActivateCommand();
            command.ViewInstanceId = base.ViewInstanceId;
            command.TopLevelWindow = topLevelWindow;
            command.HitTestResult = hitTestResult;
            ISnapInPlatform snapInPlatform = base.SnapIn.SnapInPlatform;
            if (snapInPlatform == null)
            {
                throw new InvalidOperationException(Microsoft.ManagementConsole.Internal.Utility.LoadResourceString(Microsoft.ManagementConsole.Internal.Strings.ExceptionCommonSnapInPlatformIsNull));
            }
            snapInPlatform.ProcessCommand(command);
        }