BoldSignEasily embed eSignatures in your .NET applications. Free sandbox with native SDK available.
private void gridControl1_MouseMove(object sender, MouseEventArgs e) { int row, col; Point pt = new Point(e.X, e.Y); if(this.gridControl1.PointToRowCol(pt, out row, out col)) { if(this.gridControl1[row, col].CellType == "ComboBox") { //Console.WriteLine("xxxxOverButton"); Rectangle rect = this.gridControl1.RangeInfoToRectangle(this.gridControl1.PointToRangeInfo(pt)); if(rect.Right - 20 < pt.X) { Console.WriteLine("OverButton"); //set hitest = 0; } } } }
>private void gridControl1_MouseMove(object sender, MouseEventArgs e) >{ > int row, col; > Point pt = new Point(e.X, e.Y); > if(this.gridControl1.PointToRowCol(pt, out row, out col)) > { > if(this.gridControl1[row, col].CellType == "ComboBox") > { > //Console.WriteLine("xxxxOverButton"); > Rectangle rect = this.gridControl1.RangeInfoToRectangle(this.gridControl1.PointToRangeInfo(pt)); > if(rect.Right - 20 < pt.X) > { > Console.WriteLine("OverButton"); > //set hitest = 0; > } > > } > } >} >