ExportTo() public method

Export instance of PageInfo in txt form
public ExportTo ( ) : string
return string
Beispiel #1
0
 /// <summary>
 /// SelectedIndexChanged listBox event handler
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void LbPages_SelectedIndexChanged(object sender, EventArgs e)
 {
     RtbPagesInfo.Clear();
     if (fromParsedDump)
     {
         page = new PageInfo();
         parser.LoadPageInfo(parsedInput, LbDisambPages.SelectedIndex, LbPages.SelectedIndex, page);
         RtbPagesInfo.Text += page.ExportTo();
     }
     else
     {
         RtbPagesInfo.Text += ((PageInfo)(LbPages.SelectedItem)).ExportTo();
     }
 }
Beispiel #2
0
 /// <summary>
 /// SelectedIndexChanged listBox event handler
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void LbPages_SelectedIndexChanged(object sender, EventArgs e)
 {
     RtbPagesInfo.Clear();
     if (fromParsedDump)
     {
         page = new PageInfo();
         parser.LoadPageInfo(parsedInput, LbDisambPages.SelectedIndex, LbPages.SelectedIndex, page);
         RtbPagesInfo.Text += page.ExportTo();
     }
     else
     {
         RtbPagesInfo.Text += ((PageInfo)(LbPages.SelectedItem)).ExportTo();
     }
 }