public void ShareScrennNotification(string from, string connectionString) { ScrenShareForm screenShareForm = new ScrenShareForm(from, connectionString, false); ClientInformation.ShareScreenWindows.Add(from, screenShareForm); screenShareForm.Show(); }
public void GroupShareScreenNotification(string sender, string groupName, string connectionString) { if (!ClientInformation.ShareScreenWindows.ToList().Exists(x => x.Key == groupName)) { ScrenShareForm screenShareForm = new ScrenShareForm(groupName, connectionString, true); ClientInformation.ShareScreenWindows.Add(groupName, screenShareForm); screenShareForm.Show(); } }