public UsedGoodTransactionEditorForm(UsedGoodTransactionEditorModel model)
        {
            InitializeComponent();
            _presenter = new UsedGoodTransactionEditorPresenter(this, model);

            // set validation alignment
            valMode.SetIconAlignment(cbMode, System.Windows.Forms.ErrorIconAlignment.MiddleRight);

            this.Load += UsedGoodTransactionEditorForm_Load;
        }
        public UsedGoodTransactionEditorForm(UsedGoodTransactionEditorModel model)
        {
            InitializeComponent();
            _presenter = new UsedGoodTransactionEditorPresenter(this, model);

            // set validation alignment
            valMode.SetIconAlignment(cbMode, System.Windows.Forms.ErrorIconAlignment.MiddleRight);

            this.Load += UsedGoodTransactionEditorForm_Load;
        }