Пример #1
0
        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;
            }
        }
Пример #2
0
        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;
            }
        }
Пример #3
0
        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;
            }
        }