Ejemplo n.º 1
0
        private void AddButton_Click(object sender, EventArgs e)
        {
            string path = @"Materials\MaterialName.txt";

            string[] temp = File.ReadAllLines(path);

            if (check.CheckExtraFields())
            {
                return;
            }

            extra.SaveToCSV(ExtraDataGridView);

            File.AppendAllText(path, ExtraTextBox.Text + Environment.NewLine);

            extra.RefreshCombobox();
        }