private void ultraGrid1_InitializeRow(object sender, Infragistics.Win.UltraWinGrid.InitializeRowEventArgs e)
        {
            string applyTime    = e.Row.Cells["ApplyTime"].Value == DBNull.Value ? "" : e.Row.Cells["ApplyTime"].Value.ToString();
            double issueNum     = e.Row.Cells["IssueNum"].Value == DBNull.Value ? 0 : Convert.ToDouble(e.Row.Cells["IssueNum"].Value);
            string underlyingID = e.Row.Cells["UnderlyingID"].Value.ToString();


            if (applyTime.Length > 0)
            {
                applyTime = applyTime.Substring(0, 2);

                if (applyTime == "22")
                {
                    e.Row.Cells["ApplyTime"].Appearance.ForeColor = Color.Red;
                }

                if (applyTime == "09")
                {
                    e.Row.Cells["ApplyTime"].Appearance.ForeColor = Color.Green;
                }

                if (applyTime == "10" && issueNum != 10000)
                {
                    e.Row.Cells["IssueNum"].Appearance.ForeColor = Color.Red;
                }
            }
        }
        private void ultraGridReportSchedules_InitializeRow(object sender, Infragistics.Win.UltraWinGrid.InitializeRowEventArgs e)
        {
            int       selectedAppointmentId = Convert.ToInt32(e.Row.Cells[0].Value);
            DataTable selectedAppointment   = lReportSchedulesDAO.GetAppointmentById(selectedAppointmentId);

            object rawAppointmentData = selectedAppointment.Rows[0][1];

            if (rawAppointmentData is byte[] == false)
            {
                return;
            }

            byte[]      appointmentBytes = rawAppointmentData as byte[];
            Appointment appointment      = Appointment.FromBytes(appointmentBytes);

            if (appointment.Recurrence.RangeEndDate < DateTime.Now.AddSeconds(-62))
            {
                e.Row.Appearance.ForeColor = Color.Red;
            }

            else if (appointment.Recurrence.RangeStartDate > DateTime.Now)
            {
                e.Row.Appearance.ForeColor = Color.Orange;
            }

            else
            {
                e.Row.Appearance.ForeColor = Color.Green;
            }
        }
Exemple #3
0
        private void grdDataServiceComponent_InitializeRow(object sender, Infragistics.Win.UltraWinGrid.InitializeRowEventArgs e)
        {
            //Si el contenido de la columna Vip es igual a SI
            if (e.Row.Cells["v_QueueStatusName"].Value.ToString().Trim() == Common.QueueStatusId.OCUPADO.ToString())
            {
                //Escojo 2 colores
                e.Row.Appearance.BackColor  = Color.White;
                e.Row.Appearance.BackColor2 = Color.Pink;
                //Y doy el efecto degradado vertical
                e.Row.Appearance.BackGradientStyle = Infragistics.Win.GradientStyle.VerticalBump;
                //timer1.Start();
            }
            if (e.Row.Cells["v_QueueStatusName"].Value.ToString().Trim() == Common.QueueStatusId.LLAMANDO.ToString())
            {
                //Escojo 2 colores
                e.Row.Appearance.BackColor = Color.Orange;
                //e.Row.Appearance.BackColor2 = Color.Pink;
                //Y doy el efecto degradado vertical
                //e.Row.Appearance.BackGradientStyle = Infragistics.Win.GradientStyle.VerticalBump;
                //timer1.Start();
            }

            //Si el contenido de la columna Vip es igual a SI
            if (e.Row.Cells["i_ServiceComponentStatusId"].Value.ToString() == ((int)Common.ServiceComponentStatus.Culminado).ToString() ||
                e.Row.Cells["i_ServiceComponentStatusId"].Value.ToString() == ((int)Common.ServiceComponentStatus.PorAprobacion).ToString())
            {
                //Escojo 2 colores
                e.Row.Appearance.BackColor  = Color.White;
                e.Row.Appearance.BackColor2 = Color.Cyan;
                //Y doy el efecto degradado vertical
                e.Row.Appearance.BackGradientStyle = Infragistics.Win.GradientStyle.VerticalBump;
            }
        }
