예제 #1
0
 public GadgetManager()
 {
     try
     {
         dbManager = new DbManager();
     }
     catch (Exception e)
     {
         throw e;
     }
 }
 public DisplayConfigurationManager()
 {
     try
     {
         dbManager = new DbManager();
     }
     catch (Exception e)
     {
         throw e;
     }
 }
 /// <summary>
 /// Here, in the constructor, an instance of <c>DbManager</c> is created.
 /// </summary>
 /// <exception cref="e">An exception is raised and thrown if the dbManager
 /// cannot be created. It is maybe due to a problem during the connection with
 /// database.</exception>
 public CockpitConfigurationManager()
 {
     try
     {
         dbManager = new DbManager();
     }
     catch (Exception e)
     {
         throw e;
     }
 }