private void ShowPurchase(Purchase purchase, bool copy = false)
        {
            //открыть форму просмотра закупки
            PurchaseForm form = new PurchaseForm(purchase, copy);

            Hide();
            var result = form.ShowDialog();

            Show();
            if (result == DialogResult.OK)
            {
                ReloadTable();
            }
        }
예제 #2
0
        private void OpenPurchase(Purchase pur)
        {
            PurchaseForm purchaseForm = new PurchaseForm(pur);

            purchaseForm.ShowDialog();
        }
예제 #3
0
 private void ShowPurchase(Purchase purchase)
 {
     PurchaseForm form   = new PurchaseForm(purchase);
     var          result = form.ShowDialog();
 }