Click here to Skip to main content
15,899,313 members
Home / Discussions / C#
   

C#

 
GeneralRe: Save Pin
Christian Graus2-Sep-07 7:25
protectorChristian Graus2-Sep-07 7:25 
GeneralRe: Save Pin
Guffa2-Sep-07 8:27
Guffa2-Sep-07 8:27 
GeneralRe: Save Pin
Assaf822-Sep-07 8:29
Assaf822-Sep-07 8:29 
GeneralRe: Save Pin
Christian Graus2-Sep-07 8:33
protectorChristian Graus2-Sep-07 8:33 
GeneralRe: Save Pin
Pete O'Hanlon2-Sep-07 9:54
mvePete O'Hanlon2-Sep-07 9:54 
Questioninvoking static method by type name Pin
AndrusM2-Sep-07 1:14
AndrusM2-Sep-07 1:14 
AnswerRe: invoking static method by type name Pin
Scott Dorman2-Sep-07 3:09
professionalScott Dorman2-Sep-07 3:09 
GeneralRe: invoking static method by type name Pin
AndrusM2-Sep-07 4:49
AndrusM2-Sep-07 4:49 
GeneralRe: invoking static method by type name Pin
Christian Graus2-Sep-07 5:01
protectorChristian Graus2-Sep-07 5:01 
GeneralRe: invoking static method by type name Pin
AndrusM2-Sep-07 5:28
AndrusM2-Sep-07 5:28 
GeneralRe: invoking static method by type name Pin
Insincere Dave2-Sep-07 7:46
Insincere Dave2-Sep-07 7:46 
Questiondefault accessibility Pin
jon-802-Sep-07 1:11
professionaljon-802-Sep-07 1:11 
AnswerRe: default accessibility Pin
Ahmad Adnan2-Sep-07 3:04
Ahmad Adnan2-Sep-07 3:04 
AnswerRe: default accessibility [modified] Pin
Scott Dorman2-Sep-07 3:05
professionalScott Dorman2-Sep-07 3:05 
GeneralRe: default accessibility Pin
jon-802-Sep-07 4:21
professionaljon-802-Sep-07 4:21 
GeneralRe: default accessibility Pin
Steve Hansen2-Sep-07 7:28
Steve Hansen2-Sep-07 7:28 
GeneralRe: default accessibility Pin
Scott Dorman4-Sep-07 7:28
professionalScott Dorman4-Sep-07 7:28 
AnswerRe: default accessibility for classes can be internal Pin
Arjan Einbu2-Sep-07 4:13
Arjan Einbu2-Sep-07 4:13 
GeneralRe: default accessibility for classes can be internal Pin
jon-802-Sep-07 4:34
professionaljon-802-Sep-07 4:34 
Questionchange defualt priter page size Pin
hamid_m2-Sep-07 0:41
hamid_m2-Sep-07 0:41 
AnswerRe: change defualt priter page size Pin
Vasudevan Deepak Kumar2-Sep-07 0:47
Vasudevan Deepak Kumar2-Sep-07 0:47 
GeneralRe: change defualt priter page size Pin
hamid_m2-Sep-07 1:18
hamid_m2-Sep-07 1:18 
AnswerRe: change defualt priter page size Pin
Rupesh Kumar Swami2-Sep-07 1:06
Rupesh Kumar Swami2-Sep-07 1:06 
QuestionChanging "SizeFromClientSize" Pin
xxxprod1-Sep-07 22:29
xxxprod1-Sep-07 22:29 
Hi everyone,

Im trying to create a Container Control, which has selfdrawn borders and a few buttons to do something with it. I would like that my Control behaves professional, like a Windows.Forms.Control.

But now comes my Problem:

All I want to achieve is that no SubControl which I add to my Control can overlay the Control's borders.

I've tried to redirect the ControlCollection with my own inherited ControlCollection to an inner Panel wich then would have exact the ClientSize i want. - That works fine as long as you are not working with the Visual-Studio Designer else it throws NullReferenceExceptions or IndexOutOfRangeExceptions(Because the Control's Collection doesnt contain the inner Panel).

So now my next thought was to manipulate the ClientSize. A Form has a smaller ClientSize according to its Size then a Control because of its Border. So what if someone like me, wants his Control to have a different Border then the usual "FixedSingle,Fixed3d and None" then he must have to manipulate the CLientSize according to his Control's Border.
Ok unfortunatly Im not able to achieve this because when I resize the CLientSize also the Size Property changes and vise versa.

Hope someone has an idea how I could break this behavior.

Thanks in advance and sorry for my spelling mistakes.

XXX
QuestionF9 doesn't work in Visual Studio Pin
anderslundsgard1-Sep-07 21:14
anderslundsgard1-Sep-07 21:14 

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.