Exemple #4
0
 // show expanded rows
 private void ultraGrid1_InitializeRow(object sender, Infragistics.Win.UltraWinGrid.InitializeRowEventArgs e)
 {
     // attempt to turn off expansion indicator
     if (e.Row.Cells.Exists("ParentMenuID") && e.Row.Cells["ParentMenuID"].Value.ToString() == "0")
     {
         e.Row.Expanded = true;
     }
 }
        private void grdListaLlamando_InitializeRow(object sender, Infragistics.Win.UltraWinGrid.InitializeRowEventArgs e)
        {
            OperationResult objOperationResult = new OperationResult();

            var serviceId = e.Row.Cells["v_ServiceId"].Value.ToString();
            var Piso      = e.Row.Cells["Piso"].Value.ToString();

            var serviceComponents = _serviceBL.GetServiceComponents(ref objOperationResult, serviceId);

            var atendido = serviceComponents.Find(p => _componentIds.Contains(p.v_ComponentId) &&
                                                  (p.i_ServiceComponentStatusId == (int)Common.ServiceComponentStatus.Evaluado ||
                                                   p.i_ServiceComponentStatusId == (int)Common.ServiceComponentStatus.PorAprobacion
                                                   //|| p.i_ServiceComponentStatusId == (int)Common.ServiceComponentStatus.Especialista
                                                  )

                                                  );

            //BETO

            var ResultPiso = _serviceBL.PermitirLlamar(serviceId, int.Parse(Piso.ToString()));

            if (!ResultPiso)
            {
                e.Row.Cells["b_NoLlamar"].Value = Resources.user_cross;
            }
            else
            {
                e.Row.Cells["b_NoLlamar"].Value = Resources.user_earth;
            }


            if (atendido != null)
            {
                e.Row.Cells["b_IsAttended"].Value       = Resources.bullet_tick;
                e.Row.Cells["b_IsAttended"].ToolTipText = atendido.v_ServiceComponentStatusName;
            }
            else
            {
                var noAtendido = serviceComponents.Find(p => _componentIds.Contains(p.v_ComponentId));

                e.Row.Cells["b_IsAttended"].Value       = Resources.bullet_red;
                e.Row.Cells["b_IsAttended"].ToolTipText = noAtendido.v_ServiceComponentStatusName;
            }

            //Si el contenido de la columna Vip es igual a SI
            if (e.Row.Cells["v_IsVipName"].Value.ToString().Trim() == Common.SiNo.SI.ToString())
            {
                //Escojo 2 colores
                e.Row.Appearance.BackColor  = Color.White;
                e.Row.Appearance.BackColor2 = Color.Pink;
                //Y doy el efecto degradado vertical
                e.Row.Appearance.BackGradientStyle = Infragistics.Win.GradientStyle.VerticalBump;
            }
            else
            {
                //label10.Visible = false;
            }
        }
 private void OnGridInitializeRow(object sender, Infragistics.Win.UltraWinGrid.InitializeRowEventArgs e)
 {
     //Event handler for grid row initialization
     try {
         DateTime dt = DateTime.Parse(e.Row.Cells["AssignedDate"].Value.ToString());
         e.Row.Cells["Assign"].Value = dt > DateTime.MinValue ? true : false;
     }
     catch (Exception ex) { App.ReportError(ex, false, Argix.Terminals.LogLevel.Warning); }
 }
Exemple #7
0
 private void OnGridInitializeRow(object sender, Infragistics.Win.UltraWinGrid.InitializeRowEventArgs e)
 {
     //Event handler for grid row initialization
     try {
         //
         e.Row.Cells["Complete"].Value     = (e.Row.Cells["TrailerComplete"].Value != DBNull.Value ? "Y" : "N");
         e.Row.Cells["All Assigned"].Value = (e.Row.Cells["FreightAssigned"].Value != DBNull.Value ? "Y" : "N");
     }
     catch (Exception ex) { App.ReportError(ex, false, LogLevel.Warning); }
 }
