Exemple #1
0
        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));
            }
        }
Exemple #2
0
 private void AbrirForm(string formName)
 {
     FormCreator.ShowDialog(formName);
     this.RefreshStatus();
 }