private void editProfile_Click(object sender, EventArgs e)
 {
     using (ProfileWindow profile = new ProfileWindow(_username, _password, "Clinic"))
     {
         if (profile.ShowDialog() == DialogResult.OK)
         {
             Close();
             DialogResult = DialogResult.OK;
         }
     }
 }
        private void editProfile_Click(object sender, EventArgs e)
        {
            ProfileWindow profile = new ProfileWindow(_username, _password, "Vet");

            profile.Show();
        }