상속: 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);
		}