Beispiel #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";
        }
Beispiel #2
0
 private void button1_Click_2(object sender, EventArgs e)
 {
     tbResultData.Text = string.Join(Environment.NewLine, HTMLCodeSnippet.ExtractYouTubeVideoURLs(tbRawData.Text));
 }