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
ファイル: TryAWordDlg.cs プロジェクト: bbriggs/FieldWorks
		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
ファイル: ParseWordDlg.cs プロジェクト: sillsdev/WorldPad
		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);
		}