Example #1
0
 private void olvSearchResults_MouseDoubleClick(object sender, MouseEventArgs e)
 {
     if (e.Button == MouseButtons.Left)
     {
         if (olvSearchResults.SelectedObject != null)
         {
             FrmFrequencies frmFreq = new FrmFrequencies(Utils.GetTextFile(((xDetails)olvSearchResults.SelectedObject).fileId), ((xDetails)olvSearchResults.SelectedObject).word);
             frmFreq.Show();
         }
     }
 }
Example #2
0
 private void olvHistory_MouseDoubleClick(object sender, MouseEventArgs e)
 {
     if (e.Button == MouseButtons.Left)
     {
         if (olvHistory.SelectedObject != null)
         {
             FrmFrequencies frmFreq = new FrmFrequencies((xTextFile)(olvHistory.SelectedObject));
             frmFreq.Show();
         }
     }
 }