Пример #1
0
 private void gdvUnknown_InvalidRowException(object sender, DevExpress.XtraGrid.Views.Base.InvalidRowExceptionEventArgs e)
 {
     try
     {
         e.ExceptionMode = DevExpress.XtraEditors.Controls.ExceptionMode.DisplayError;
         e.WindowCaption = "Input error";
     }
     catch (System.Exception exception1)
     {
         System.Exception thisException = exception1;
         Management.ShowException(thisException);
     }
 }
 private void viewListado_InvalidRowException(object sender, DevExpress.XtraGrid.Views.Base.InvalidRowExceptionEventArgs e)
 {
     e.ExceptionMode = ExceptionMode.NoAction;
 }
Пример #3
0
 private void gridView1_InvalidRowException(object sender, DevExpress.XtraGrid.Views.Base.InvalidRowExceptionEventArgs e)
 {
     e.ExceptionMode = DevExpress.XtraEditors.Controls.ExceptionMode.NoAction;
 }
Пример #4
0
 private void gridView_InvalidRowException(object sender, DevExpress.XtraGrid.Views.Base.InvalidRowExceptionEventArgs e)
 {
     this.gridView.SetColumnError(this.gridView.Columns[1], e.ErrorText.ToString());
     e.ExceptionMode = DevExpress.XtraEditors.Controls.ExceptionMode.NoAction;
 }
Пример #5
0
 private void gridView1_InvalidRowException(object sender, DevExpress.XtraGrid.Views.Base.InvalidRowExceptionEventArgs e)
 {
     e.ExceptionMode = ExceptionMode.NoAction; //Suppress displaying the error message box
 }
Пример #6
0
 private void advBandedGridView1_InvalidRowException(object sender, DevExpress.XtraGrid.Views.Base.InvalidRowExceptionEventArgs e)
 {
     // e.ExceptionMode = ExceptionMode.NoAction;
 }
Пример #7
0
 void gridView1_InvalidRowException(object sender, DevExpress.XtraGrid.Views.Base.InvalidRowExceptionEventArgs e)
 {
     e.ExceptionMode = ExceptionMode.NoAction;
 }
Пример #8
0
 void gridView_InvalidRowException(object sender, DevExpress.XtraGrid.Views.Base.InvalidRowExceptionEventArgs e)
 {
     throw new NotImplementedException();
 }