private void listView3_SelectedIndexChanged(object sender, EventArgs e) { pdf = new KitapOku(); if (listView3.SelectedItems.Count > 0) { ListViewItem item = listView3.SelectedItems[0]; pictureBox3.ImageLocation = item.SubItems[5].Text; pdf.Kitapoku(path); pdf.Show(); } }
private void listView4_SelectedIndexChanged(object sender, EventArgs e) { pdf = new KitapOku(); if (listView4.SelectedItems.Count > 0) { ListViewItem item = listView4.SelectedItems[0]; pictureBox4.ImageLocation = item.SubItems[5].Text; tisbn.Text = item.SubItems[0].Text; tbooktitle.Text = item.SubItems[1].Text; tbookauther.Text = item.SubItems[2].Text; tyearpublic.Text = item.SubItems[3].Text; tpublisher.Text = item.SubItems[4].Text; pdf.Kitapoku(path); pdf.Show(); } }