Esempio n. 1
0
 private void lstSnippets_MouseDoubleClick(object sender, MouseButtonEventArgs e)
 {
     if (lstSnippets.SelectedItem != null)
     {
         SnippetsDataSet.SnippetsTableRow r = ((DataRowView)lstSnippets.SelectedItem).Row as SnippetsDataSet.SnippetsTableRow;
         TheModel.HandleMouseDoubleClick(r);
     }
 }
Esempio n. 2
0
 void o_MouseDoubleClick(object sender, EventArgs e)
 {
     TheModel.HandleMouseDoubleClick((sender as SnippetEntry).TheSnippet.Row);
 }