//shows number of unresolved incidents
        private void DisplayUnresolved()
        {
            string count  = ticket_Service.UnresolvedCount(ticket_Service.GetAllTickets()).ToString();
            string count2 = ticket_Service.IncidentCount(ticket_Service.GetAllTickets()).ToString();

            //sets progress bar min, max and current value of unresolved incidents
            unresolved_ProgressBar.Minimum = 0;
            unresolved_ProgressBar.Value   = ticket_Service.UnresolvedCount(ticket_Service.GetAllTickets());
            unresolved_ProgressBar.Maximum = ticket_Service.IncidentCount(ticket_Service.GetAllTickets());
            unresolved_ProgressBar.Text    = ticket_Service.UnresolvedCount(ticket_Service.GetAllTickets()).ToString() + "/" + ticket_Service.IncidentCount(ticket_Service.GetAllTickets());
        }
Beispiel #2
0
        //shows number of unresolved incidents
        private void DisplayUnresolved()
        {
            string count  = ticket_Service.UnresolvedCount(ticket_Service.GetAllTickets()).ToString();
            string count2 = ticket_Service.IncidentCount(ticket_Service.GetAllTickets()).ToString();

            unresolved_incidents_TXT.Text = count + "/" + count2;
        }