Esempio n. 1
0
 private void DeleteDashboard()
 {
     try
     {
         DashboardControl dashboardControl = DashboardController.GetDashboardControlByPackageId(Package.PackageID);
         if (dashboardControl != null)
         {
             DashboardController.DeleteControl(dashboardControl);
         }
         Log.AddInfo(dashboardControl.DashboardControlKey + " " + Util.AUTHENTICATION_UnRegistered);
     }
     catch (Exception ex)
     {
         Log.AddFailure(ex);
     }
 }
Esempio n. 2
0
 public override void UnInstall()
 {
     try
     {
         DashboardControl dashboardControl = DashboardController.GetDashboardControlByPackageId(Package.PackageID);
         if (dashboardControl != null)
         {
             DashboardController.DeleteControl(dashboardControl);
         }
         Log.AddInfo(dashboardControl.DashboardControlKey + " " + Util.DASHBOARD_UnRegistered);
     }
     catch (Exception ex)
     {
         Log.AddFailure(ex);
     }
 }