public void InitializeOneNoteWrapper()
 {
   this.instance = new OneNoteApplicationWrapper();
   bool success = this.instance.InitializeOneNoteTypeLibrary();
   if (!success)
   {
     if (OnAbortedEvent != null)
     {
       OnAbortedEvent("Unable to initialize OneNote Type Library");
     }
   }
 }
 public Tuple <bool, string> InitializeOneNoteWrapper()
 {
     onenoteApplication = new OneNoteApplicationWrapper();
     if (onenoteApplication.InitializeOneNoteTypeLibrary())
     {
         return(Tuple.Create(true, ""));
     }
     else
     {
         return(Tuple.Create(false, "Unable to initialize OneNote type library."));
     }
 }
Esempio n. 3
0
 public void InitializeOneNoteWrapper()
 {
     onenoteApplication = new OneNoteApplicationWrapper();
     onenoteApplication.InitializeOneNoteTypeLibrary();
 }
 public void InitializeOneNoteWrapper()
 {
     instance = new OneNoteApplicationWrapper();
     instance.InitializeOneNoteTypeLibrary();
 }