Blame | Last modification | View Log | RSS feed
using OneNoteAddIn;
using System.Runtime.InteropServices;
using OneNote = Microsoft.Office.Interop.OneNote;
using System.Windows.Forms;
namespace OneNote_Sample_Addin
{
[Guid("68C73440-68BE-4229-AB7B-5F2258CF195E")]
public class AddInSample : IOneNoteAddIn
{
public bool OnClick([In] string strActivePageID)
{
MessageBox.Show("Hello world! I got PageID: " + strActivePageID);
return true;
}
public bool OnEvent([In] OneNote.OneNoteAddIn_Event evt, [In] string strParameter)
{
return true;
}
}
}