internal void ShowInventoryAdjustment(BOInventoryAdjustment model) { if (IsInvalid(mFrmInventoryAdjustment)) { mFrmInventoryAdjustment = new FrmInventoryAdjustment(mApplicationController, model); } SetCurrentForm(mFrmInventoryAdjustment); }
public FrmInventoryAdjustment(ApplicationPresenter ap, BOInventoryAdjustment model) : base(ap) { InitializeComponent(); mModel = model; mViewModel = new BOViewModel(mModel); mViewModel.ErrorProvider = errorProvider; BindViews(); RegisterEventHandlers(); }