public CustomerListControl(CustomerListModel model) { InitializeComponent(); _presenter = new CustomerListPresenter(this, model); gvCustomer.PopupMenuShowing += gvCustomer_PopupMenuShowing; gvCustomer.FocusedRowChanged += gvCustomer_FocusedRowChanged; // init editor control accessibility btnNewCustomer.Enabled = AllowInsert; cmsEditData.Enabled = AllowEdit; cmsDeleteData.Enabled = AllowDelete; this.Load += CustomerListControl_Load; }