Example #1
0
	public void Setup()
	{
		m_threadHelper = new ThreadHelper();
		m_dlg = new DummyProgressDlg(m_threadHelper) {Maximum = 10};
	}
Example #2
0
		public void Teardown()
		{
			if (m_timer != null)
			{
				m_timer.Dispose();
				m_timer = null;
			}

			if (m_dlg != null)
			{
				m_dlg.Dispose();
				m_dlg = null;
			}

			if (m_threadHelper != null)
			{
				m_threadHelper.Dispose();
				m_threadHelper = null;
			}

		}
Example #3
0
		public void Setup()
		{
			m_fGotCancel = false;

			m_dlg = new DummyProgressDlg();
			m_dlg.Cancel += new CancelHandler(HandleCancel);
			m_dlg.Maximum = 10;
		}