Пример #1
0
 public async void setData(int id, TextBox id_transaksi, TextBox alamat_pembeli, TextBox namaPembeli, TextBox totalHarga)
 {
     this.id             = id;
     transaction         = UtilProvider.getDataTransaction().getData()[id];
     this.id             = transaction.getId();
     id_transaksi.Text   = transaction.getPoNumber();
     alamat_pembeli.Text = transaction.getAddress();
     namaPembeli.Text    = transaction.getCustomerId().ToString();
     totalHarga.Text     = transaction.price.ToString();
 }