private void UltrasonicControlProductsToolStripMenuItem_Click(object sender, EventArgs e) { DuringPeriodForm duringPeriodForm = new DuringPeriodForm(); duringPeriodForm.ShowDialog(); if (duringPeriodForm.DialogResult == DialogResult.OK) { MainGridUpdate(duringPeriodForm); doProc = SelectProtocolListTubes; } }
private void listToolStripMenuItem_Click(object sender, EventArgs e) { try { doProc = SelectTube; var row = MainGridView.Rows[currentRow]; ListTubes((long)row.Cells[1].Value , (string)row.Cells[3].Value , (string)row.Cells[6].Value , (string)row.Cells[7].Value , (string)row.Cells[8].Value , (string)row.Cells[9].Value , (string)row.Cells[10].Value , (string)row.Cells[11].Value ); } catch {} }