public frmMDIMain()
 {
     try
     {
         InitializeComponent();
         m_bosControlObject         = new BOSController();
         m_bosControlObject.SignIn += new AuthenticationComponent.UI.SignInHandler(m_bosControlObject_SignIn);
     }
     catch (Exception ex)
     {
         MessageBox.Show(Common.GetMessage("10002"), Common.GetMessage("30007"), MessageBoxButtons.OK, MessageBoxIcon.Error);
         Common.LogException(ex);
     }
 }
 public frmMDIMain(List <CoreComponent.BusinessObjects.MenuItem> mnuItems)
 {
     try
     {
         InitializeComponent();
         //AuthenticationComponent.BusinessObjects.Authenticate.LogInUser("amit", "test", "HO");
         m_menuItems = mnuItems;
         CreateMenus(m_menuItems);
         mnuNewMenu.Enabled         = false;
         m_bosControlObject         = new BOSController();
         m_bosControlObject.SignIn += new AuthenticationComponent.UI.SignInHandler(m_bosControlObject_SignIn);
     }
     catch (Exception ex)
     {
         MessageBox.Show(Common.GetMessage("10002"), Common.GetMessage("30007"), MessageBoxButtons.OK, MessageBoxIcon.Error);
         Common.LogException(ex);
     }
 }