private void BasicUser_button_Click(object sender, EventArgs e)
        {
            // ---------------
            user = new BasicUser("mai", "benami", "307889402", 22, "maibe", "benami24");

            // ---------------

            this.basicUserForm = new BasicUser_Form(ref user);
            this.Hide();
            basicUserForm.FormClosed += new FormClosedEventHandler(basicUserForm_FormClosed);
            basicUserForm.ShowDialog();
        }
 private void basicUserForm_FormClosed(object sender, FormClosedEventArgs e)
 {
     this.basicUserForm.Close();
     this.basicUserForm = null;
     this.Show();
 }