private void button2_Click(object sender, EventArgs e) { ProductServiceSoapClient client = new ProductServiceSoapClient(); Pasaport pasaport = new Pasaport(); pasaport.UserName = "******"; pasaport.Password = "******"; dataGridView1.DataSource = client.ProductList(pasaport); }
private void btn_Product_Click(object sender, EventArgs e) { ProductServiceSoapClient client = new ProductServiceSoapClient(); Identification kml = new Identification(); kml.userName = "******"; kml.Password = "******"; dataGridView1.DataSource = client.ProductList(kml); }