コード例 #1
0
        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";
        }
コード例 #2
0
        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;
            }
        }
コード例 #3
0
 private void button6_Click(object sender, EventArgs e)
 {
     tbResultData.Text = HTMLCodeSnippet.ReadTextFileUsingDialougeBox();
 }
コード例 #4
0
 private void button1_Click_2(object sender, EventArgs e)
 {
     tbResultData.Text = string.Join(Environment.NewLine, HTMLCodeSnippet.ExtractYouTubeVideoURLs(tbRawData.Text));
 }
コード例 #5
0
 private void button3_Click(object sender, EventArgs e)
 {
     tbResultData.Text = HTMLCodeSnippet.RemoveHTMLTagsFromStringAndNewLine(tbRawData.Text);
 }