![]() | |
![]() |
| | Thread Tools | Search this Thread | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi, I'm a beginner in graphics programming. I have the following situation: I have to show existing bitmap in the control on the form and then put one or several transparent layers over it which will be used for drawing. Which control to use to load the existing bitmap on o form? Will picture box do? Do I need another control for layer/layers? Thanks, Jurica |
#3
| |||
| |||
|
|
You will be better off building a complete custom form for this job. The functionality of the picure box control is inconsequential and you can easly create a control that uses say, an array of images for layers. -- Bob Powell [MVP] Visual C#, System.Drawing Ramuseco Limited .NET consulting http://www.ramuseco.com Find great Windows Forms articles in Windows Forms Tips and Tricks http://www.bobpowell.net/tipstricks.htm Answer those GDI+ questions with the GDI+ FAQ http://www.bobpowell.net/faqmain.htm All new articles provide code in C# and VB.NET. Subscribe to the RSS feeds provided and never miss a new article. "Jurica" <Jurica (AT) discussions (DOT) microsoft.com> wrote in message news:E1AE30E7-748A-4A60-9363-5DE58CCAFFED (AT) microsoft (DOT) com... Hi, I'm a beginner in graphics programming. I have the following situation: I have to show existing bitmap in the control on the form and then put one or several transparent layers over it which will be used for drawing. Which control to use to load the existing bitmap on o form? Will picture box do? Do I need another control for layer/layers? Thanks, Jurica |
#4
| |||
| |||
|
|
Thank you for the quick response. I'm experimenting a little and I've realized that picture box is a bad choice. Can you please tell me if you know some kind of the image editing control that already exists, or where to start in building it (use array of panel controls e.g.) Thanks, Jurica "Bob Powell [MVP]" wrote: You will be better off building a complete custom form for this job. The functionality of the picure box control is inconsequential and you can easly create a control that uses say, an array of images for layers. -- Bob Powell [MVP] Visual C#, System.Drawing Ramuseco Limited .NET consulting http://www.ramuseco.com Find great Windows Forms articles in Windows Forms Tips and Tricks http://www.bobpowell.net/tipstricks.htm Answer those GDI+ questions with the GDI+ FAQ http://www.bobpowell.net/faqmain.htm All new articles provide code in C# and VB.NET. Subscribe to the RSS feeds provided and never miss a new article. "Jurica" <Jurica (AT) discussions (DOT) microsoft.com> wrote in message news:E1AE30E7-748A-4A60-9363-5DE58CCAFFED (AT) microsoft (DOT) com... Hi, I'm a beginner in graphics programming. I have the following situation: I have to show existing bitmap in the control on the form and then put one or several transparent layers over it which will be used for drawing. Which control to use to load the existing bitmap on o form? Will picture box do? Do I need another control for layer/layers? Thanks, Jurica |
#5
| |||
| |||
|
|
Stay away from arrays of controls. Create a Control based object that can display either a collection of images or uses a collection of custom objects containing say, an image and an alpha setting. Writing your own custom control (NOT a usercontrol) will be fare easier in this case. -- Bob Powell [MVP] Visual C#, System.Drawing Ramuseco Limited .NET consulting http://www.ramuseco.com Find great Windows Forms articles in Windows Forms Tips and Tricks http://www.bobpowell.net/tipstricks.htm Answer those GDI+ questions with the GDI+ FAQ http://www.bobpowell.net/faqmain.htm All new articles provide code in C# and VB.NET. Subscribe to the RSS feeds provided and never miss a new article. "Jurica" <Jurica (AT) discussions (DOT) microsoft.com> wrote in message news:880299D9-1749-498F-AD29-56AEC82ED9B4 (AT) microsoft (DOT) com... Thank you for the quick response. I'm experimenting a little and I've realized that picture box is a bad choice. Can you please tell me if you know some kind of the image editing control that already exists, or where to start in building it (use array of panel controls e.g.) Thanks, Jurica "Bob Powell [MVP]" wrote: You will be better off building a complete custom form for this job. The functionality of the picure box control is inconsequential and you can easly create a control that uses say, an array of images for layers. -- Bob Powell [MVP] Visual C#, System.Drawing Ramuseco Limited .NET consulting http://www.ramuseco.com Find great Windows Forms articles in Windows Forms Tips and Tricks http://www.bobpowell.net/tipstricks.htm Answer those GDI+ questions with the GDI+ FAQ http://www.bobpowell.net/faqmain.htm All new articles provide code in C# and VB.NET. Subscribe to the RSS feeds provided and never miss a new article. "Jurica" <Jurica (AT) discussions (DOT) microsoft.com> wrote in message news:E1AE30E7-748A-4A60-9363-5DE58CCAFFED (AT) microsoft (DOT) com... Hi, I'm a beginner in graphics programming. I have the following situation: I have to show existing bitmap in the control on the form and then put one or several transparent layers over it which will be used for drawing. Which control to use to load the existing bitmap on o form? Will picture box do? Do I need another control for layer/layers? Thanks, Jurica |
#6
| |||
| |||
|
|
I have to show existing bitmap in the control on the form and then put one or several transparent layers over it which will be used for drawing Can you please tell me if you know some kind of the image editing control that already exists, |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |