Пример #1
0
 public void Unregister(InvocationContext context)
 {
     try
     {
         FileAssociation.Unassociate();
         Console.WriteLine("Unregistered MGCB Editor!");
     }
     catch (Exception ex)
     {
         Console.Error.WriteLine("Failed to unregister MGCB Editor due to:" + Environment.NewLine + ex);
         throw;
     }
 }
Пример #2
0
 public void Unregister(InvocationContext context)
 {
     try
     {
         FileAssociation.Unassociate();
         Console.WriteLine("");
         Console.WriteLine("Unregistered MGCB Editor!");
     }
     catch
     {
         Console.WriteLine("");
         Console.Error.WriteLine("Failed to unregister MGCB Editor");
         throw;
     }
 }