Beispiel #1
0
        public void Init()
        {
            manager = new AutomationManagement();
            manager.ErrorMessage += manager_ErrorMessage;
            manager.Complete += manager_Complete;

            this.Load += MainFrm_Load;
            this.timer = new Timer();
            this.timer.Tick += timer_Tick;
            this.timer.Interval = 1000;
            this.timer.Enabled = false;

            trace = new MyTraceListener(this.TextBoxLog);

            //System.Diagnostics.Trace.Listeners.Add(trace);
            System.Diagnostics.Debug.Listeners.Add(trace);
        }
Beispiel #2
0
        public void Init()
        {
            manager = new AutomationManagement();
            manager.ErrorMessage += manager_ErrorMessage;
            manager.Complete     += manager_Complete;

            this.Load          += MainFrm_Load;
            this.timer          = new Timer();
            this.timer.Tick    += timer_Tick;
            this.timer.Interval = 1000;
            this.timer.Enabled  = false;

            trace = new MyTraceListener(this.TextBoxLog);

            //System.Diagnostics.Trace.Listeners.Add(trace);
            System.Diagnostics.Debug.Listeners.Add(trace);
        }