private void viewdetailsToolStripMenuItem_Click(object sender, EventArgs e) { if (currentStreamIndex >= streamsCurrent.Count) { return; } var steam = streamsCurrent[currentStreamIndex]; var str = steam.streamObj.ToString(Formatting.Indented); var formD = new FormDetails(); formD.setText(str); formD.Show(); }
private void viewdetailsToolStripMenuItem1_Click(object sender, EventArgs e) { if (listViewFile.SelectedIndices.Count < 1) { return; } var index = listViewFile.SelectedIndices[0]; var ff = ffs[index]; var str = JsonConvert.SerializeObject(ff.infoObj, Formatting.Indented); var formD = new FormDetails(); formD.setText(str); formD.Show(); }