public FolderRowChangeEvent(FolderRow row, global::System.Data.DataRowAction action) {
     this.eventRow = row;
     this.eventAction = action;
 }
 public MessageRow AddMessageRow(
             int UID, 
             string Subject, 
             System.DateTime DateSent, 
             System.DateTime DateReceived, 
             string ReceivedSPF, 
             string ContentTransferEncoding, 
             string DeliveredTo, 
             string XGmailReceived, 
             string Organization, 
             string InReplyTo, 
             string XOriginatingIP, 
             string Received, 
             string MimeVersion, 
             string ContentType, 
             string ContentClass, 
             string ReturnPath, 
             string XMailer, 
             string XMimeOLE, 
             string XOriginalArrivalTime, 
             string MessageID, 
             string XMSTNEFCorrelator, 
             string ThreadTopic, 
             string ThreadIndex, 
             FolderRow parentFolderRowByFK_Folder_Message, 
             bool Seen, 
             bool Answered, 
             bool Draft, 
             bool Deleted, 
             bool Recent, 
             bool Flagged) {
     MessageRow rowMessageRow = ((MessageRow)(this.NewRow()));
     object[] columnValuesArray = new object[] {
             null,
             UID,
             Subject,
             DateSent,
             DateReceived,
             ReceivedSPF,
             ContentTransferEncoding,
             DeliveredTo,
             XGmailReceived,
             Organization,
             InReplyTo,
             XOriginatingIP,
             Received,
             MimeVersion,
             ContentType,
             ContentClass,
             ReturnPath,
             XMailer,
             XMimeOLE,
             XOriginalArrivalTime,
             MessageID,
             XMSTNEFCorrelator,
             ThreadTopic,
             ThreadIndex,
             null,
             Seen,
             Answered,
             Draft,
             Deleted,
             Recent,
             Flagged};
     if ((parentFolderRowByFK_Folder_Message != null)) {
         columnValuesArray[24] = parentFolderRowByFK_Folder_Message[0];
     }
     rowMessageRow.ItemArray = columnValuesArray;
     this.Rows.Add(rowMessageRow);
     return rowMessageRow;
 }
 public FolderRow AddFolderRow(string Name, FolderRow parentFolderRowByFK_Folder_Folder, string FullPath, int Exists, int Recent, int Unseen) {
     FolderRow rowFolderRow = ((FolderRow)(this.NewRow()));
     object[] columnValuesArray = new object[] {
             null,
             Name,
             null,
             FullPath,
             Exists,
             Recent,
             Unseen};
     if ((parentFolderRowByFK_Folder_Folder != null)) {
         columnValuesArray[2] = parentFolderRowByFK_Folder_Folder[0];
     }
     rowFolderRow.ItemArray = columnValuesArray;
     this.Rows.Add(rowFolderRow);
     return rowFolderRow;
 }
 public void RemoveFolderRow(FolderRow row) {
     this.Rows.Remove(row);
 }
 public void AddFolderRow(FolderRow row) {
     this.Rows.Add(row);
 }