private void btnSupplierSelect_Click(object sender, EventArgs e) { SupplierList f1 = new SupplierList(this); f1.ShowDialog(); if (txtSelectSupplier.Text != "") { btnSupplierSelect.Enabled = false; } else { btnSupplierSelect.Enabled = true; } }
private void btnSelectSupplier_Click(object sender, EventArgs e) { SupplierList f = new SupplierList(); f.ShowDialog(); }