private void butregister_Click(object sender, EventArgs e) { Addandedituser registuser = new Addandedituser(); registuser.ShowDialog(); Addandeditaccount registaccount = new Addandeditaccount(3); registaccount.ShowDialog(); }
private void butedit_Click(object sender, EventArgs e) { if (listuser.DataSource != null) { if (listuser.Text != null) { Addandedituser edituser = new Addandedituser(listuser.Text); edituser.ShowDialog(); } else { MessageBox.Show("Please chosing a User to edit infomation !", "Attention !"); } } else { MessageBox.Show("Please refresh List User !", "Attention !"); } }
private void butadd_Click(object sender, EventArgs e) { Addandedituser adduser = new Addandedituser(); adduser.ShowDialog(); }