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(); } }
public bool ControlConnectionForJoin(string pendingStatus, int connectionID) { return(screenShareComplexManager.ControlConnectionForJoin(pendingStatus, connectionID)); }