private void GeneratingForm_Shown(object sender, EventArgs e) { ReportEngine engine = new ReportEngine(m_Config); engine.ReportDoneEvent += new EventHandler<EventArgs>(engine_ReportDoneEvent); // engine.CreateReport(); // Close(); m_Thread = new Thread(new ThreadStart(engine.CreateReport)); m_Thread.Start(); }
private void GeneratingForm_Shown(object sender, EventArgs e) { ReportEngine engine = new ReportEngine(m_Config); engine.ReportDoneEvent += new EventHandler <EventArgs>(engine_ReportDoneEvent); // engine.CreateReport(); // Close(); m_Thread = new Thread(new ThreadStart(engine.CreateReport)); m_Thread.Start(); }