/// ------------------------------------------------------------------------------------ /// <summary> /// /// </summary> /// ------------------------------------------------------------------------------------ public SimpleRootSite() { // This call is required by the Windows.Forms Form Designer. InitializeComponent(); m_dxdLayoutWidth = kForceLayout; // Unlikely to be real current window width! m_wsPending = -1; BackColor = SystemColors.Window; //AllowScrolling = true; m_messageSequencer = new MessageSequencer(this); m_graphicsManager = CreateGraphicsManager(); m_orientationManager = CreateOrientationManager(); if (UIAutomationServerProviderFactory == null) UIAutomationServerProviderFactory = () => new SimpleRootSiteDataProvider(this); #if __MonoCS__ KeyboardController.Register(this, new IbusRootSiteEventHandler(this)); #endif }
/// ------------------------------------------------------------------------------------ /// <summary> /// /// </summary> /// ------------------------------------------------------------------------------------ public SimpleRootSite() { // This call is required by the Windows.Forms Form Designer. InitializeComponent(); m_dxdLayoutWidth = kForceLayout; // Unlikely to be real current window width! m_wsPending = -1; BackColor = SystemColors.Window; //AllowScrolling = true; m_messageSequencer = new MessageSequencer(this); m_graphicsManager = CreateGraphicsManager(); m_orientationManager = CreateOrientationManager(); }