I have 2 projects interacting. A Windows Application and a Class Library.
I now want to show a ProgressBar on a window from the windows application from within the class library.
The progressbar should appear above a picturebox, so I take the picturebox as a parameter in the procedure. In this way pb.location, pb.parent and pb.size should be al the info I need...
So I use pb.Parent.Controls.Add(ProgressBar) and than pb.show()
But the progressbar does not seem to be drawn.
Anybody has any Idea on how this could be solved?
I now want to show a ProgressBar on a window from the windows application from within the class library.
The progressbar should appear above a picturebox, so I take the picturebox as a parameter in the procedure. In this way pb.location, pb.parent and pb.size should be al the info I need...
So I use pb.Parent.Controls.Add(ProgressBar) and than pb.show()
But the progressbar does not seem to be drawn.
Anybody has any Idea on how this could be solved?