示例#1
0
 /// <summary>
 /// アドインがOneNoteから切断された際に呼ばれます
 /// </summary>
 /// <param name="RemoveMode"></param>
 /// <param name="custom"></param>
 /// <remarks>アドインの終了処理を行います</remarks>
 public void OnDisconnection(ext_DisconnectMode RemoveMode, ref Array custom)
 {
     cli.Dispose();
     this.cli = null;
     GC.Collect();
     GC.WaitForPendingFinalizers();
 }
示例#2
0
 public MainWindow()
 {
     InitializeComponent();
     cli = new tanets_blue.core.OneNoteClient();
     HTMLGenerator.GetBinaryObject = (x1, x2) => cli.GetBinaryObject(x1, x2);
 }
示例#3
0
 public void OnConnection(object Application, ext_ConnectMode ConnectMode, object AddInInst, ref Array custom)
 {
     cli = new tanets_blue.core.OneNoteClient();
     HTMLGenerator.GetBinaryObject = (x1, x2) => cli.GetBinaryObject(x1, x2);
 }
示例#4
0
 public void OnConnection(object Application, ext_ConnectMode ConnectMode, object AddInInst, ref Array custom)
 {
     cli = new tanets_blue.core.OneNoteClient();
     HTMLGenerator.GetBinaryObject = (x1, x2) => cli.GetBinaryObject(x1, x2);
 }
 public MainWindow()
 {
     InitializeComponent();
     cli = new tanets_blue.core.OneNoteClient();
     HTMLGenerator.GetBinaryObject = (x1, x2) => cli.GetBinaryObject(x1, x2);
 }