void CreateData() { WRegistry.SetReg(); if (Line != null) { for (int i = 0; i < 3; ++i) { if (Line[i] != null && Line[i] != PrevLine[i]) { PrevLine[i] = Line[i]; WRegistry.SetLine(Line[i], i); } } } if (TempKey != null) { for (int i = 0; i < 5; ++i) { if (TempKey[i] != null && TempKey[i] != PrevTempKey[i]) { PrevTempKey[i] = TempKey[i]; WRegistry.SetKey(TempKey[i], i); } } } WRegistry.CloseReg(); }
void WriteRG() { WRegistry.SetReg(); WRegistry.SetText(key.ToString()); WRegistry.CloseReg(); }