public NiShell(IServiceProvider serviceProvider)
: base(serviceProvider)
{
_env = (NiEnv)GetService(typeof(INiEnv));
((IServiceContainer)GetService(typeof(IServiceContainer))).AddService(
typeof(INiQuerySave),
this
);
Application.AddMessageFilter(new MessageFilter(this));
MouseWheelMessageFilter.Install();
_synchronizationContext = SynchronizationContext.Current;
QueueRequery();
_automationAccessButton = CreateAutomationAccessButton();
}