Exemple #8
0
        private void ultraGrid1_InitializeRow(object sender, Infragistics.Win.UltraWinGrid.InitializeRowEventArgs e)
        {
            EmbeddableEditorBase       editor         = null;
            DefaultEditorOwnerSettings editorSettings = null;

            editorSettings          = new DefaultEditorOwnerSettings( );
            editorSettings.DataType = typeof(int);
            editor = new EditorWithMask(new DefaultEditorOwner(editorSettings));
            editorSettings.MaskInput       = "nnnn";
            e.Row.Cells["cnvcFree"].Editor = editor;
        }
 private void grdDataCalendar_InitializeRow(object sender, Infragistics.Win.UltraWinGrid.InitializeRowEventArgs e)
 {
     //Si el contenido de la columna Vip es igual a SI
     if (e.Row.Cells["v_IsVipName"].Value.ToString().Trim() == Common.SiNo.SI.ToString())
     {
         //Escojo 2 colores
         e.Row.Appearance.BackColor  = Color.White;
         e.Row.Appearance.BackColor2 = Color.Pink;
         //Y doy el efecto degradado vertical
         e.Row.Appearance.BackGradientStyle = Infragistics.Win.GradientStyle.VerticalBump;
     }
 }
Exemple #10
0
 private void ultraGrid1_InitializeRow(object sender, Infragistics.Win.UltraWinGrid.InitializeRowEventArgs e)
 {
     // attempt to turn off expansion indicator
     if (e.Row.HasChild() == false)
     {
         e.Row.ExpansionIndicator = Infragistics.Win.UltraWinGrid.ShowExpansionIndicator.Never;
     }
     else
     {
         e.Row.ExpandAll();
     }
 }
Exemple #11
0
 // show expanded rows
 private void ultraGrid1_InitializeRow(object sender, Infragistics.Win.UltraWinGrid.InitializeRowEventArgs e)
 {
     // attempt to turn off expansion indicator
     try
     {
         if (e.Row.Cells["ParentCatID"].Value.ToString() == "0")
         {
             e.Row.Expanded = true;
         }
     }
     catch
     { // this is leaf
     }
 }
Exemple #12
0
 private void OnGridInitializeRow(object sender, Infragistics.Win.UltraWinGrid.InitializeRowEventArgs e)
 {
     //
     try {
         switch (e.Row.Band.Key)
         {
         case "DriverEquipmentTable":
             e.Row.Cells["FinanceVendorID"].Activation = (e.Row.IsAddRow && RoleServiceGateway.IsBillingSupervisor ? Activation.AllowEdit : Activation.NoEdit);
             e.Row.Cells["OperatorName"].Activation    = (e.Row.IsAddRow && RoleServiceGateway.IsBillingSupervisor ? Activation.AllowEdit : Activation.NoEdit);
             e.Row.Cells["EquipmentID"].Activation     = RoleServiceGateway.IsBillingSupervisor ? Activation.AllowEdit : Activation.NoEdit;
             e.Row.Cells["EquipmentName"].Activation   = Activation.NoEdit;
             break;
         }
     }
     catch (Exception ex) { reportError(ex); }
 }
Exemple #13
0
 private void OnGridInitializeRow(object sender, Infragistics.Win.UltraWinGrid.InitializeRowEventArgs e)
 {
     //
     try {
         switch (e.Row.Band.Key)
         {
         case "TerminalConfigurationTable":
             e.Row.Cells["AgentNumber"].Activation   = Activation.NoEdit;
             e.Row.Cells["AgentName"].Activation     = Activation.NoEdit;
             e.Row.Cells["GLNumber"].Activation      = Activation.NoEdit;
             e.Row.Cells["AdminGLNumber"].Activation = Activation.NoEdit;
             e.Row.Cells["AdminFee"].Activation      = Activation.NoEdit;
             e.Row.Cells["FSBase"].Activation        = Activation.NoEdit;
             break;
         }
     }
     catch (Exception ex) { reportError(ex); }
 }
Exemple #14
0
        private void ultraGridReportSchedules_InitializeRow(object sender, Infragistics.Win.UltraWinGrid.InitializeRowEventArgs e)
        {
            int       selectedAppointmentId = Convert.ToInt32(e.Row.Cells[0].Value);
            DataTable selectedAppointment   = lTaskSchedulesDAO.GetAppointmentById(selectedAppointmentId);

            object rawAppointmentData = selectedAppointment.Rows[0][1];

            if (rawAppointmentData is byte[] == false)
            {
                return;
            }

            byte[]      appointmentBytes = rawAppointmentData as byte[];
            Appointment appointment      = Appointment.FromBytes(appointmentBytes);

            if ((appointment.Recurrence.RangeLimit != RecurrenceRangeLimit.NoLimit) && (appointment.EndDateTime < DateTime.Now.AddMinutes(-1)))
            {
                e.Row.Appearance.ForeColor = Color.Red;
            }
        }
