Click here to Skip to main content
15,886,693 members
Home / Discussions / C#
   

C#

 
QuestionTableLayoutPanel Cell Pin
Muammar©25-Feb-09 7:37
Muammar©25-Feb-09 7:37 
AnswerRe: TableLayoutPanel Cell Pin
Rutvik Dave25-Feb-09 8:27
professionalRutvik Dave25-Feb-09 8:27 
QuestionDrawImageUnscaled not working Pin
Richard Blythe25-Feb-09 6:43
Richard Blythe25-Feb-09 6:43 
AnswerRe: DrawImageUnscaled not working Pin
Luc Pattyn25-Feb-09 8:24
sitebuilderLuc Pattyn25-Feb-09 8:24 
QuestionForm Key Down Even not activated? Pin
Muammar©25-Feb-09 6:36
Muammar©25-Feb-09 6:36 
AnswerRe: Form Key Down Even not activated? Pin
Richard Blythe25-Feb-09 6:44
Richard Blythe25-Feb-09 6:44 
AnswerRe: Form Key Down Even not activated? Pin
Muammar©25-Feb-09 6:48
Muammar©25-Feb-09 6:48 
Questionis there a better way to do [modified] Pin
netJP12L25-Feb-09 6:18
netJP12L25-Feb-09 6:18 
Hi guys, I have many controls inside a listbox and am displaying the listbox on the left side of the form. If a control is selected a corrospoding control is displayed on the right side of the form.

Simple.

The selected control from the listbox (right sided) control can be zoom like (75%,50%,25%). So for instance, if I zoom, 75% all the elements
inside the control are zoom as well (reflecting the 75%).

Hope it makes sense. Alright...

But how can I display controls inside the listbox not to be 75%. Because the right side pane hold a refece of the selected control from the listbox. so if right side Control is zoom to 75% all its elements reflect to 75% like(Size/Location). All controls inside the listbox should be zoom to 100%

                Form.cs
|---------------------------------------------------
|                                                  |
|             SplitContainer                       |
|  |---------------------------------------------  |
|  |           |        zoom(75%,50%,25%)       |  |
|  |           |     |-----------------------   |  |
|  | control1  |     |                      |   |  |
|  |           |     |                      |   |  |
|  |-----------|     |                      |   |  |
|  |           |     |  Control 2           |   |  |
|  | control2  |     |  is being displayed  |   |  |
|  |           |     |  and it is selected  |   |  |
|  |-----------|     |                      |   |  |
|  |           |     |                      |   |  |
|  | control3  |     |                      |   |  |
|  |           |     -----------------------    |  |
|  ---------------------------------------------   |
|                                                  |
|--------------------------------------------------




The way I solved this issue is that during the OnDrawItem event of the listbox I am making a copy of an individual
elements, resetting their Size and Location to the
zoom factor of 100% and then readding to new control.

I would apprecaite for your kind suggestions
Thanks

modified on Wednesday, February 25, 2009 1:57 PM

AnswerRe: is there a better way to do Pin
Richard Blythe25-Feb-09 6:50
Richard Blythe25-Feb-09 6:50 
AnswerRe: is there a better way to do Pin
Dan Neely25-Feb-09 7:07
Dan Neely25-Feb-09 7:07 
GeneralRe: is there a better way to do Pin
Richard Blythe25-Feb-09 7:16
Richard Blythe25-Feb-09 7:16 
GeneralRe: is there a better way to do Pin
Dan Neely25-Feb-09 7:54
Dan Neely25-Feb-09 7:54 
GeneralRe: is there a better way to do [modified] Pin
netJP12L25-Feb-09 8:02
netJP12L25-Feb-09 8:02 
QuestionFind Control on webform Pin
Terick25-Feb-09 5:12
Terick25-Feb-09 5:12 
AnswerRe: Find Control on webform Pin
J4amieC25-Feb-09 5:38
J4amieC25-Feb-09 5:38 
GeneralRe: Find Control on webform Pin
Terick25-Feb-09 6:03
Terick25-Feb-09 6:03 
GeneralRe: Find Control on webform Pin
Terick25-Feb-09 6:28
Terick25-Feb-09 6:28 
GeneralRe: Find Control on webform Pin
Rutvik Dave25-Feb-09 8:43
professionalRutvik Dave25-Feb-09 8:43 
GeneralRe: Find Control on webform Pin
Terick25-Feb-09 11:04
Terick25-Feb-09 11:04 
QuestionDatetimepicker Pin
cdpace25-Feb-09 5:00
cdpace25-Feb-09 5:00 
AnswerRe: Datetimepicker Pin
PIEBALDconsult25-Feb-09 7:11
mvePIEBALDconsult25-Feb-09 7:11 
GeneralRe: Datetimepicker Pin
cdpace25-Feb-09 8:07
cdpace25-Feb-09 8:07 
QuestionGenerate class from schema with restrictions??? Pin
pankazmittal25-Feb-09 4:53
pankazmittal25-Feb-09 4:53 
QuestionHow to split Large XML files into number of small files Pin
Rizwan Bashir25-Feb-09 4:28
Rizwan Bashir25-Feb-09 4:28 
AnswerRe: How to split Large XML files into number of small files Pin
PIEBALDconsult25-Feb-09 5:13
mvePIEBALDconsult25-Feb-09 5:13 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.