コード例 #1
0
        private void cmdPayment_Click(object sender, RoutedEventArgs e)
        {
            vw.ConstructWhDefinitionFromReceiptItem();

            WinAddEditPayment w = new WinAddEditPayment(vw.CashActualReceiptAmt, vw, dt == AccountDocumentType.AcctDocCashDepositAr);

            w.ShowDialog();

            if (w.IsOK)
            {
                vw.IsModified = true;
                vw.CalculateReceiveAndChange();
            }
        }
コード例 #2
0
        private void cmdPayment_Click(object sender, RoutedEventArgs e)
        {
            WinAddEditPayment w = new WinAddEditPayment(vw.CashActualReceiptAmt, vw, true);

            w.ShowDialog();

            if (w.IsOK)
            {
                vw.CalculateReceiveAndChange();
                vw.IsModified = true;
            }
        }
コード例 #3
0
        private void cmdPayment_Click(object sender, RoutedEventArgs e)
        {
            WinAddEditPayment w = new WinAddEditPayment(vw.CashReceiptAmt, vw, dt == AccountDocumentType.AcctDocMiscRevenue);

            w.ShowDialog();

            if (w.IsOK)
            {
                vw.CalculateReceiveAndChange();
                vw.IsModified = true;
            }
        }