示例#1
0
        public override bool Equals(object obj)
        {
            FormalMessage t_message = null;

            try
            {
                t_message = (FormalMessage)obj;
            }
            catch (Exception)
            {
                return(false);
            }
            if (t_message.Get_sender_user_id == sender_user_id && t_message.message_text == message_text)
            {
                return(true);
            }
            return(false);
        }
示例#2
0
 public Di_Mess_ClientInformFormalMessage(FormalMessage p_message, int p_message_id)
 {
     message    = p_message;
     message_id = p_message_id;
 }