Beispiel #1
0
 private void ConsrtForm_KeyDown(object sender, KeyEventArgs e)
 {
     if (e.KeyCode == Keys.Enter && GridViewConsrt.IsFilterRow(GridViewConsrt.FocusedRowHandle))
     {
         executeQuery();
     }
 }
Beispiel #2
0
        private void gridView1_CellValueChanging(object sender, DevExpress.XtraGrid.Views.Base.CellValueChangedEventArgs e)
        {
            if (!GridViewConsrt.IsFilterRow(e.RowHandle))
            {
                modified = true;
            }

            labelControl1.Text = DateTime.Today.ToShortDateString();
            labelControl2.Text = username;
        }