Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public string GetNames(int clientIndex) // Get Client Names
- {
- byte[] nameb = new byte[16];
- string namestr = Encoding.ASCII.GetString(nameb).Replace(Convert.ToChar(0x00).ToString(), string.Empty);
- GetMemory(0xF12B80 + ((uint)clientIndex * 0x3600) + 0x2f1c, ref nameb);
- return namestr;
- }
- private void getclients_Click(object sender, EventArgs e) // Get Client Table
- {
- if (dataGridView1.Rows.Count == 1)
- {
- dataGridView1.Rows.Add(12);
- }
- for (int i = 0; i < 12; i++)
- {
- dataGridView1[0, i].Value = "Client" + i;
- dataGridView1[1, i].Value = GetNames(i);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement