public TypeListControl(TypeListModel model) { InitializeComponent(); _presenter = new TypeListPresenter(this, model); gvType.PopupMenuShowing += gvType_PopupMenuShowing; gvType.FocusedRowChanged += gvType_FocusedRowChanged; // init editor control accessibility btnNewType.Enabled = AllowInsert; cmsEditData.Enabled = AllowEdit; cmsDeleteData.Enabled = AllowDelete; this.Load += TypeListControl_Load; }