Exemplo n.º 1
0
 private void editData_Click(object sender, EventArgs e)
 {
     if (listView1.SelectedItems.Count > 0)
     {
         int idProduk = Int32.Parse(listView1.SelectedItems[0].Text);
         prdEditTarget.getFromDatabase(idProduk);
         EditProduk form = new EditProduk(this, prdEditTarget);
         form.Show();
     }
 }
Exemplo n.º 2
0
 public browseMerek(EditProduk editForm)
 {
     InitializeComponent();
     form       = editForm;
     formActive = "editForm";
 }