Пример #1
0
        //shows number if tickets that are past deadline and unresolved
        private void DisplayPastDeadline()
        {
            string count1 = ticket_Service.PastDeadlineCount(ticket_Service.GetAllTickets()).ToString();
            string count2 = ticket_Service.IncidentCount(ticket_Service.GetAllTickets()).ToString();

            past_deadline_circularProgressBar.Minimum = 0;
            past_deadline_circularProgressBar.Value   = ticket_Service.PastDeadlineCount(ticket_Service.GetAllTickets());
            past_deadline_circularProgressBar.Maximum = ticket_Service.IncidentCount(ticket_Service.GetAllTickets());
            past_deadline_circularProgressBar.Text    = ticket_Service.PastDeadlineCount(ticket_Service.GetAllTickets()).ToString() + "/" + ticket_Service.IncidentCount(ticket_Service.GetAllTickets());
        }
Пример #2
0
        //shows number if tickets that are past deadline and unresolved
        private void DisplayPastDeadline()
        {
            string count1 = ticket_Service.PastDeadlineCount(ticket_Service.GetAllTickets()).ToString();
            string count2 = ticket_Service.IncidentCount(ticket_Service.GetAllTickets()).ToString();

            past_deadline_TXT.Text = count1 + "/" + count2;
        }