NTRDebuggerTool.Forms.MainForm.SetMemory C# (CSharp) Method

SetMemory() private method

private SetMemory ( int RowIndex ) : void
RowIndex int
return void
        private void SetMemory(int RowIndex)
        {
            string TextAddress = (string)ValuesGrid[1, RowIndex].Value;

            MemoryDispatch MemoryDispatch = new MemoryDispatch();
            MemoryDispatch.Row = RowIndex;
            MemoryDispatch.TextAddress = TextAddress;
            MemoryDispatch.Type = DataTypeExactTool.GetValue((string)ValuesGrid[3, RowIndex].Value);
            MemoryDispatch.Value = GetByteArrayForDataType(MemoryDispatch.Type, (string)ValuesGrid[2, RowIndex].Value);

            ThreadEventDispatcher.WriteAddress.Enqueue(MemoryDispatch);
        }