private void secondConnectionCheckerTimer_Tick(object sender, EventArgs e)
        {
            secondConnectionCheckerTimer.Stop();
            string Tag = screenShareManager.GetTag(currentUserID, connectionID);

            if (screenShareManager.ControlConnectionForJoin(Tag, connectionID))
            {
                openForm();
            }
            else
            {
                secondConnectionCheckerTimer.Start();
            }
        }
Пример #2
0
 public string GetTag(int currentUserID, int connectionID)
 {
     return(screenShareComplexManager.GetTag(currentUserID, connectionID));
 }