Ejemplo n.º 1
0
        public Account(string username, string password, string ssn, string email, string fname, string lname)
        {
            this.ssn      = ssn;
            this.username = username;
            this.password = password;
            //FName_txt.Text = fname;
            this.email = email;
            this.fname = fname;
            this.lname = lname;

            InitializeComponent();
            Name_lbl.Text = username;

            UserNameAE_lbl.Text = username;
            PassAE_lbl.Text     = password;
            SSNA_lbl.Text       = ssn;
            EmailA_lbl.Text     = email;
            FNameA_lbl.Text     = fname;
            LNameA_lbl.Text     = lname;

            PassAE_lbl.Hide();
            UserNameE_txt.Hide();
            PasswordE_txt.Hide();
            interestAE_cmbo.Hide();
            InterestsAE_lbl.Hide();
            Email_txt.Hide();
            FName_txt.Hide();
            LName_txt.Hide();
            ShowToolTip.SetToolTip(show_lbl, "Show Password");
            ThemeFunction();

            con = new OracleConnection(ordb);
            con.Open();
        }
Ejemplo n.º 2
0
 private void show_lbl_Click(object sender, EventArgs e)
 {
     if (PassAE_lbl.Visible == true)
     {
         PassAE_lbl.Hide();
         Stars_lbl.Show();
     }
     else
     {
         PassAE_lbl.Show();
         Stars_lbl.Hide();
     }
 }