private void label1_Click(object sender, EventArgs e) {//Principal Cerrar(); var form = Application.OpenForms.OfType <AC>().FirstOrDefault(); AC hijo = form ?? new AC(); AddFormInPanel(hijo); }
public Menu() { InitializeComponent(); var form = Application.OpenForms.OfType <AC>().FirstOrDefault(); AC hijo = form ?? new AC(); AddFormInPanel(hijo); }