Пример #1
0
 private void FormVoiceMails_FormClosing(object sender, FormClosingEventArgs e)
 {
     //Change the ClockStatus to Available if the logged on user is clocked in and the same user as the extension.
     if (FormOpenDental.PhoneTile.PhoneCur != null &&
         ClockEvents.IsClockedIn(Security.CurUser.EmployeeNum) &&
         Security.CurUser.EmployeeNum == FormOpenDental.PhoneTile.PhoneCur.EmployeeNum)
     {
         FormOpenDental.S_SetPhoneStatusAvailable();
     }
 }