Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added the option to set tick value when calling Tick() #11

Merged
merged 1 commit into from
Sep 21, 2017
Merged

Added the option to set tick value when calling Tick() #11

merged 1 commit into from
Sep 21, 2017

Conversation

Toyz
Copy link
Contributor

@Toyz Toyz commented Oct 9, 2016

Added the option to override the percentage in the Tick function to set the current Tick amount to any number

@robgha01
Copy link

robgha01 commented May 30, 2017

Any notes when this will get merged ? im using a WebClient with this library and need this feature to get a proper progress bar tick.

At the moment im using this ugly hack xD

var prog = typeof(ProgressBar).BaseType;
prog?.GetField("_currentTick", BindingFlags.NonPublic | BindingFlags.Instance)?.SetValue(progressBar, progress);

@Mpdreamz
Copy link
Owner

Ty @Toyz, very much appreciated! I've been neglecting this repository for tooooo long. Better late than never @robgha01 ?

@Mpdreamz Mpdreamz merged commit 66bb030 into Mpdreamz:master Sep 21, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants