示例#1
0
        public PageEditor(Locknote.Helpers.Objects.Page pg)
        {
            InitializeComponent();

            m_pg = pg;

            mnu_save.Clicked += SavePage;
        }
示例#2
0
        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);
        }