private void DoubleCheckListView_DoubleClick(object sender, EventArgs e) { InvoiceDoubleCheckStage form = new InvoiceDoubleCheckStage(Int32.Parse(doubleCheckListView.SelectedItems[0].SubItems[0].Text)); form.Size = new System.Drawing.Size(1000, 750); form.Show(); }
private void ProcessButton_Click(object sender, EventArgs e) { foreach (ListViewItem l in pickingListView.SelectedItems) { InvoicePickingStage form = new InvoicePickingStage(Int32.Parse(pickingListView.SelectedItems[0].SubItems[0].Text)); form.Size = new System.Drawing.Size(1080, 700); form.Show(); } foreach (ListViewItem l in doubleCheckListView.SelectedItems) { InvoiceDoubleCheckStage form = new InvoiceDoubleCheckStage(Int32.Parse(doubleCheckListView.SelectedItems[0].SubItems[0].Text)); form.Size = new System.Drawing.Size(1000, 700); form.Show(); } }