public EditTransactionUserControl()
 {
     InitializeComponent();
     editMode = false;
     presenter = new TransactionPresenter(new TransactionUserControl());
     transactonUserComboBox.DataSource = presenter.usersList.Select(x => x.Login).ToList();
 }
Ejemplo n.º 2
0
 public EditTransactionUserControl()
 {
     InitializeComponent();
     editMode  = false;
     presenter = new TransactionPresenter(new TransactionUserControl());
     transactonUserComboBox.DataSource = presenter.usersList.Select(x => x.Login).ToList();
 }
        public EditTransactionUserControl(Object param)
        {
            InitializeComponent();
            presenter = new TransactionPresenter(new TransactionUserControl());
            transactonUserComboBox.DataSource = presenter.usersList.Select(x => x.Login).ToList();
            editMode = true;

            editTransaction = (Transaction)param;
            DrawEditTransactionInfo();
        }
Ejemplo n.º 4
0
        public EditTransactionUserControl(Object param)
        {
            InitializeComponent();
            presenter = new TransactionPresenter(new TransactionUserControl());
            transactonUserComboBox.DataSource = presenter.usersList.Select(x => x.Login).ToList();
            editMode = true;

            editTransaction = (Transaction)param;
            DrawEditTransactionInfo();
        }
Ejemplo n.º 5
0
 public TransactionUserControl()
 {
     InitializeComponent();
     presenter = new TransactionPresenter(this);
 }
Ejemplo n.º 6
0
 public TransactionUserControl()
 {
     InitializeComponent();
     presenter = new TransactionPresenter(this);
 }