private void LoadStadistics() { Stadisticts stats = x.LoadStadistics(); if (l_TicketCounts.Text != stats.TicketCounts.ToString()) { l_TicketCounts.Text = stats.TicketCounts.ToString(); } if (l_TicketCounted.Text != stats.TicketCounted.ToString()) { l_TicketCounted.Text = stats.TicketCounted.ToString(); } if (l_TicketBlanks.Text != stats.TicketBlank.ToString()) { l_TicketBlanks.Text = stats.TicketBlank.ToString(); } if (l_TicketVerified.Text != stats.TicketVerified.ToString()) { l_TicketVerified.Text = stats.TicketVerified.ToString(); } if (l_TicketVoid.Text != stats.TicketVoid.ToString()) { l_TicketVoid.Text = stats.TicketVoid.ToString(); } if (l_MOTags.Text != stats.MOTags.ToString()) { l_MOTags.Text = stats.MOTags.ToString(); } if (l_MOTagsCounted.Text != stats.MOTagsCounted.ToString()) { l_MOTagsCounted.Text = stats.MOTagsCounted.ToString(); } int Porcentage = stats.TicketCountedPorcentage; if (pb_CountedTickets.Value != Porcentage || l_CountedTags.Text != stats.TicketCounted.ToString()) { l_CountedTags.Text = stats.TicketCounted.ToString(); pb_CountedTickets.Value = Porcentage; gb_CountedTikets.Text = "Inventory Event Progress " + Porcentage.ToString() + "% : " + stats.TotalTicketsCounted.ToString() + "/" + stats.TotalTickets.ToString(); } }