예제 #1
0
 private void cb_VendorCategory_SelectedIndexChanged(object sender, EventArgs e)
 {
     SearchForGivenVendor();
     if (cb_VendorCategory.Text == "<new>")
     {
         VendorsCategories at = new VendorsCategories();
         at.ShowDialog();
         cb_VendorCategory.Items.Clear();
         adaptertbVendorCategory.Fill(dbAccountingProjectDS.APVendorCategory);
         cb_VendorCategory = GeneralFunctions.FillComboBox(dbAccountingProjectDS.APVendorCategory, cb_VendorCategory, "CategoryCode", "CategoryID");
     }
     if (cb_VendorCategory.Text == "Any Type")
     {
         cb_VendorCategory.SelectedIndex = -1;
         SearchForGivenVendor();
     }
 }
예제 #2
0
파일: GLInterface.cs 프로젝트: ABTecheg/GL
        private void vendorsCategoriesToolStripMenuItem_Click(object sender, EventArgs e)
        {
            VendorsCategories frm = new VendorsCategories();

            frm.ShowDialog();
        }
예제 #3
0
        private void btnVendorCategories_Click(object sender, EventArgs e)
        {
            VendorsCategories vendorcategories = new VendorsCategories();

            vendorcategories.ShowDialog();
        }