示例#1
0
        static private void PrintRow(int rowId, Support Sup)
        {
            string row = string.Format("{0:00}: ", rowId);

            for (int i = 0; i < _cols; i++)
            {
                if ((rowId == 0 && i < 3) || (rowId == 7 && i > 7))
                {
                    row += "   ";
                }
                else
                if (_nDevices[rowId, i] == 0)
                {
                    row += string.Format("-- ");
                }
                else
                {
                    row += string.Format("{0}{1:X} ", rowId, i);
                }
            }

            Sup.LogDebugMessage(row);
        }
示例#2
0
 public IniFile(Support s, string FileName, bool Lazy)
 {
     Sup = s;
     Initialize(FileName, Lazy);
 }
示例#3
0
 // *** Constructor ***
 public IniFile(Support s, string FileName)
 {
     Sup = s;
     Initialize(FileName, false);
 }