예제 #1
0
        private void btnSupplierPopup_Click(object sender, EventArgs e)
        {
            Masters.Supplier_Details Obj = new Masters.Supplier_Details();
            Obj.ShowDialog();
            FillSupplierData();

            FillCountryData();
        }
예제 #2
0
        private void btnSupplierPopup_Click(object sender, EventArgs e)
        {
            int a = 0;

            if (cmbSupplier.SelectedIndex >= 0)
            {
                a = Convert.ToInt32(cmbSupplier.SelectedValue);
            }
            Masters.Supplier_Details Obj = new Masters.Supplier_Details();
            Obj.ShowDialog();
            FillSupplierData();
            if (a > 0)
            {
                cmbSupplier.SelectedValue = a;
            }
        }