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(); }
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}'"); }
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(); }
private void Cancel_bn_Click(object sender, EventArgs e) { AddBio_Text.Hide(); Add_bn.Hide(); Cancel_bn.Hide(); }
private void open_addbio_Click(object sender, EventArgs e) { AddBio_Text.Show(); Cancel_bn.Show(); Add_bn.Show(); }