Exemplo n.º 1
0
        public InvoiceEditorForm(InvoiceEditorModel model)
        {
            InitializeComponent();
            _presenter = new InvoiceEditorPresenter(this, model);

            // set validation alignment
            valPaymentMethod.SetIconAlignment(cbPaymentType, System.Windows.Forms.ErrorIconAlignment.MiddleRight);;

            this.Load += InvoiceEditorForm_Load;
        }
        public InvoiceEditorForm(InvoiceEditorModel model)
        {
            InitializeComponent();
            _presenter = new InvoiceEditorPresenter(this, model);

            // set validation alignment
            valPaymentMethod.SetIconAlignment(cbPaymentType, System.Windows.Forms.ErrorIconAlignment.MiddleRight); ;

            this.Load += InvoiceEditorForm_Load;
        }