private void button4_Click(object sender, EventArgs e) { string fileContent = string.Empty; fileContent = HTMLCodeSnippet.ReadTextFileUsingDialougeBox(); tbResultData.Text = string.Join(Environment.NewLine, HTMLCodeSnippet.ExtractYouTubeVideoURLs(fileContent)); tbRawData.Text = "Extract URL using file"; }
private void button1_Click_2(object sender, EventArgs e) { tbResultData.Text = string.Join(Environment.NewLine, HTMLCodeSnippet.ExtractYouTubeVideoURLs(tbRawData.Text)); }