internal void ShowInventoryAdjustment(BOInventoryAdjustment model)
 {
     if (IsInvalid(mFrmInventoryAdjustment))
     {
         mFrmInventoryAdjustment = new FrmInventoryAdjustment(mApplicationController, model);
     }
     SetCurrentForm(mFrmInventoryAdjustment);
 }
Пример #2
0
        public FrmInventoryAdjustment(ApplicationPresenter ap, BOInventoryAdjustment model)
            : base(ap)
        {
            InitializeComponent();

            mModel     = model;
            mViewModel = new BOViewModel(mModel);
            mViewModel.ErrorProvider = errorProvider;

            BindViews();
            RegisterEventHandlers();
        }