private void button1_Click(object sender, EventArgs e) { FrmbnRoles rol = new FrmbnRoles(); this.Hide(); rol.ShowDialog(); rol = (FrmbnRoles)this.ActiveMdiChild; }
private void btnRoles_Click(object sender, EventArgs e) { this.Hide(); FrmbnRoles rol = new FrmbnRoles(); rol.ShowDialog(); }