コード例 #1
0
        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();
        }
コード例 #2
0
        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();
        }