private static void Unregister(Type t)
 {
     try
     {
         AdnAddInRegistration.UnregisterAddIn(t);
     }
     catch
     {
     }
 }
 private static void Register(Type t)
 {
     try
     {
         AdnAddInRegistration.RegisterAddIn(t,
                                            SupportedSoftwareVersionEnum.kSupportedSoftwareVersionGreaterThan,
                                            "15..",
                                            true,
                                            "1");
     }
     catch
     {
     }
 }