public void AddVoiceMessage(User _user, string path)
        {
            GroupUI.ucGroupInteract.AddMessage(_user.Name + ": " + "Send a voice");

            Panel tempPanel = new Panel();

            tempPanel.AutoSize = true;
            tempPanel.Dock     = DockStyle.Top;

            ucUserINChatBox userINChatBox = new ucUserINChatBox(_user, group.ID);

            userINChatBox.DisableDelete();
            userINChatBox.DisableEdit();
            ucVoiceMessage voiceMessage = new ucVoiceMessage(path, userINChatBox);

            voiceMessage.Path  = path;
            voiceMessage.Dock  = DockStyle.Top;
            userINChatBox.Dock = DockStyle.Top;

            userINChatBox._AddVoiceMessage(voiceMessage);
            tempPanel.Controls.Add(userINChatBox);
            this.panelListChat.Controls.Add(tempPanel);
            userINChatBox.InitColor();
            // voiceMessage.InitColor();
            userINChatBoxes.Add(userINChatBox);
        }
 public void _AddVoiceMessage(ucVoiceMessage voiceMessage)
 {
     isFile = false;
     this.panelAddMessage.Controls.Add(voiceMessage);
     this.ucVoiceMessage = voiceMessage;
 }