Ejemplo n.º 1
0
        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();
            }
        }
Ejemplo n.º 2
0
        private void OpenPurchase(Purchase pur)
        {
            PurchaseForm purchaseForm = new PurchaseForm(pur);

            purchaseForm.ShowDialog();
        }
Ejemplo n.º 3
0
 private void ShowPurchase(Purchase purchase)
 {
     PurchaseForm form   = new PurchaseForm(purchase);
     var          result = form.ShowDialog();
 }