private void Form4_Load(object sender, EventArgs e) { FormLogin fmLogin = new FormLogin(); ComunForm.Even_show_user += ComunForm_Even_show_user; if (fmLogin.ShowDialog() == System.Windows.Forms.DialogResult.OK) { ComunForm.Even_show_action += ComunForm_Even_show_action; expandablePanel1.Visible = true; } }