public PageEditor(Locknote.Helpers.Objects.Page pg) { InitializeComponent(); m_pg = pg; mnu_save.Clicked += SavePage; }
public void SavePage(Locknote.Helpers.Objects.Page page, bool background) { AsymmetricCipherKeyPair kp = new AsymmetricCipherKeyPair(PublicKeyFactory.CreateKey(m_pubKey), PrivateKeyFactory.CreateKey(m_decPrivKey)); m_mgr.SavePage(page, kp, background); }