Ejemplo n.º 1
0
        public MainForm(MCSServiceMain serviceMain)
        {
            InitializeComponent();

            this.serviceMain = serviceMain;

            CreateAddIns();

            this.serviceMain.ServiceContainer.Log.AddTextBoxTraceListener(this.textBoxLog);
            this.serviceMain.ServiceContainer.CreateThreadEvent += new CreateThreadDelegete(OnCreateThreadEvent);

            Application.ThreadException += new System.Threading.ThreadExceptionEventHandler(Application_ThreadException);
        }
Ejemplo n.º 2
0
		public MainForm(MCSServiceMain serviceMain)
		{
			InitializeComponent();

			this.serviceMain = serviceMain;

			CreateAddIns();

			this.serviceMain.Log.AddTextBoxTraceListener(this.textBoxLog);
			this.serviceMain.CreateThreadEvent += new CreateThreadDelegete(OnCreateThreadEvent);

			Application.ThreadException += new System.Threading.ThreadExceptionEventHandler(Application_ThreadException);
		}