Ejemplo n.º 1
0
 private void cb_VendorTerms_SelectedIndexChanged(object sender, EventArgs e)
 {
     if (cb_VendorTerms.Text == "<new>")
     {
         PaymentTerms payTerm = new PaymentTerms();
         payTerm.ShowDialog();
         cb_VendorTerms.Items.Clear();
         adapterPaymentTerms.Fill(dbAccountingProjectDS.APPaymentTerms);
         cb_VendorTerms = GeneralFunctions.FillComboBox(dbAccountingProjectDS.APPaymentTerms, cb_VendorTerms, "PaymentTermCode", "PaymentTermCodeID");
     }
 }
Ejemplo n.º 2
0
        private void paymentTermsToolStripMenuItem_Click(object sender, EventArgs e)
        {
            PaymentTerms frm = new PaymentTerms();

            frm.ShowDialog();
        }