Пример #1
0
        public void SetUp()
        {
            var bv = new FakeBrowseViewer();

            m_view = bv.m_xbv as FakeXmlBrowseViewBase;

            ConfigureScrollBars();
        }
Пример #2
0
		/// <summary/>
		public FakeBrowseViewer()
		{
			m_scrollBar = new VScrollBar();
			m_configureButton = new Button();
			m_lvHeader = new DhListView(this);
			m_scrollContainer = new BrowseViewScroller(this);

			// When running FieldWorks, the constructor eventually creates an XmlBrowseView and calls AddControl() with it,
			// and adds m_scrollContainer to Controls. Model this so the .Dispose methods can behave the same way when
			// testing as when running FieldWorks.
			Controls.Add(m_scrollContainer);
			m_xbv = new FakeXmlBrowseViewBase(this);
			AddControl(m_xbv);
		}
Пример #3
0
        /// <summary/>
        public FakeBrowseViewer()
        {
            m_scrollBar       = new VScrollBar();
            m_configureButton = new Button();
            m_lvHeader        = new DhListView(this);
            m_scrollContainer = new BrowseViewScroller(this);

            // When running FieldWorks, the constructor eventually creates an XmlBrowseView and calls AddControl() with it,
            // and adds m_scrollContainer to Controls. Model this so the .Dispose methods can behave the same way when
            // testing as when running FieldWorks.
            Controls.Add(m_scrollContainer);
            m_xbv = new FakeXmlBrowseViewBase(this);
            AddControl(m_xbv);
        }
Пример #4
0
		public void SetUp()
		{
			var bv = new FakeBrowseViewer();
			m_view = bv.m_xbv as FakeXmlBrowseViewBase;

			ConfigureScrollBars();
		}