public static void ShowKioskManagerIfNeeded(Appointment oldAppt, long newConfirmed) { long clinicNum = PrefC.HasClinicsEnabled ? oldAppt.ClinicNum : 0; if (!MobileAppDevices.IsClinicSignedUpForEClipboard(clinicNum)) { return; } //If they have eClipboard and want to pop up the kiosk on check-in, show the kiosk manager if (ClinicPrefs.GetBool(PrefName.EClipboardPopupKioskOnCheckIn, clinicNum) && newConfirmed != oldAppt.Confirmed && newConfirmed == PrefC.GetLong(PrefName.AppointmentTimeArrivedTrigger)) { FormTerminalManager formTM = new FormTerminalManager(); formTM.ShowDialog(); } }
private void menuItemTerminalManager_Click(object sender,EventArgs e) { if(formTerminalManager==null || formTerminalManager.IsDisposed) { formTerminalManager=new FormTerminalManager(); } formTerminalManager.Show(); formTerminalManager.BringToFront(); }