Git Product home page Git Product logo

circularprogressbar's People

Contributors

bormm avatar falahati avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

circularprogressbar's Issues

Update readme.md to include screenshots

One thing I love about cocoapods (iOS reusable code sharing mechanism) is people tend to be quite explicative about what their code does/doesn't do.

Specially for their readme they invest into graphics that display the look and feel of the product as well as the customisation of the element.

Have you thought about improving the documentation by including these elements? I am pretty sure that it will be something to look forward in the nuget community.

Something odd with the colours

Just trying to get it to look good, but something is off

image

Basically it is looking like the screenshot, I'm not really sure what I did wrong. Any help would be appreciated

Circular Progress bar Invalid Resx file?

So i downloaded a Circular ProgressBar package with nuget, when i drag the component onto the form, and try to run the program, i get this error and idk how to fix it. I'm using visual studio 2015 community edition, and ideas?
progress error

Progress Colors

Using the progress bar several times (twice or more), setting its value, progressbar colors don't refresh.

Example
CircularProgressBar1.Value = 0
CircularProgressBar1.Text = CircularProgressBar1.Value.ToString

            CircularProgressBar1.Value = 10
            CircularProgressBar1.Text = CircularProgressBar1.Value.ToString

            CircularProgressBar1.Value = 30
            CircularProgressBar1.Text = CircularProgressBar1.Value.ToString

           'Resetting value
           CircularProgressBar1.Value = 0
           CircularProgressBar1.Text = CircularProgressBar1.Value.ToString
           CircularProgressBar1.Refresh()

First time works perfectly, from the second time the colors are not updated properly.

Thanks a lot
Best regards

Could not load file or assembly 'WinFormAnimation, Version=1.3.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies.The system cannot find the file specified.

Hello. After I downloaded the package via NuGet Packet Manager, I am getting the error has been attached although winFormAnimation.dll is in my references. The program works correctly but I cannot see the form in [Design] section. What can be the solution for this error? I deleted package and downloaded it again but it did not help. Thank you in advance.
error12
references

Cannot change the .23 in loading.

Hello i've been using CircularProgressBar since last night, i've gotten it to say % but cannot get it to start from 0% to 20% without having this: 0.23% to 20.23%
I want to remove that ,23% from loading, but i do not know how. Could you help me please?

Async void with MessageBox.Show() causes memory and thread leaks depending on the value of MessageBoxOptions.

Problem

Use one of the following options to display the popup on async void method, it cause Memory and Thread leakage.

  • MessageBoxOptions.DefaultDesktopOnly
  • MessageBoxOptions.ServiceNotification

Then, the pop-up will increase by about one thread per second while the pop-up is being displayed.


Environment info

  • Windows10 Pro 1903
    • .Net Framework 4.8
    • .Net Core 3.1

Procedure to reproduce the problem

Create a new WinForms project, add one CircularProgressBar to the Form, and add an OnLoad event.
And change OnLoad method to async void and await something.

private async void Form1_Load(object sender, EventArgs e)
{
    await Task.Delay(1000);
    MessageBox.Show("Not Leak", "01", MessageBoxButtons.OK, MessageBoxIcon.Error);  // Not Leak
    MessageBox.Show("Not Leak", "02", MessageBoxButtons.OK, MessageBoxIcon.Error, MessageBoxDefaultButton.Button1, MessageBoxOptions.RightAlign);  // Not Leak
    MessageBox.Show("Not Leak", "03", MessageBoxButtons.OK, MessageBoxIcon.Error, MessageBoxDefaultButton.Button1, MessageBoxOptions.RtlReading);  // Not Leak
    MessageBox.Show("Leak", "04", MessageBoxButtons.OK, MessageBoxIcon.Error, MessageBoxDefaultButton.Button1, MessageBoxOptions.DefaultDesktopOnly); // Leak
    MessageBox.Show("Leak", "05", MessageBoxButtons.OK, MessageBoxIcon.Error, MessageBoxDefaultButton.Button1, MessageBoxOptions.ServiceNotification); // Leak
    MessageBox.Show("Not Leak", "06", MessageBoxButtons.OK, MessageBoxIcon.Error);  // Not Leak
}

Can the user control the progress bar?

Hello, I was wondering if it was possible to allow the user to change the value of the progress bar himself by clicking on where he wants as for the basic progress bar?

Margin on sup and sub texts

Hi dude @falahati . Thxs for you sharing this amazing tool. I have a little problem, i have fixed a principal text tha is the avarage percentage, set the Sup and Sub Text to show other informations and place then in the center, but if i change the Principal Text the margin of sub and sup text change, they not stay in the original position... this is proposital or any kind of bug ? Becouse i cant set theier position to any location, so not make sense if i change de "TEXT" property this reflect in the other texts ... Sorry fot the English and here have some prints.
Example 1
Example 3
Example 2

Error “Parameter is not valid” when I minimize form that contains CircularProgressBar

These are the error, I'm getting when I try to press the minimized button.
Can you please check, if it is a bug?

