Exemplo n.º 1
0
        private void listView2_DoubleClick(object sender, EventArgs e)
        {
            SupplierDetails window = new SupplierDetails(listView2.SelectedItems[0]);

            window.ShowDialog();
            updateListView2();
        }
Exemplo n.º 2
0
 private void updateSupplierButton_Click(object sender, EventArgs e)
 {
     if (listView2.SelectedItems.Count > 0)
     {
         SupplierDetails window = new SupplierDetails(listView2.SelectedItems[0]);
         window.ShowDialog();
         updateListView2();
     }
 }