private void confirmBut_Click(object sender, EventArgs e) { Editbutton.Show(); confirmBut.Hide(); dB.ChangeCustAccount(user.Username, UserIDtextBox.Text, EmailtextBox.Text); UserIDtextBox.ReadOnly = true; EmailtextBox.ReadOnly = true; }
private void confirmBut_Click(object sender, EventArgs e) { Editbutton.Show(); confirmBut.Hide(); UserIDtextBox.ReadOnly = true; EmailtextBox.ReadOnly = true; openTextBox.ReadOnly = true; closeTextBox.ReadOnly = true; nameTextBox.ReadOnly = true; dB.ChangeBusAccount (user.Username, UserIDtextBox.Text, EmailtextBox.Text, openTextBox.Text, closeTextBox.Text, nameTextBox.Text, typeCombo.Text); }