Пример #1
0
        private void BtnAdd_Click(object sender, EventArgs e)
        {
            PopupInventoryLoc popup = new PopupInventoryLoc();

            popup.ShowDialog(this);
            SetMasterDataSource(grid.PageSize);
        }
Пример #2
0
        private void btnInventoryLoc_Click(object sender, EventArgs e)
        {
            if (_bill == null || _bill.单据编号 == null)
            {
                MessageHelper.ShowInfo("请选择单据!");
                return;
            }
            PopupInventoryLoc popup = new PopupInventoryLoc(_bill);

            popup.ShowDialog(this);
            SetMasterDataSource(grid.PageSize);
        }