public FicheDeLivreReservation(DashboardManager dashboardManager)
     : this()
 {
     _dashboardManager = dashboardManager;
 }
Exemplo n.º 2
0
 private void LauchDashboard()
 {
     try {
         if (!CGlobalCache.SessionManager.IsAdministrateur) {
             var dashboardManager = new DashboardManager(this) {MdiParent = this};
             dashboardManager.Show();
         } else {
             var dashboardAdminManager = new DashboardAdminManager(this);
             dashboardAdminManager.MdiParent = this;
             dashboardAdminManager.Show();
         }
     } catch (Exception ex) {
         throw;
     } finally {
         ChildFormIncrement();
     }
 }
Exemplo n.º 3
0
 private void ShowClientDashboard(object sender, EventArgs e)
 {
     if (_childFormNumber != 0) {
         MessageBox.Show(Resources.FrmMdi_ShowClientDashboard_Vous_avez_deja_un_Dashboard_ouvert);
         return;
     }
     var dashboardManager = new DashboardManager(this);
     ChildFormIncrement();
     dashboardManager.MdiParent = this;
     dashboardManager.Show();
 }
 public FicheDeLivre(DashboardManager dashboardManager)
     : this()
 {
     this._dashboardManager = dashboardManager;
 }