Пример #1
0
        public UserControlAutoBusinessParallelList()
        {
            InitializeComponent();
            _autoBusinessParallelsPresenter = new AutoBusinessParallelsPresenter(this);
            _budgetItemsPresenter           = new BudgetItemsPresenter(this);
            _budgetSourcesPresenter         = new BudgetSourcesPresenter(this);
            _voucherTypesPresenter          = new VoucherTypesPresenter(this);

            _rpsBudgetSource = new RepositoryItemGridLookUpEdit();
            _rpsBudgetItem   = new RepositoryItemGridLookUpEdit();
            _rpsVoucherType  = new RepositoryItemGridLookUpEdit();

            // hide button
            VisibleButtonAddNew = false;
            VisibleButtonDelete = false;
        }
 /// <summary>
 /// Initializes a new instance of the <see cref="FrmAutoBusinessParallels"/> class.
 /// </summary>
 public FrmAutoBusinessParallels()
 {
     InitializeComponent();
     _autoBusinessParallelsPresenter = new AutoBusinessParallelsPresenter(this);
 }