Exemplo n.º 1
0
        public EquipmentTypeView()
        {
            InitializeComponent();

            dataGridView.AutoGenerateColumns = false;
            dataGridView.SelectionChanged   += (sender, args) => Observer.SelectedEquipmentTypeChanged();
            addToolStripButton.Click        += (sender, args) => Observer.AddEquipmentTypeRequested();
            editToolStripButton.Click       += (sender, args) => Observer.EditEquipmentTypeRequested();
            removeToolStripButton.Click     += (sender, args) => Observer.RemoveEquipmentTypeRequested();
        }