Esempio n. 1
0
        void HandleKeyChangeClick(object sender, EventArgs e)
        {
            KeyEditForm keyEdit = new KeyEditForm(this.currentKey, FormIcon);

            if (keyEdit.ShowDialog() == DialogResult.OK)
            {
                //NewMessage.Show (keyEdit.keyOut.Key.ToString ()+ keyEdit.keyOut.ModifyingKey.ToString());
                IsModified = true;
                keyOut     = keyEdit.keyOut;

                BuildKeyString(keyOut);
            }
            // do this regardless, we are just updating interface, not data
            if (AfterKeyEdit != null)
            {
                // we just redraw the CURRENT one
                AfterKeyEdit(keyOut.GetGUID());
            }
        }