public DebtPaymentListForm(DebtPaymentListModel model) { InitializeComponent(); _presenter = new DebtPaymentListPresenter(this, model); gvDebtPayment.PopupMenuShowing += gvDebtPayment_PopupMenuShowing; gvDebtPayment.FocusedRowChanged += gvDebtPayment_FocusedRowChanged; // init editor control accessibility cmsEdit.Enabled = AllowInsert; cmsDelete.Enabled = AllowEdit; this.Load += DebtPaymentListControl_Load; }
public DebtPaymentListForm(DebtPaymentListModel model) { InitializeComponent(); _presenter = new DebtPaymentListPresenter(this, model); gvDebtPayment.PopupMenuShowing += gvDebtPayment_PopupMenuShowing; gvDebtPayment.FocusedRowChanged += gvDebtPayment_FocusedRowChanged; // init editor control accessibility cmsEdit.Enabled = AllowInsert; cmsDelete.Enabled = AllowEdit; this.Load += DebtPaymentListControl_Load; }