private bool IsMeSend(NoteInfo noteInfo)
 {
     if (IsMe_CheckEdit.Checked)
     {
         return(ClientCommon.IsLoginUser(noteInfo?.CreateUser));
     }
     else
     {
         return(true);
     }
 }
        private bool IsCheckUnRead(NoteInfo noteInfo)
        {
            if (NoteInfoDetailDatas == null)
            {
                return(false);
            }

            if (NoteInfoDetailDatas.Any(o => o.NoteID == noteInfo?.NoteID && ClientCommon.IsLoginUser(o.UserID) && o.NoteStatus != "2"))
            {
                return(true);
            }
            else
            {
                return(false);
            }
        }
        private void UpdateNoteStatus(NoteInfo noteInfo)
        {
            var noteInfoDetail = NoteInfoDetailDatas.Find(o => o.NoteID == noteInfo.NoteID && ClientCommon.IsLoginUser(o.UserID) && o.NoteStatus != "2");

            if (noteInfoDetail == null)
            {
                return;
            }

            using (NoteInfoDetailController controller = new NoteInfoDetailController())
            {
                noteInfoDetail.NoteStatus = "2";
                controller.UpdateNoteInfoDetailStatus(noteInfoDetail);
            }
        }