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

C#

 
QuestionChange Windows Time Pin
The Brazilian One9-Aug-07 3:19
The Brazilian One9-Aug-07 3:19 
AnswerRe: Change Windows Time Pin
Martin#9-Aug-07 3:27
Martin#9-Aug-07 3:27 
JokeRe: Change Windows Time Pin
Luc Pattyn9-Aug-07 3:35
sitebuilderLuc Pattyn9-Aug-07 3:35 
GeneralRe: Change Windows Time Pin
Martin#9-Aug-07 3:36
Martin#9-Aug-07 3:36 
GeneralRe: Change Windows Time Pin
Martin#9-Aug-07 3:39
Martin#9-Aug-07 3:39 
QuestionWeb Custom Control Pin
Siva_Tech9-Aug-07 3:18
Siva_Tech9-Aug-07 3:18 
Questionnot working for all screen resolution Pin
Maddie from Dartford9-Aug-07 3:12
Maddie from Dartford9-Aug-07 3:12 
AnswerRe: not working for all screen resolution Pin
Colin Angus Mackay9-Aug-07 3:26
Colin Angus Mackay9-Aug-07 3:26 
gajesh wrote:
I have enable anchor in all direction for all control.


I doubt that is a good idea.

You might want to spend some time thinking about how best to anchor your controls.

Anchoring a control that sits at the top left of the form in all directions will just make it expand when the screen size increases - You probably don't want that to expand in all directions. You probably only want it to stay in position relative to the top left of the form.

You might decide that a text box is something that would be more useful if it stretched width-wise. In that case anchor it to the left and right. And controls to the right of the text box should be anchored to the right, but not the left.

In short, think about what anchoring actually does. There is no one-size-fits-all to apply to all controls. You actually have to think about how you want the form laid out.


Upcoming events:
* Glasgow: Mock Objects, SQL Server CLR Integration, Reporting Services, db4o, Dependency Injection with Spring ...

"I wouldn't say boo to a goose. I'm not a coward, I just realise that it would be largely pointless."


My website

GeneralRe: not working for all screen resolution Pin
led mike9-Aug-07 4:45
led mike9-Aug-07 4:45 
GeneralRe: not working for all screen resolution Pin
Dan Neely9-Aug-07 5:26
Dan Neely9-Aug-07 5:26 
AnswerRe: not working for all screen resolution Pin
Imranlogi10-Aug-07 2:37
Imranlogi10-Aug-07 2:37 
QuestionString to Enum... Pin
Malcolm Smart9-Aug-07 3:02
Malcolm Smart9-Aug-07 3:02 
AnswerRe: String to Enum... Pin
JoeSharp9-Aug-07 3:05
JoeSharp9-Aug-07 3:05 
GeneralRe: String to Enum... Pin
Malcolm Smart9-Aug-07 3:10
Malcolm Smart9-Aug-07 3:10 
JokeRe: String to Enum... Pin
Luc Pattyn9-Aug-07 3:32
sitebuilderLuc Pattyn9-Aug-07 3:32 
GeneralRe: String to Enum... Pin
Malcolm Smart9-Aug-07 3:43
Malcolm Smart9-Aug-07 3:43 
AnswerRe: String to Enum... Pin
Malcolm Smart9-Aug-07 3:09
Malcolm Smart9-Aug-07 3:09 
JokeRe: String to Enum... Pin
Le centriste9-Aug-07 3:46
Le centriste9-Aug-07 3:46 
GeneralRe: String to Enum... Pin
Talal Sultan9-Aug-07 4:11
Talal Sultan9-Aug-07 4:11 
QuestionUsing CodeDOM in .NET Pin
rameshbhojan9-Aug-07 2:54
rameshbhojan9-Aug-07 2:54 
AnswerRe: Using CodeDOM in .NET Pin
Not Active9-Aug-07 3:08
mentorNot Active9-Aug-07 3:08 
QuestionRe:Transparency Property in Picturebox Pin
RameshwerE9-Aug-07 2:51
RameshwerE9-Aug-07 2:51 
AnswerRe:Transparency Property in Picturebox [modified] Pin
Martin#9-Aug-07 3:00
Martin#9-Aug-07 3:00 
GeneralRe:Transparency Property in Picturebox Pin
Luc Pattyn9-Aug-07 3:12
sitebuilderLuc Pattyn9-Aug-07 3:12 
GeneralRe:Transparency Property in Picturebox Pin
Martin#9-Aug-07 3:15
Martin#9-Aug-07 3:15 

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.