private void button2_Click(object sender, EventArgs e)
 {
     if (!string.IsNullOrEmpty(fText))
     {
         textBox3.Clear();
         tLines = JYCR.getTextLines(fText);//parsing
         Size pSize = JYCR.getPageSize(fText);
         foreach (var l in tLines)
         {
             foreach (var w in l.Words)
             {
                 textBox3.AppendText(w.Text + " ");
             }
             textBox3.AppendText(Environment.NewLine);
         }
     }
 }
 private void button3_Click(object sender, EventArgs e)//for async operation: private async void button3_Click... JYC.RycRecognizeImageASYNC(fNName)...
 {
     openFileDialog2.ShowDialog();
     fName = openFileDialog2.FileName;
     if (!string.IsNullOrEmpty(fName))
     {
         textBox1.Text = fName;
         textBox2.Clear();
         //simple steps - first get json response
         fText = JYCR.ycRecognizeImageSYNC(fName); //recognize image with YC
         //secont step - convert response in objects
         tBlocks = JYCR.getTextBlocks(fText);      //for text blocks
         tLines  = JYCR.getTextLines(fText);
         Size pSize = JYCR.getPageSize(fText);
         textBox2.Text = fText;
         textBox2.AppendText(Environment.NewLine + "Pagesize = " + pSize.ToString());
     }
 }