public MechanicListControl(MechanicListModel model) { InitializeComponent(); _presenter = new MechanicListPresenter(this, model); gvMechanic.PopupMenuShowing += gvMechanic_PopupMenuShowing; gvMechanic.FocusedRowChanged += gvMechanic_FocusedRowChanged; // init editor control accessibility btnNewMechanic.Enabled = AllowInsert; cmsEditData.Enabled = AllowEdit; cmsDeleteData.Enabled = AllowDelete; this.Load += MechanicListControl_Load; }