Ejemplo n.º 1
0
 // Returns false if failed
 protected bool DoConvertInternal()
 {
     try {
         // This will convert it if necessary
         _typeLib.TranslateTypeLib();
         // Conversion will have caused detail panel information
         // to change
         DetailPanel.Clear();
         GetDetailText();
         return(true);
     } catch (Exception ex) {
         ErrorDialog.Show(ex,
                          "Error converting " + GetName(),
                          MessageBoxIcon.Error);
         return(false);
     }
 }