BoldSignEasily embed eSignatures in your .NET applications. Free sandbox with native SDK available.
private void Form1_Load(object sender, System.EventArgs e) { this.gridRecordNavigationControl1.NavigationBar.ArrowButtonClicked += new Syncfusion.Windows.Forms.ArrowButtonEventHandler(NavigationBar_ArrowButtonClicked); } private void NavigationBar_ArrowButtonClicked(object sender, Syncfusion.Windows.Forms.ArrowButtonEventArgs e) { switch(e.Arrow) { case Syncfusion.Windows.Forms.ArrowType.Next: e.Cancel = true; this.gridControl1.CurrentCell.MoveUp(); break; case Syncfusion.Windows.Forms.ArrowType.Previous: e.Cancel = true; this.gridControl1.CurrentCell.MoveDown(); break; case Syncfusion.Windows.Forms.ArrowType.Last: e.Cancel = true; this.gridControl1.CurrentCell.MoveTo(1, this.gridControl1.CurrentCell.ColIndex); break; case Syncfusion.Windows.Forms.ArrowType.First: e.Cancel = true; this.gridControl1.CurrentCell.MoveTo(this.gridControl1.RowCount, this.gridControl1.CurrentCell.ColIndex); break; } foreach(Syncfusion.Windows.Forms.InternalButton but in this.gridRecordNavigationControl1.NavigationBar.ButtonBarChild.Buttons) { if(but != null && but.ToString() != "AddNew") { but.Enabled = true; } } this.gridRecordNavigationControl1.NavigationBar.Invalidate(); } }