private string FrameToString(AMTFrame frame) { string str = ""; str = "Frame Reference: [" + frame.FrameRef + "]" + "Frame Delay: " + "[" + frame.Delay + "ms" + "]"; str += "Tags: ["; foreach (string s in frame.Tags) { str += "("; str += s; str += ")"; } str += "]"; return str; }
public FrameInfo(AMTFrame frame) { InitializeComponent(); tbFrameInfo.Text = JsonConvert.SerializeObject(frame, Formatting.Indented); }