Exemple #1
0
        // if not aware of anything pop up new form which
        // contain detail information about the project

        // if lost password
        // use the python imap module for email retrieval
        // to send new generated password phrase in base64_encoded format

        private void fORGOTPASSWORDToolStripMenuItem_Click(object sender, EventArgs e)
        {
            LockUnlock lockInOut = new LockUnlock(ref button1, ref button2, ref button3, ref button4,
                                                  ref textBox1, ref textBox2, ref textBox3, ref checkBox1,
                                                  ref label10, ref label7, ref label6, ref label5, ref label4, ref label9);

            lockInOut.Lock(); // desable all the fields for the purpose of data entry
        }
Exemple #2
0
        private void button4_Click(object sender, EventArgs e)
        {
            LockUnlock lockInOut = new LockUnlock(ref button1, ref button2, ref button3, ref button4,
                                                  ref textBox1, ref textBox2, ref textBox3, ref checkBox1,
                                                  ref label10, ref label7, ref label6, ref label5, ref label4, ref label9);

            // resume to old state
            lockInOut.unLock();
            this.label6.Text = "";
            this.label7.Text = "";
            // dispose helper
        }