private void beadSelectionToolStripMenuItem_Click(object sender, EventArgs e) { int refBead; if (!int.TryParse(txtRefBead.Text, out refBead)) refBead = -1; // Vec3[] data = GetBeadData(traces[0], beadSelect.Value, refBead); var dlg= new FilterDlg(beadInfo, traces[0], BeadSelection); if (dlg.ShowDialog() == System.Windows.Forms.DialogResult.OK) { BeadSelection = dlg.Selection; } }
private void beadSelectionToolStripMenuItem_Click(object sender, EventArgs e) { int refBead; if (!int.TryParse(txtRefBead.Text, out refBead)) { refBead = -1; } // Vec3[] data = GetBeadData(traces[0], beadSelect.Value, refBead); var dlg = new FilterDlg(beadInfo, traces[0], BeadSelection); if (dlg.ShowDialog() == System.Windows.Forms.DialogResult.OK) { BeadSelection = dlg.Selection; } }