Author Topic: ModernUI_ProgressDots Control  (Read 1160 times)

fearless

  • Member
  • ***
  • Posts: 469
    • LetTheLightIn
ModernUI_ProgressDots Control
« on: July 31, 2018, 06:32:30 AM »
I had wanted to do a control based on the windows phone dots. After some searching I came some references to a performanceProgressBar control set to inderminate. I couldn't find a lot on this type of control or how it might be created. But after some time thinking about how it could be implemented, I decided to try and create one, and decided I would call it ProgressDots.

Download

The control can be downloaded via the ModernUI repository or downloaded directly from this link: https://github.com/mrfearless/ModernUI/blob/master/Release/ModernUI_ProgressDots.zip?raw=true


Example

I created an example project to demonstrate it. A clone of a visual studio installer type thing called Radasm Studio :D

The example (which includes a Radasm project) can be downloaded via the ModernUI repository or downloaded directly from this link: https://github.com/mrfearless/ModernUI/blob/master/Release/MUIProgressDotsTest.zip?raw=true

Here is a gif to give an idea of how it looks:



Also I updated the ModernUI_CaptionBar control to allow a background image - which is in the demo.
fearless

CM690II Case, HX1000 PSU, Asus Z97, Intel i7-4790K, Seidon 120v Cooler, 16GB DDR3, MSI GTX 980TI

My Github  Twitter

HSE

  • Member
  • *****
  • Posts: 1148
  • <AMD>< 7-32>
Re: ModernUI_ProgressDots Control
« Reply #1 on: July 31, 2018, 08:11:52 AM »
Don't work!! It's not installing nothing  :biggrin:

 :t

felipe

  • Member
  • *****
  • Posts: 1249
  • Eagles are just great!
Re: ModernUI_ProgressDots Control
« Reply #2 on: July 31, 2018, 12:42:39 PM »
Don't work!! It's not installing nothing

Don't worry!! is not actually visual studio... :P

 :t
Felipe.

fearless

  • Member
  • ***
  • Posts: 469
    • LetTheLightIn
Re: ModernUI_ProgressDots Control
« Reply #3 on: July 31, 2018, 12:44:36 PM »
I have added another demo that expands on the fake installer to show a few more of the ModernUI controls, mainly the ModernUI_SmartPanel.

If you press cancel or x whilst its "preparing", the panels move back to show you a cancel confirmation panel. If you hit no, then panel slides back to what it was doing before.
After some time (5secs) of "preparing" it will auto slide to next page to allow user to "choose" component installation (nothing actually there). Then its next or cancel button, cancel slides back to confirm cancel panel etc, next moves on to finish page. On the finish page x will close, so will finish button - no sliding back to confirm at that stage.


During testing, due to thread stuff, it was possible for the panels to act odd, move to the wrong one, glitch out slightly etc. I hope its fixed, fingers crossed, but im sure if someone really wanted to use it as an installer they could probably do a much better job of structuring it all and make the thread stuff work better.


The fake installer now does a little more, but sadly still no installations actually happen ;-)


https://github.com/mrfearless/ModernUI/blob/master/Release/MUIExample1.zip?raw=true

Gif:

fearless

CM690II Case, HX1000 PSU, Asus Z97, Intel i7-4790K, Seidon 120v Cooler, 16GB DDR3, MSI GTX 980TI

My Github  Twitter