public ReplayTextSearchForm(TtyRecKeyframeDecoder ttyRecKeyframeDecoder) { InitializeComponent(); table.Columns.Add("TimeStamp", typeof(String)); table.Columns.Add("SearchResult", typeof(String)); dataGridView1.AllowUserToAddRows = false; this.ttyrecDecoder = ttyRecKeyframeDecoder; textBox1.Focus(); }
void DoOpenFiles() { var delay = TimeSpan.Zero; //if (files.Length > 1) //{ // // multiselect! // var fof = new FileOrderingForm(files); // if (fof.ShowDialog(this) != DialogResult.OK) return; // files = fof.FileOrder.ToArray(); // delay = TimeSpan.FromSeconds(fof.SecondsBetweenFiles); //} fileStream.CopyTo(destination); var streams = new List <Stream> { destination }; ttyrecDecoder = new TtyRecKeyframeDecoder(80, 24, streams, delay, MaxDelayBetweenPackets); PlaybackSpeed = +1; Seek = TimeSpan.Zero; }