public ConversationPanel(Form parent, Conversation theConversation)
 {
     this.parent          = parent;
     this.Size            = parent.ClientSize;
     this.theConversation = theConversation;
     if (ConversationPanel.newMessageSound == null)
     {
         ConversationPanel.newMessageSound = FileResources.Audio("when.wav");
     }
     if (CurrentDisplayedConversationPanel != null && CurrentDisplayedConversationPanel.theConversation != null)
     {
         if (this.theConversation.ConversationID == CurrentDisplayedConversationPanel.theConversation.ConversationID)
         {
             return;
         }
     }
     this.Click += new EventHandler(OnClick);
     if (theConversation == null)
     {
         this.ThreeLinesOnConversationTitleBar();
         this.ShowSmilyWelcome();
         this.LoadNewConversation();
         return;
     }
     if (theConversation.Type == "duet" && ((DuetConversation)theConversation).Member1.Id == User.LoggedIn.Id)
     {
         this.receiver = ((DuetConversation)theConversation).Member2;
     }
     else
     {
         this.receiver = ((DuetConversation)theConversation).Member1;
     }
     this.PrimaryStageInitializer();
     this.LoadNewConversation();
     this.UpdateUserActivity(null);
 }