/// ------------------------------------------------------------------------------------------------- /// <summary> Updates this object. </summary> /// /// <remarks> 09/09/2018. </remarks> /// /// <param name="response"> The response. </param> /// <param name="tag"> The tag. </param> /// ------------------------------------------------------------------------------------------------- private void UIUpdate(byte[] response, int tag) { byte[] arraycopy = new byte[response.Length - 5]; Array.Copy(response, 5, arraycopy, 0, arraycopy.Length); byteProvider.bytes = arraycopy;// parseData(response[0]); MEMPTRHexControl.UpdateView(); }
public MemWatch() { InitializeComponent(); byteProvider = new ByteProvider(); byteProvider.init(512, 0); MEMPTRHexControl.Model.ByteProvider = byteProvider; MEMPTRHexControl.UpdateView(); }
/// ------------------------------------------------------------------------------------------------- /// <summary> Updates this object. </summary> /// /// <remarks> 09/09/2018. </remarks> /// /// <param name="response"> The response. </param> /// <param name="tag"> The tag. </param> /// ------------------------------------------------------------------------------------------------- private void UIUpdate(string[] response, int tag) { byteProvider.parseData(response[0]); MEMPTRHexControl.UpdateView(); }