Click here to Skip to main content
15,888,401 members
Home / Discussions / C#
   

C#

 
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 
AnswerRe: F9 doesn't work in Visual Studio Pin
Vasudevan Deepak Kumar1-Sep-07 22:56
Vasudevan Deepak Kumar1-Sep-07 22:56 
QuestionC# Register for COM Interop option Pin
George_George1-Sep-07 19:51
George_George1-Sep-07 19:51 
AnswerRe: C# Register for COM Interop option Pin
Yanshof1-Sep-07 20:55
Yanshof1-Sep-07 20:55 
GeneralRe: C# Register for COM Interop option Pin
George_George1-Sep-07 21:28
George_George1-Sep-07 21:28 
AnswerRe: C# Register for COM Interop option Pin
Vasudevan Deepak Kumar1-Sep-07 22:57
Vasudevan Deepak Kumar1-Sep-07 22:57 
GeneralRe: C# Register for COM Interop option Pin
George_George2-Sep-07 1:51
George_George2-Sep-07 1:51 
QuestionSave Pin
Assaf821-Sep-07 17:56
Assaf821-Sep-07 17:56 
AnswerRe: Save Pin
Rami Said Abd Alhalim1-Sep-07 19:58
Rami Said Abd Alhalim1-Sep-07 19:58 
GeneralRe: Save Pin
Assaf821-Sep-07 22:12
Assaf821-Sep-07 22:12 
GeneralRe: Save Pin
Vasudevan Deepak Kumar1-Sep-07 22:53
Vasudevan Deepak Kumar1-Sep-07 22:53 
GeneralRe: Save Pin
Guffa1-Sep-07 23:15
Guffa1-Sep-07 23:15 
GeneralRe: Save Pin
Vasudevan Deepak Kumar1-Sep-07 23:23
Vasudevan Deepak Kumar1-Sep-07 23:23 
GeneralRe: Save Pin
Guffa1-Sep-07 23:33
Guffa1-Sep-07 23:33 
GeneralRe: Save Pin
Paul Conrad2-Sep-07 5:21
professionalPaul Conrad2-Sep-07 5:21 
AnswerRe: Save Pin
Guffa1-Sep-07 23:14
Guffa1-Sep-07 23:14 
QuestionWaiting for Thread to Join Pin
Brad Wick1-Sep-07 15:32
Brad Wick1-Sep-07 15:32 

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.