public PrivateChat(string user, string opponent) { InitializeComponent(); ChatHost = ClientInstances.Instance.Chat.ChatHost; GameHost = ClientInstances.Instance.Chat.GameHost; User = user; Opponent = opponent; howToChat.Text = TopMenu.GetHelpForPrChat(); about.Text = TopMenu.GetAbout(); topTitle.Text += Opponent; title.Text += User; titleHours.DataContext = ClientInstances.Instance.Time; titleMinutes.DataContext = ClientInstances.Instance.Time; titleSecond.DataContext = ClientInstances.Instance.Time; Show(); }