Exemple #1
0
        //======================================Вкладка "Служебные таблицы"====================================

        //Заполнение таблицы констант
        private void FillConstantsTable()
        {
            dgvConstants.Rows.Clear();

            Dictionary <string, string> numConstTable    = scanner.GetNumConstantsTable();
            Dictionary <string, string> stringConstTable = scanner.GetStringConstantsTable();

            foreach (string numConstant in numConstTable.Keys)
            {
                dgvConstants.Rows.Add(numConstant, numConstTable[numConstant]);
            }

            foreach (string strConst in stringConstTable.Keys)
            {
                dgvConstants.Rows.Add(strConst, stringConstTable[strConst]);
            }
        }