private void dgvComments_CellContentClick(object sender, DataGridViewCellEventArgs e) { if (e.ColumnIndex == 0) { string comment = dgvComments[2, e.RowIndex].Value.ToString(); Ribbon.ApplyComments(comment); } if (e.ColumnIndex == 1) { } }
private void tsbApplyAll_Click(object sender, EventArgs e) { Ribbon.ApplyComments(); }