예제 #1
0
        private void saveTables(IOManager.TableSaveMode savingMode)
        {
            FieldTable table1;
            FieldTable table2;

            getTablesFromTexts(out table1, out table2);
            string tableName1 = IOManager.CreateTableFile(table1, savingMode, FieldTable.FieldTableType.Multiplication);
            string tableName2 = IOManager.CreateTableFile(table2, savingMode, FieldTable.FieldTableType.Multiplication);
            string tableName3 = IOManager.CreateTableFile(table1, savingMode, FieldTable.FieldTableType.Addition);

            MessageBox.Show("Таблицы сохранены на рабочем столе \nпод именами " + tableName1 + ", " + tableName2 + " и " + tableName3);
        }