private void cmdEditMachineNames_Click(object sender, EventArgs e) { CSVEditor csvEditor = new CSVEditor(); csvEditor.Text = "Machine names"; csvEditor.ItemDescription = "Machine"; csvEditor.CSVData = txtMachines.Text; if (csvEditor.ShowDialog() == System.Windows.Forms.DialogResult.OK) { txtMachines.Text = csvEditor.CSVData; } }
private void cmdEditColumnNames_Click(object sender, EventArgs e) { CSVEditor csvEditor = new CSVEditor(); csvEditor.Text = "Column names"; csvEditor.ItemDescription = "Column"; csvEditor.Sorted = false; csvEditor.CSVData = txtColumnNames.Text; if (csvEditor.ShowDialog() == System.Windows.Forms.DialogResult.OK) { txtColumnNames.Text = csvEditor.CSVData; } }
private void cmdEditEventIds_Click(object sender, EventArgs e) { CSVEditor csvEditor = new CSVEditor(); csvEditor.Sorted = false; csvEditor.ClearTextOnUpdate = true; csvEditor.ValuesAreIntegers = true; csvEditor.CSVData = txtEventIds.Text; if (csvEditor.ShowDialog() == System.Windows.Forms.DialogResult.OK) { txtEventIds.Text = csvEditor.CSVData; } }