private void PendingConnections_FormClosed(object sender, FormClosedEventArgs e) { //if (string.Equals((sender as Button).Name, @"CloseButton")) //{ screenShareManager.LogOff(userID); //} }
public void LogOffDesktop(int userID) { screenShareComplexManager.LogOff(userID); }