Derived from ListView, this class supports notifying the browse view when resizing the columns. This class holds the headers that show above columns of data that BrowseViewer knows about.
상속: System.Windows.Forms.ListView, IFWDisposable
예제 #1
0
		public void Basic()
		{
			using (var view = new DhListView(null))
			{
				Assert.That(view, Is.Not.Null);
			}
		}
예제 #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);
		}