Exemple #15
0
 private void OnGridInitializeRow(object sender, Infragistics.Win.UltraWinGrid.InitializeRowEventArgs e)
 {
     //
     if (e.Row.Band.Key == "SubscriptionTable")
     {
         e.Row.Cells["Report"].Activation           = Activation.NoEdit;
         e.Row.Cells["SubscriptionID"].Activation   = Activation.NoEdit;
         e.Row.Cells["Description"].Activation      = Activation.NoEdit;
         e.Row.Cells["EventType"].Activation        = Activation.NoEdit;
         e.Row.Cells["LastRun"].Activation          = Activation.NoEdit;
         e.Row.Cells["Status"].Activation           = Activation.NoEdit;
         e.Row.Cells["Active"].Activation           = Activation.NoEdit;
         e.Row.Cells["DeliverySettings"].Activation = Activation.NoEdit;
         e.Row.Cells["MatchData"].Activation        = Activation.NoEdit;
         e.Row.Cells["Parameters"].Activation       = Activation.NoEdit;
         e.Row.Cells["Subject"].Activation          = Activation.NoEdit;
         e.Row.Cells["RouteDate"].Activation        = Activation.NoEdit;
         e.Row.Cells["RouteClass"].Activation       = Activation.NoEdit;
         e.Row.Cells["DriverName"].Activation       = Activation.NoEdit;
     }
 }
Exemple #16
0
        private void dgvTotales_InitializeRow(object sender, Infragistics.Win.UltraWinGrid.InitializeRowEventArgs e)
        {
            if (e.Row.Cells[0].Value.ToString().Equals("TOTAL"))
            {
                e.Row.Appearance.BackColor = Color.FromArgb(68, 84, 106);
                e.Row.Appearance.ForeColor = Color.White;
            }

            try
            {
                int i = e.Row.Band.Index;
                if (i == 0)
                {
                    string Val = e.Row.Cells["OC"].Value == DBNull.Value ? string.Empty : e.Row.Cells["OC"].Value.ToString();
                    if (String.IsNullOrEmpty(Val))
                    {
                        if (e.Row.Cells[0].Value.ToString().Equals("TOTAL"))
                        {
                            return;
                        }

                        e.Row.Cells["OC"].ButtonAppearance.Image       = Properties.Resources.sap_logo_btn;
                        e.Row.Cells["OC"].ButtonAppearance.ImageHAlign = HAlign.Center;
                        e.Row.Cells["OC"].ButtonAppearance.ImageVAlign = VAlign.Middle;

                        e.Row.Cells["OC"].Style = Infragistics.Win.UltraWinGrid.ColumnStyle.Button;

                        //e.Row.Cells["OC"].ButtonAppearance.BorderColor = Color.CadetBlue;
                        e.Row.Cells["OC"].Appearance.ImageBackground      = Properties.Resources.sap_logo_btn;
                        e.Row.Cells["OC"].Appearance.ImageBackgroundStyle = ImageBackgroundStyle.Stretched;
                    }
                    else
                    {
                    }
                }
            }
            catch (Exception)
            {
            }
        }
