public JournalCategoryEditorForm(JournalCategoryEditorModel model) { InitializeComponent(); _presenter = new JournalCategoryEditorPresenter(this, model); valCategory.SetIconAlignment(lookUpCategory, ErrorIconAlignment.MiddleRight); valJournal.SetIconAlignment(lookUpJournal, ErrorIconAlignment.MiddleRight); valCatName.SetIconAlignment(txtCatName, ErrorIconAlignment.MiddleRight); valCatDescription.SetIconAlignment(txtCatDescription, ErrorIconAlignment.MiddleRight); valCatCode.SetIconAlignment(txtCatCode, ErrorIconAlignment.MiddleRight); lookUpJournal.Properties.EditValueChanged += Properties_EditValueChanged; this.Load += JournalCategoryEditorForm_Load; }
public JournalCategoryEditorForm(JournalCategoryEditorModel model) { InitializeComponent(); _presenter = new JournalCategoryEditorPresenter(this, model); valCategory.SetIconAlignment(lookUpCategory, ErrorIconAlignment.MiddleRight); valJournal.SetIconAlignment(lookUpJournal, ErrorIconAlignment.MiddleRight); valCatName.SetIconAlignment(txtCatName, ErrorIconAlignment.MiddleRight); valCatDescription.SetIconAlignment(txtCatDescription, ErrorIconAlignment.MiddleRight); valCatCode.SetIconAlignment(txtCatCode, ErrorIconAlignment.MiddleRight); lookUpJournal.Properties.EditValueChanged += Properties_EditValueChanged; this.Load += JournalCategoryEditorForm_Load; }