Inheritance: SIL.FieldWorks.Common.RootSites.RootSiteControl
示例#1
0
 private void SetRootSite()
 {
     m_rootsite = new TryAWordRootSite(m_cache, m_mediator)
     {
         Dock = DockStyle.Top
     };
     m_sandboxPanel.Controls.Add(m_rootsite);
     m_rootsite.SizeChanged += m_rootsite_SizeChanged;
     if (m_sandboxPanel.Height != m_rootsite.Height)
     {
         m_sandboxPanel.Height = m_rootsite.Height;
     }
 }
示例#2
0
 private void SetRootSite()
 {
     m_rootsite = new TryAWordRootSite(m_cache, m_mediator);
     //m_rootsite.Location = new Point(m_cbDoTrace.Location.X + 15, m_cbDoTrace.Location.Y + 20);
     //m_rootsite.Size = new Size(Width - 25, (m_lblResults.Location.Y - m_rootsite.Location.Y));
     m_rootsite.Dock = DockStyle.Top;
     //m_rootsite.AutoSize = true;
     //m_rootsite.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowOnly;
     m_pnlSandbox.Controls.Add(m_rootsite);
     m_rootsite.SizeChanged += new EventHandler(m_rootsite_SizeChanged);
     if (m_pnlSandbox.Height != m_rootsite.Height)
     {
         m_pnlSandbox.Height = m_rootsite.Height;
     }
     //m_lblResults.Location = new Point(m_lblResults.Location.X, m_rootsite.Location.Y + m_rootsite.Height + 15);
 }
示例#3
0
		private void SetRootSite()
		{
			m_rootsite = new TryAWordRootSite(m_cache, m_mediator) { Dock = DockStyle.Top };
			m_sandboxPanel.Controls.Add(m_rootsite);
			m_rootsite.SizeChanged += m_rootsite_SizeChanged;
			if (m_sandboxPanel.Height != m_rootsite.Height)
				m_sandboxPanel.Height = m_rootsite.Height;
		}
示例#4
0
		private void SetRootSite()
		{
			m_rootsite = new TryAWordRootSite(m_cache, m_mediator);
			//m_rootsite.Location = new Point(m_cbDoTrace.Location.X + 15, m_cbDoTrace.Location.Y + 20);
			//m_rootsite.Size = new Size(Width - 25, (m_lblResults.Location.Y - m_rootsite.Location.Y));
			m_rootsite.Dock = DockStyle.Top;
			//m_rootsite.AutoSize = true;
			//m_rootsite.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowOnly;
			m_pnlSandbox.Controls.Add(m_rootsite);
			m_rootsite.SizeChanged += new EventHandler(m_rootsite_SizeChanged);
			if (m_pnlSandbox.Height != m_rootsite.Height)
				m_pnlSandbox.Height = m_rootsite.Height;
			//m_lblResults.Location = new Point(m_lblResults.Location.X, m_rootsite.Location.Y + m_rootsite.Height + 15);
		}