Exemple #17
0
 private void OnGridInitializeRow(object sender, Infragistics.Win.UltraWinGrid.InitializeRowEventArgs e)
 {
     //
     if (e.Row.Band.Key == "SubscriptionTable")
     {
         bool   allow      = false;
         string terminalID = e.Row.Cells["TerminalID"].Value.ToString().Trim();
         if (terminalID.Length > 0)
         {
             //Carrier subscriptions
             string carrierID = e.Row.Cells["CarrierAgentID"].Value.ToString().Trim();
             allow = (terminalID == this.mSchedule.SortCenterID.ToString() && (carrierID.Length > 0 && this.mSchedule.Trips.ShipScheduleViewTable.Select("carrierID=" + carrierID).Length > 0));
         }
         else
         {
             //Agent subscriptions
             string agentNumber = e.Row.Cells["CarrierAgentID"].Value.ToString().Trim();
             allow = ((agentNumber.Length > 0) && (this.mSchedule.Trips.ShipScheduleViewTable.Select("AgentNumber='" + agentNumber + "'").Length > 0) || this.mSchedule.Trips.ShipScheduleViewTable.Select("S2AgentNumber='" + agentNumber + "'").Length > 0);
         }
         e.Row.Cells["Send"].Activation             = allow ? Activation.AllowEdit : Activation.Disabled;
         e.Row.Cells["Report"].Activation           = Activation.NoEdit;
         e.Row.Cells["SubscriptionID"].Activation   = Activation.NoEdit;
         e.Row.Cells["Description"].Activation      = Activation.NoEdit;
         e.Row.Cells["EventType"].Activation        = Activation.NoEdit;
         e.Row.Cells["LastRun"].Activation          = Activation.NoEdit;
         e.Row.Cells["Status"].Activation           = Activation.NoEdit;
         e.Row.Cells["Active"].Activation           = Activation.NoEdit;
         e.Row.Cells["DeliverySettings"].Activation = Activation.NoEdit;
         e.Row.Cells["MatchData"].Activation        = Activation.NoEdit;
         e.Row.Cells["Parameters"].Activation       = Activation.NoEdit;
         e.Row.Cells["Subject"].Activation          = Activation.NoEdit;
         e.Row.Cells["SortCenterID"].Activation     = Activation.NoEdit;
         e.Row.Cells["ScheduleDate"].Activation     = Activation.NoEdit;
         e.Row.Cells["CarrierAgentID"].Activation   = Activation.NoEdit;
         e.Row.Cells["TerminalID"].Activation       = Activation.NoEdit;
     }
 }
Exemple #18
0
        private void dgvDatos_InitializeRow(object sender, Infragistics.Win.UltraWinGrid.InitializeRowEventArgs e)
        {
            try
            {
                e.Row.Cells["Aprobar"].Value = "Aprobar";
                e.Row.Cells["Aprobar"].Style = Infragistics.Win.UltraWinGrid.ColumnStyle.Button;
                e.Row.Cells["Aprobar"].ButtonAppearance.BorderColor = Color.CadetBlue;
                e.Row.Cells["Aprobar"].Value = "Aprobar";
                e.Row.Cells["Aprobar"].Style = Infragistics.Win.UltraWinGrid.ColumnStyle.Button;
                e.Row.Cells["Aprobar"].ButtonAppearance.BorderColor = Color.CadetBlue;

                if (!string.IsNullOrEmpty(e.Row.Cells["Ap"].Value.ToString()))
                {
                    e.Row.Cells["Aprobar"].Appearance.BackColor        = Color.Green;
                    e.Row.Cells["Aprobar"].Appearance.BackColor2       = Color.Green;
                    e.Row.Cells["Aprobar"].ButtonAppearance.BackColor  = Color.Green;
                    e.Row.Cells["Aprobar"].ButtonAppearance.BackColor2 = Color.Green;
                }
            }
            catch (Exception)
            {
                throw;
            }
        }
