Beispiel #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();
            }
        }
Beispiel #2
0
 private void g_RowActivated(object sender, GridRowActivatedEventArgs e)
 {
     row = e.NewActiveRow as GridRow;
 }
Beispiel #3
0
 private void gComments_RowActivated(object sender, GridRowActivatedEventArgs e)
 {
     rComment = e.NewActiveRow as GridRow;
 }
        /// <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);
            }
        }
Beispiel #5
0
 private void gEnquiries_RowActivated(object sender, GridRowActivatedEventArgs e)
 {
     rEnquiry = e.NewActiveRow as GridRow;
 }
Beispiel #6
0
 private void gBookings_RowActivated(object sender, GridRowActivatedEventArgs e)
 {
     rBooking = e.NewActiveRow as GridRow;
 }
Beispiel #7
0
 private void gItems_RowActivated(object sender, GridRowActivatedEventArgs e)
 {
     grItem = (GridRow)e.NewActiveRow;
 }
Beispiel #8
0
 private void gInspections_RowActivated(object sender, GridRowActivatedEventArgs e)
 {
     grInspection = (GridRow)e.NewActiveRow;
 }