Guest User

Guest User

  • Tech Writer
  • 529
  • 36.7k

I want to show a progress bar of week and month that how many hours ?

Jan 1 2023 11:05 PM

I want to show a progress bar of week and month that how many hours has been passed till now

This Image form Example & Code Example Today Time

lbltoday.Text = (decimal.Parse(DateTime.Now.ToString("HH")) -1 / 24 * 100).ToString();
private void lbltoday_TextChanged(object sender, EventArgs e)
        
}
  proToday.Value = (int)decimal.Parse(lbltoday.Text);      
}

 


Answers (4)