コード例 #1
0
 private void findallBtn_Click(object sender, EventArgs e)
 {
     findAll  = true;
     resetAll = false;
     SetOptions();
     frEvents = new GridFindReplaceEventArgs(txtSearch.Text, "", options, locInfo);
     if (frDialog.Find(frEvents) == null)
     {
         MessageBox.Show("No Matches found for Text" + txtSearch.Text);
     }
     grid.Refresh();
 }
コード例 #2
0
        private void grid_TableControlCellHitTest(object sender, GridTableControlCellHitTestEventArgs e)
        {
            if (!HotTracking)
            {
                return;
            }

            if (e.Inner.RowIndex > 0 && e.Inner.RowIndex != _mouseOverIndex)
            {
                _mouseOverIndex = e.Inner.RowIndex;

                _grid.Refresh();
            }
        }
コード例 #3
0
 private void checkBox1_CheckedChanged(object sender, EventArgs e)
 {
     this.treeGrid.ColorCodeSiblings = checkBox1.Checked;
     this.treeGrid.ColorCodeList     = new Color[] { Color.FromArgb(152, 192, 244), Color.FromArgb(194, 220, 255), Color.FromArgb(216, 232, 255), Color.FromArgb(237, 245, 255) };
     gridGroupingControl1.Refresh();
 }