Exemplo n.º 1
0
 private void FrmUpdateCar_Load(object sender, EventArgs e)
 {
     using (var CarService = new CarServiceSoapClient())
     {
         var cars = CarService.GetCars(frmMain.Company.CompanyID);//login olan şirketin id si
         dgwCars.DataSource = cars;
         CarService.Close();
     }
 }
 private void FrmNewReservation_Load(object sender, EventArgs e)
 {
     using (var CarService = new CarServiceSoapClient())
     {
         var cars = CarService.GetCars(frmMain.Company.CompanyID);
         dgwCarList.DataSource = cars;
         CarService.Close();
     }
 }
Exemplo n.º 3
0
 private void frmDeleteCar_Load(object sender, EventArgs e)
 {
     using (var carClient = new CarServiceSoapClient())
     {
         var cars = carClient.GetCars(frmMain.Company.CompanyID);
         dgwCarList.DataSource = cars;
         carClient.Close();
     }
 }