private void listViewOrder_MouseDoubleClick(object sender, EventArgs e) { if (listViewOrder.SelectedItems.Count > 0) { string orderID = listViewOrder.SelectedItems[0].SubItems[0].Text; string empID = listViewOrder.SelectedItems[0].SubItems[1].Text; string dateCheck = listViewOrder.SelectedItems[0].SubItems[2].Text; string dateShip = listViewOrder.SelectedItems[0].SubItems[3].Text; CheckOrderForm m = new CheckOrderForm(); sendValueCheck sendValue = new sendValueCheck(m.receiveData); sendValue(orderID, customerForOrders, empID, dateCheck, dateShip); m.Show(); } }