Exemplo n.º 1
0
		/// ------------------------------------------------------------------------------------
		/// <summary>
		/// Create and initializes a new sidebar/info. bar adapter. - from FwMainWnd.cs
		/// </summary>
		/// ------------------------------------------------------------------------------------
		protected void CreateSideBarInfoBarAdapter()
		{
			m_sibAdapter = AdapterHelper.CreateSideBarInfoBarAdapter();

			if (m_sibAdapter != null)
				m_sibAdapter.Initialize(this/*m_sideBarContainer*/, m_infoBarContainer, m_mediator);
		}
Exemplo n.º 2
0
		public void SetUp()
		{
			m_mediator = new Mediator();
			m_parent = new Panel();

			m_sibAdapter = new SIBAdapter();
			Debug.Assert(m_sibAdapter != null);
			m_sibAdapter.Initialize(m_parent, m_infoBarContainer, m_mediator);
		}