Exemple #19
0
        private void OnGridInitializeRow(object sender, Infragistics.Win.UltraWinGrid.InitializeRowEventArgs e)
        {
            //
            try {
                bool canEdit = ((this.mRates != null) && (e.Row.IsAddRow || (this.mRates.RatesDate.CompareTo(Convert.ToDateTime(e.Row.Cells["EffectiveDate"].Value)) == 0)));
                switch (e.Row.Band.Key)
                {
                case "RateMileageTable":
                    e.Row.Cells["ID"].Activation              = Activation.NoEdit;
                    e.Row.Cells["AgentNumber"].Activation     = Activation.NoEdit;
                    e.Row.Cells["EquipmentTypeID"].Activation = (canEdit ? Activation.AllowEdit : Activation.NoEdit);
                    e.Row.Cells["EffectiveDate"].Activation   = Activation.NoEdit;
                    e.Row.Cells["Mile"].Activation            = (canEdit ? Activation.AllowEdit : Activation.NoEdit);
                    e.Row.Cells["BaseRate"].Activation        = (canEdit ? Activation.AllowEdit : Activation.NoEdit);
                    e.Row.Cells["Rate"].Activation            = (canEdit ? Activation.AllowEdit : Activation.NoEdit);
                    break;

                case "RateUnitTable":
                    e.Row.Cells["ID"].Activation                  = Activation.NoEdit;
                    e.Row.Cells["AgentNumber"].Activation         = Activation.NoEdit;
                    e.Row.Cells["EquipmentTypeID"].Activation     = (canEdit ? Activation.AllowEdit : Activation.NoEdit);
                    e.Row.Cells["EffectiveDate"].Activation       = Activation.NoEdit;
                    e.Row.Cells["DayRate"].Activation             = (canEdit ? Activation.AllowEdit : Activation.NoEdit);
                    e.Row.Cells["MultiTripRate"].Activation       = (canEdit ? Activation.AllowEdit : Activation.NoEdit);
                    e.Row.Cells["StopRate"].Activation            = (canEdit ? Activation.AllowEdit : Activation.NoEdit);
                    e.Row.Cells["CartonRate"].Activation          = (canEdit ? Activation.AllowEdit : Activation.NoEdit);
                    e.Row.Cells["PalletRate"].Activation          = (canEdit ? Activation.AllowEdit : Activation.NoEdit);
                    e.Row.Cells["PickupCartonRate"].Activation    = (canEdit ? Activation.AllowEdit : Activation.NoEdit);
                    e.Row.Cells["MinimumAmount"].Activation       = (canEdit ? Activation.AllowEdit : Activation.NoEdit);
                    e.Row.Cells["MaximumAmount"].Activation       = Activation.NoEdit;
                    e.Row.Cells["MaximumTriggerField"].Activation = Activation.NoEdit;
                    e.Row.Cells["MaximumTriggerValue"].Activation = Activation.NoEdit;
                    e.Row.Cells["FSBase"].Activation              = (canEdit ? Activation.AllowEdit : Activation.NoEdit);
                    break;

                case "RateMileageRouteTable":
                    e.Row.Cells["ID"].Activation            = Activation.NoEdit;
                    e.Row.Cells["AgentNumber"].Activation   = Activation.NoEdit;
                    e.Row.Cells["Route"].Activation         = (canEdit ? Activation.AllowEdit : Activation.NoEdit);
                    e.Row.Cells["EffectiveDate"].Activation = Activation.NoEdit;
                    e.Row.Cells["Mile"].Activation          = (canEdit ? Activation.AllowEdit : Activation.NoEdit);
                    e.Row.Cells["BaseRate"].Activation      = (canEdit ? Activation.AllowEdit : Activation.NoEdit);
                    e.Row.Cells["Rate"].Activation          = (canEdit ? Activation.AllowEdit : Activation.NoEdit);
                    e.Row.Cells["Status"].Activation        = Activation.NoEdit;
                    break;

                case "RateUnitRouteTable":
                    e.Row.Cells["ID"].Activation                  = Activation.NoEdit;
                    e.Row.Cells["AgentNumber"].Activation         = Activation.NoEdit;
                    e.Row.Cells["Route"].Activation               = (canEdit ? Activation.AllowEdit : Activation.NoEdit);
                    e.Row.Cells["EffectiveDate"].Activation       = Activation.NoEdit;
                    e.Row.Cells["DayRate"].Activation             = (canEdit ? Activation.AllowEdit : Activation.NoEdit);
                    e.Row.Cells["MultiTripRate"].Activation       = (canEdit ? Activation.AllowEdit : Activation.NoEdit);
                    e.Row.Cells["StopRate"].Activation            = (canEdit ? Activation.AllowEdit : Activation.NoEdit);
                    e.Row.Cells["CartonRate"].Activation          = (canEdit ? Activation.AllowEdit : Activation.NoEdit);
                    e.Row.Cells["PalletRate"].Activation          = (canEdit ? Activation.AllowEdit : Activation.NoEdit);
                    e.Row.Cells["PickupCartonRate"].Activation    = (canEdit ? Activation.AllowEdit : Activation.NoEdit);
                    e.Row.Cells["MinimumAmount"].Activation       = (canEdit ? Activation.AllowEdit : Activation.NoEdit);
                    e.Row.Cells["MaximumAmount"].Activation       = Activation.NoEdit;
                    e.Row.Cells["MaximumTriggerField"].Activation = Activation.NoEdit;
                    e.Row.Cells["MaximumTriggerValue"].Activation = Activation.NoEdit;
                    e.Row.Cells["FSBase"].Activation              = (canEdit ? Activation.AllowEdit : Activation.NoEdit);
                    e.Row.Cells["Status"].Activation              = Activation.NoEdit;
                    break;
                }
            }
            catch (Exception ex) { reportError(ex); }
        }
 private void ultraGrid1_InitializeRow(object sender, Infragistics.Win.UltraWinGrid.InitializeRowEventArgs e)
 {
 }