private void BgWorkerProcessControl_DoWork(object sender, DoWorkEventArgs e)
        {
            BusinessTask bt = new BusinessTask();

            bt.ReportMessage += Bt_ReportMessage;
            bt.Run();
        }
예제 #2
0
        static void Main(string[] args)
        {
            //TODO. Add Fabricator
            BusinessTask bt = new BusinessTask();

            bt.ReportMessage += Bt_ReportMessage;
            bt.Run();

            Console.ReadKey();

            // Go to http://aka.ms/dotnet-get-started-console to continue learning how to build a console app!
        }