Пример #1
0
        private void superGridErrorMain_RowActivated(object sender, DevComponents.DotNetBar.SuperGrid.GridRowActivatedEventArgs e)
        {
            GridCell grdCell = superGridErrorMain.GetCell(e.NewActiveRow.RowIndex, 1);

            DataRow[] drrException_Log = dtException_Log.Select("ExceptionID = '" + grdCell.Value + "'");
            if (drrException_Log.Length > 0)
            {
                superGridErrorSub.PrimaryGrid.DataSource = drrException_Log.CopyToDataTable();
            }
        }
Пример #2
0
 private void g_RowActivated(object sender, GridRowActivatedEventArgs e)
 {
     row = e.NewActiveRow as GridRow;
 }
Пример #3
0
 private void gComments_RowActivated(object sender, GridRowActivatedEventArgs e)
 {
     rComment = e.NewActiveRow as GridRow;
 }
Пример #4
0
        /// <summary>
        /// Handles invocation of RowActivated events
        /// </summary>
        internal void DoRowActivatedEvent(
            GridPanel gridPanel, GridContainer oldRow, GridContainer newRow)
        {
            if (RowActivated != null)
            {
                GridRowActivatedEventArgs ev = new
                    GridRowActivatedEventArgs(gridPanel, oldRow, newRow);

                RowActivated(this, ev);
            }
        }
Пример #5
0
 private void gEnquiries_RowActivated(object sender, GridRowActivatedEventArgs e)
 {
     rEnquiry = e.NewActiveRow as GridRow;
 }
Пример #6
0
 private void gBookings_RowActivated(object sender, GridRowActivatedEventArgs e)
 {
     rBooking = e.NewActiveRow as GridRow;
 }
Пример #7
0
 private void gItems_RowActivated(object sender, GridRowActivatedEventArgs e)
 {
     grItem = (GridRow)e.NewActiveRow;
 }
Пример #8
0
 private void gInspections_RowActivated(object sender, GridRowActivatedEventArgs e)
 {
     grInspection = (GridRow)e.NewActiveRow;
 }