public void Setup() { m_fGotCancel = false; m_dlg = new DummyProgressDlg(); m_dlg.Cancel += new CancelHandler(HandleCancel); m_dlg.Maximum = 10; }
public void Setup() { m_threadHelper = new ThreadHelper(); m_dlg = new DummyProgressDlg(m_threadHelper) { Maximum = 10 }; }
public void Teardown() { if (m_timer != null) { m_timer.Dispose(); m_timer = null; } if (m_dlg != null) { m_dlg.Dispose(); m_dlg = null; } }
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; } }
public void Setup() { m_threadHelper = new ThreadHelper(); m_dlg = new DummyProgressDlg(m_threadHelper) {Maximum = 10}; }
public void Setup() { m_dlg = new DummyProgressDlg { Maximum = 10 }; }