Click here to Skip to main content
15,916,463 members
Home / Discussions / C#
   

C#

 
QuestionHow to create progress bar Pin
yohanes.luhur24-Oct-07 5:53
yohanes.luhur24-Oct-07 5:53 
AnswerRe: How to create progress bar Pin
Justin Perez24-Oct-07 5:56
Justin Perez24-Oct-07 5:56 
GeneralRe: How to create progress bar Pin
yohanes.luhur24-Oct-07 6:04
yohanes.luhur24-Oct-07 6:04 
AnswerRe: How to create progress bar Pin
Anthony Mushrow24-Oct-07 6:50
professionalAnthony Mushrow24-Oct-07 6:50 
AnswerRe: How to create progress bar Pin
solutionsville24-Oct-07 9:42
solutionsville24-Oct-07 9:42 
QuestionAligning WinForm Pin
Fayu24-Oct-07 5:37
Fayu24-Oct-07 5:37 
AnswerRe: Aligning WinForm Pin
Justin Perez24-Oct-07 5:42
Justin Perez24-Oct-07 5:42 
AnswerRe: Aligning WinForm [modified] Pin
Kristian Sixhøj24-Oct-07 5:42
Kristian Sixhøj24-Oct-07 5:42 
Do you want the form to show up in the bottom left corner of your screen,
and remain there (unmoveable)?

Edit: If this is the case, then you could do it by adding these lines of code in your form's constructor:
this.StartPosition = FormStartPosition.Manual;
this.Location = new Point(0, SystemInformation.WorkingArea.Height - this.Height);

Note: This doesn't make the form unmoveable. I'm still looking for a way to do that. Perhaps you could set a timer that moves the form back to the same location at a given interval - but that's a ugly way to do it, honestly.

Edit #3 : Here a way to make the form "unmoveable", that is, it's still moveable, but as soon as the user releases the mouse button, the form "jumps" back to it's default position.

Set the form's Move event handler, and write the following code:

this.Location = new Point(0, SystemInformation.WorkingArea.Height - this.Height);

And that works!

Virtual1ty
"Any fool can learn from his own mistakes, but a wise man learns from mistakes of others"

GeneralRe: Aligning WinForm Pin
Fayu24-Oct-07 6:12
Fayu24-Oct-07 6:12 
GeneralRe: Aligning WinForm Pin
Kristian Sixhøj24-Oct-07 6:30
Kristian Sixhøj24-Oct-07 6:30 
Questionlooking for better way for parsing [modified] Pin
stephan_00724-Oct-07 4:38
stephan_00724-Oct-07 4:38 
AnswerRe: looking for better way for parsing Pin
Justin Perez24-Oct-07 5:01
Justin Perez24-Oct-07 5:01 
QuestionC#, Generic Methods and Common Data Types Pin
Alexandre G24-Oct-07 4:09
Alexandre G24-Oct-07 4:09 
AnswerRe: C#, Generic Methods and Common Data Types Pin
TJoe24-Oct-07 4:23
TJoe24-Oct-07 4:23 
Questionan update problem Pin
Seraph_summer24-Oct-07 3:14
Seraph_summer24-Oct-07 3:14 
AnswerRe: an update problem Pin
Anthony Mushrow24-Oct-07 3:50
professionalAnthony Mushrow24-Oct-07 3:50 
GeneralRe: an update problem Pin
Seraph_summer24-Oct-07 3:58
Seraph_summer24-Oct-07 3:58 
AnswerRe: an update problem Pin
c0ax_lx24-Oct-07 4:10
c0ax_lx24-Oct-07 4:10 
GeneralRe: an update problem Pin
Seraph_summer24-Oct-07 4:19
Seraph_summer24-Oct-07 4:19 
GeneralRe: an update problem Pin
Seraph_summer24-Oct-07 4:34
Seraph_summer24-Oct-07 4:34 
GeneralRe: an update problem Pin
c0ax_lx24-Oct-07 4:37
c0ax_lx24-Oct-07 4:37 
GeneralRe: an update problem Pin
Seraph_summer24-Oct-07 4:44
Seraph_summer24-Oct-07 4:44 
GeneralRe: an update problem Pin
c0ax_lx24-Oct-07 8:23
c0ax_lx24-Oct-07 8:23 
GeneralRe: an update problem Pin
Seraph_summer24-Oct-07 21:37
Seraph_summer24-Oct-07 21:37 
QuestionHow to enable/disable(install/uninstall) serial port in C#? [modified] Pin
nasif400324-Oct-07 3:07
nasif400324-Oct-07 3:07 

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.