/// <summary> /// Add and show the inbox user control. /// </summary> private void AddInboxWuc() { inboxW = new wuc.wuc_inbox(srv, login, contacts); Controls.Add(inboxW); }
/// <summary> /// Hide and dispose of the inbodx user control. /// </summary> private void RemoveInboxWuc() { Controls.Remove(inboxW); inboxW.Dispose(); inboxW = null; }