private void Setup() { var entries = this.home.UsuarioActual.Forms; foreach (var entry in entries) { this.mainMenu.AddItem(entry.Key, (sender, args) => FormCreator.ShowDialog(entry.Value)); } }
private void AbrirForm(string formName) { FormCreator.ShowDialog(formName); this.RefreshStatus(); }