コード例 #1
0
 private void tbGrid_CellContentClick(object sender, DataGridViewCellEventArgs e)
 {
     if (e.RowIndex >= 0)
     {
         DataGridViewRow row = this.tbGrid.Rows[e.RowIndex];
         string          src = row.Cells["wordColumn"].Value.ToString();
         string          tar = row.Cells["definitionColumn"].Value.ToString();
         mainForm.findTermbaseOnline(src, tar);
         mainForm.findTermbaseOffline(src);
         rtbTermbase.Visible = false;
     }
 }