Esempio n. 1
0
        private void AccountPage_Load(object sender, EventArgs e)
        {
            AddBio_Text.Hide();
            Add_bn.Hide();
            Cancel_bn.Hide();

            hometown_text.Hide();
            cancel_home_bn.Hide();
            add_home_bn.Hide();
        }
Esempio n. 2
0
 private void Add_bn_Click(object sender, EventArgs e)
 {
     Bio_lbl.Text = add_bio;
     AddBio_Text.Hide();
     Add_bn.Hide();
     Cancel_bn.Hide();
     hometown_text.Hide();
     cancel_home_bn.Hide();
     add_home_bn.Hide();
     MySQLFunctions.SQLCommand($"UPDATE accounts SET Bio='{add_bio}' where Email = '{email}'");
 }
Esempio n. 3
0
        private void hometown_lbl_Click(object sender, EventArgs e)
        {
            AddBio_Text.Hide();
            Cancel_bn.Hide();
            Add_bn.Hide();
            hometown_text.Show();
            cancel_home_bn.Show();
            add_home_bn.Show();

            hometown_text.BringToFront();
            cancel_home_bn.BringToFront();
            add_home_bn.BringToFront();
        }
Esempio n. 4
0
 private void Cancel_bn_Click(object sender, EventArgs e)
 {
     AddBio_Text.Hide();
     Add_bn.Hide();
     Cancel_bn.Hide();
 }