System.ArgumentException
HResult=0x80070057
Message=Parameter is not valid.
Source=System.Drawing
StackTrace:
at System.Drawing.Bitmap..ctor(Int32 width, Int32 height, PixelFormat format)
at System.Drawing.Bitmap..ctor(Int32 width, Int32 height)
at CircularProgressBar.CircularProgressBar.RecreateBackgroundBrush()
at CircularProgressBar.CircularProgressBar.ParentOnResize(Object sender, EventArgs eventArgs)
at System.Windows.Forms.Control.OnResize(EventArgs e)
at System.Windows.Forms.UserControl.OnResize(EventArgs e)
at System.Windows.Forms.Control.OnSizeChanged(EventArgs e)
at System.Windows.Forms.Control.UpdateBounds(Int32 x, Int32 y, Int32 width, Int32 height, Int32 clientWidth, Int32 clientHeight)
at System.Windows.Forms.Control.UpdateBounds()
at System.Windows.Forms.Control.WmWindowPosChanged(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.UserControl.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Filling the ProgressColor is not always correct

                g.FillPie(
                    new SolidBrush(ProgressColor),
                    ToRectangle(new RectangleF(point, size)),
                    _animatedStartAngle ?? StartAngle,
                    (_animatedValue ?? Value) / (Maximum - Minimum) * 360);

shoudl be

                g.FillPie(
                    new SolidBrush(ProgressColor),
                    ToRectangle(new RectangleF(point, size)),
                    _animatedStartAngle ?? StartAngle,
                    (_animatedValue ?? (Value - Minimum)) / (Maximum - Minimum) * 360);

How to start animation

Hello,
I do not understand how to start the animation as shown in the example with the element N ° 5.
Thank you in advance

On animation

First of all, I thank the author for sharing such a good plug-in, but I don't want to use plug-in animation, so I put the "WinFormAnimation.KnownAnimationFunctions . none" is assigned to the "animationfunction" property , but an error is reported
The error information is as follows “The passed animation function is unknown. Parameter name: knownFunction Actual value was None.”
Ask the author for a solution

CircularProgressBar should not be sealed

In general it is a bad idea to define UI elements as sealed, because a number of extensions are plausible (be it only forcing default values for its properties for example).

So I highly suggest to make it non-sealed.

Transparency issues with multiple objects

First of, nice job with the progress bars, it has most of the functionality needed. However, I need to have a progress bar on top of another progress bar, thus making center transparent. Doing so results in an ultimate transparency where I get the background image instead of the progress bar laying behind.
Is it possible in any other way to have two progress bars laying on top of each other having the circle graphs laying next to each other?

Setting Background to Transparent gives Error "Property value is not valid".

With details "Value does not fall within the expected range.".

Using Visual Studio 2010, on .NET 4.0

It does this for both version 2.1.0 and 2.2.0

Edit1: Just noticed a similar issue was created, defining this exact same issue.
Apparently the reason it does not support Transparency, is because of AntiAliasing Reasons.
While It might be fine to just use the background colour, it does not however fix the issue of overlapping Forms, Text, and other Circular Progress Bars, as the background will create a horrible Square over the progress bar.
I will leave it up to falahati to either close or leave this issue open, until it is solved.

Border around progressbar

Hello,
There seems to be a square border around the progress bar not in preview but while application is running.
I have set the background to match mine but the border still remains.
preview_mode
run_mode

Disable Animation

Please allow to disable animation all together.
Update a copy process with lots of small files; the CircularProgressBar will lag a lot!

Control won't show up in the Toolbox

I'm having problems to find the Control in my Toolbox. I added the package through nuget to my project that is made in .Net 3.5 and built it. But the Circular ProgressBar wont show up in my Toolbox.

'CircularProgressBar' and 'WinFormAnimation' do show up in my references, tho.

Failed to create component 'CircularProgressBar'

Hi there,

I tried to load the Circular Progress Baron the form, I see this error. I have no idea how to fix this. I am using Visual Studio 2015 and using VB.NET.
error

Thank you

Regards,
Saif Malik

Grey border around the box

When i have a black background color on the form, i see a box around the circle, as a container.
Is there any way for hide it?

Thanks and regards

Porting to .NET 5

Hi.
We need this library for a self-contained Winforms-App on .NET 5. I tried to convert it to the new framework and it seems to be fairly easy.
I don't know what it takes to keep it compatible to the legacy .NET Framework (4.0) though. Do you have interest in supporting .NET 5 projects?

Deleting Marquee Progress bar causes Visual Studio 2010 to Crash.

If the progress bar is set as Marquee, It becomes extremely buggy, and causes Visual Studio 2010 to crash every single time you try to delete the progress bar.

If you change the progress bar to Block or Continuous, and then delete the progress bar, it works fine.

Version 2.2.0 install using NuGet.

how to hide secondary text?

hi man I really appreciate it about this free tool.
I want to show just one text in middle of the progress circle. how to hide secondary text from it?

cross thread issue progress bar stop

i am using vs 2017 with winform.
circularProgressbar is working great but if i use thread.sleep method under button click then circularProgressbar hang.
is there any event that i can use that event to handle the update progressbar.

i am using Marquee style.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.