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 button7_Click(object sender, EventArgs e) { //var returnList = HTMLCodeSnippet.MergeTwoPlayLists(HTMLCodeSnippet.GetFileNameandPathUsingDialougeBox(), HTMLCodeSnippet.GetFileNameandPathUsingDialougeBox()); var returnList = HTMLCodeSnippet.MergeTwoPlayLists(@"C: \Users\Shahid\source\repos\shahidali6\CodeSnippetCSharp\CodeSnippetCSharp\bin\Debug\60S - Selected - Soft.m3u8", @"C: \Users\Shahid\source\repos\shahidali6\CodeSnippetCSharp\CodeSnippetCSharp\bin\Debug\60S - Selected - Soft 2.m3u8"); foreach (var item in returnList) { tbResultData.Text += item.ToString(); tbResultData.Text += Environment.NewLine; } }
private void button6_Click(object sender, EventArgs e) { tbResultData.Text = HTMLCodeSnippet.ReadTextFileUsingDialougeBox(); }
private void button1_Click_2(object sender, EventArgs e) { tbResultData.Text = string.Join(Environment.NewLine, HTMLCodeSnippet.ExtractYouTubeVideoURLs(tbRawData.Text)); }
private void button3_Click(object sender, EventArgs e) { tbResultData.Text = HTMLCodeSnippet.RemoveHTMLTagsFromStringAndNewLine(tbRawData.Text); }