/// <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(); } }
/// <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(); } }