Exemple #1
0
 private void OnCheckBoxClick(object sender, EventArgs e)
 {
     if (m_checkBox.Checked)
     {
         m_core.SetSelection(m_group.id, m_index, CoreDll.SelectionType.SelectCurrent);
     }
     else
     {
         m_core.SetSelection(m_group.id, m_index, CoreDll.SelectionType.UnselectCurrent);
     }
     m_thumbnailGroupPanel.Table.ChangeCurrentThumbnail(m_group, m_index);
 }
Exemple #2
0
 private void SetRowSelection(int beginRowIndex, int endRowIndex, bool value)
 {
     for (int i = beginRowIndex; i < endRowIndex; i++)
     {
         DataGridViewCustomRow row = (DataGridViewCustomRow)Rows[i];
         row.selected = value;
     }
     m_core.SetSelection((UInt32)beginRowIndex, (UInt32)(endRowIndex - beginRowIndex), value);
 }