I need a very small application template written in C# .Net 2.0 and it shoul be tested on Windows and Linux using the latest mono runtime? (www.**mono**[url removed, login to view]).
The application which will be built on top of this template will be a browser like tabbed app, which loads different xml files into a tabcontrols tabpages and render different data entry screens with standard .Winforms 2.0 controls.
This complex task? is? NOT part of this project, now we need to implement just the control rendering part of it.
Untill here we have nothing special.
What the special thing is:
1. the pages should have a background image, each tab shuld have a different one AND
2. the controls should be transparent - only these controls are needed anyway: label,textbox,combobox,checkbox,optionbutton,picturebox.
The controls will not overlap each other, so there won't be any controls between them and the background image in Z dimension.
On a form should be maximum 50 controls.
This could be easily coded using:
1. setting the controls backcolor=[url removed, login to view]
2.? setting the controls parent=bgPictureBox
becouse these Winforms controls support this kind of transparency out of the box...
The only problem is the drawing speed!!!
Whe I put on a form 2 full screen pictureboxes and add 25,25 transparent labels to each other and switch between the pictureboxes, the controls are drawn very slowly.
When turning off the transparency of the controls, the rendering speed becomes normal.
So the goal is to make this app rendering very fast when switching between the simulated tabpages using transparent controls...
You can use standard tabcontrol, or a simulated one like in the sample application (using picture box+ button bar) or you can use your derived custom controls. No matter, how you achive the? goal, but should be fast on mono also...
Check out the attached sample code to test the behaviour...
If you have a solution out of the box, you got the job immediatelly.