.Net C# - Set picturebox background to transparent
$30-5000 USD
已取消
已发布大约 18 年前
$30-5000 USD
货到付款
I need help completing a very small .Net C# app.
(Note: the solution to this is NOT setting the background color of the picturebox to Transparent).
I have a small .net c# app (Visual Studio 2005) that contains one button and one picture box.
Click the button, and the app creates a bitmap object from the picture box image, calls MakeTransparent using White, and then sets the image back to the picture box.
The White part is then changed to the background color of the picturebox.
The problem is that the background color of the picturebox is still visible. I want to make the background transparent.
See attached jpeg for screenshot of exactly what I am looking for.
I was able to do this easily in Visual Basic 6.0 using a User Control with a transparent background and setting the user control picture, mask picture, and mask color.
I'm sure there is an easy solution, I just don't know what it is... please help.
Testapp is attached.
Preference given to coders with Visual Studio 2005. (I've had some grief bouncing between VS 2003 and VS 2005).
## Deliverables
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.
2) Deliverables must be in ready-to-run condition, as follows (depending on the nature of the deliverables):
a) For web sites or other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment.
b) For all others including desktop software or software the buyer intends to distribute: A software installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request.
3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement).
## Platform
Windows 2000
Visual Studio 2005
.Net C#