Ejemplo n.º 1
0
        public Profession(ProfessionMenu professionMenu, Action addedListInfo = null)
        {
            InitializeComponent();

            Show();

            _professionMenu = professionMenu;
            _addedListInfo  = addedListInfo;

            InitFields();
        }
Ejemplo n.º 2
0
        public EditProfession(ProfessionMenu professionMenu, Action <string> updatedListInfo, Action deletedListInfo, equipment equipment)
        {
            InitializeComponent();

            Show();

            _professionMenu  = professionMenu;
            _updatedListInfo = updatedListInfo;
            _idEquipment     = equipment.idEquipment;
            _deletedListInfo = deletedListInfo;

            InitFields(equipment);
        }