public tblRGSMainRowChangeEvent(tblRGSMainRow row, global::System.Data.DataRowAction action) { this.eventRow = row; this.eventAction = action; }
public void AddtblRGSMainRow(tblRGSMainRow row) { this.Rows.Add(row); }
public void RemovetblRGSMainRow(tblRGSMainRow row) { this.Rows.Remove(row); }
public tblRGS_ConfigRow AddtblRGS_ConfigRow( string rgs_name, tblRGSMainRow parenttblRGSMainRowBytblRGSMain_tblRGS_Config, uint port, string deviec_id, byte display_part, string freewayId, uint location, string direction, uint from_milepost, uint end_milepost, byte iconid, string msg_temp1, string msg_temp2, string message1, string message2, byte mode, byte ficon, string finput1, string finput2, float traveltime, uint lowerlimit, uint upperlimit, string messageColor1, string messageColor2, string finputColor1, string finputColor2, byte curr_icon, string curr_msg1, string curr_msg2, bool connected) { tblRGS_ConfigRow rowtblRGS_ConfigRow = ((tblRGS_ConfigRow)(this.NewRow())); object[] columnValuesArray = new object[] { rgs_name, null, port, deviec_id, display_part, freewayId, location, direction, from_milepost, end_milepost, iconid, msg_temp1, msg_temp2, message1, message2, mode, ficon, finput1, finput2, traveltime, lowerlimit, upperlimit, messageColor1, messageColor2, finputColor1, finputColor2, curr_icon, curr_msg1, curr_msg2, connected}; if ((parenttblRGSMainRowBytblRGSMain_tblRGS_Config != null)) { columnValuesArray[1] = parenttblRGSMainRowBytblRGSMain_tblRGS_Config[1]; } rowtblRGS_ConfigRow.ItemArray = columnValuesArray; this.Rows.Add(rowtblRGS_ConfigRow); return rowtblRGS_ConfigRow; }