private void btn_remove_Click(object sender, EventArgs e) { mng.RemoveMasterFully(textBox1.Text); FileStream file = File.Create("Uni"); BinaryFormatter bf = new BinaryFormatter(); bf.Serialize(file, Universal.instance); file.Close(); ManagerPanel managerpanel = new ManagerPanel(id); managerpanel.Show(); this.Close(); }