예제 #1
0
        // Form Load
        public frmFriendsKeys()
        {
            InitializeComponent();

            getNewKey = new frmGetNewKey();
            getPubKey = new frmGetPubKey();
            crypto    = new Crypto();

            // Event for Combo Box Select
            this.cmbPublicKeyName.SelectedIndexChanged += new System.EventHandler(cmbPublicKeyName_SelectedIndexChanged);

            // Event for Text Box Change
            this.txtPublicKey.TextChanged += new System.EventHandler(txtPublicKey_TextChanged);

            // Event to refresh form on activate
            this.Activated += frmFriendsKeys_Activated;
        }