public XFS_DevicesCollection()
 {
     L4Logger.Info("ctor XFS_DevicesCollection");
     IDC = new IDC.IDC();
     PIN = new PIN.PIN();
     PTR = new PTR.PTR();
     SIU = new SIU.SIU();
 }
        public XfsApplicationContext()
        {
            L4Logger.Info("create XfsApplicationContext");
            Application.ApplicationExit += new EventHandler(this.OnApplicationExit);
            mainForm mainForm = new mainForm();

            mainForm.FormClosing += MainForm_FormClosing;
            mainForm.FormClosed  += MainForm_FormClosed;
            mainForm.Load        += new EventHandler(mainForm_Load);
        }