Click here to Skip to main content
15,843,623 members
Home / Discussions / C#
   

C#

 
QuestionHow to stop windows service in c# by coding Pin
Rajesh_K_Sharma18-Sep-06 22:46
Rajesh_K_Sharma18-Sep-06 22:46 
AnswerRe: How to stop windows service in c# by coding Pin
AB777118-Sep-06 23:31
AB777118-Sep-06 23:31 
AnswerRe: How to stop windows service in c# by coding Pin
S. Senthil Kumar19-Sep-06 3:44
S. Senthil Kumar19-Sep-06 3:44 
Questionusing ScrollControlIntoView( ) method Pin
kkadir18-Sep-06 22:37
kkadir18-Sep-06 22:37 
Questionmulti login pages Pin
Tamimi - Code18-Sep-06 22:35
Tamimi - Code18-Sep-06 22:35 
Questionwhy my code not working Pin
kalaveer18-Sep-06 21:32
kalaveer18-Sep-06 21:32 
AnswerRe: why my code not working Pin
Christian Graus18-Sep-06 21:35
protectorChristian Graus18-Sep-06 21:35 
Generalhere is the code that i wrote Pin
kalaveer18-Sep-06 21:55
kalaveer18-Sep-06 21:55 
please don't get irritated of my lenghty thread.
private void Form1_Resize(object sender, EventArgs e)
{

if (this.Height > 576)
{
treeView1.Height =(this.Height-576)/2 +313; listBox1.top=treeview.bottom+27;
listBox1.Height = 134 + (this.Height - 576) / 2;
}
}
here the numbers 576,313,134 are the actual heights af the control before resize and i set forms minheight to 576.like this i am adjusting the heights of the other controls in my form (tabcontrol,groupboxs,buttons,labels,richtextbox controls etc) i wrote a few lines because all those lines of adjusting the controls leads to 100+lines
in my code all the controls are properly resized except the listbox control that's why i included that part and nowhere i used listbox property related code in the code i wrote other than the two lines which mensioned above.


GeneralRe: here is the code that i wrote Pin
Christian Graus18-Sep-06 22:33
protectorChristian Graus18-Sep-06 22:33 
GeneralRe: here is the code that i wrote Pin
Stefan Troschuetz18-Sep-06 22:34
Stefan Troschuetz18-Sep-06 22:34 
AnswerRe: here is the code that i wrote Pin
Martin#18-Sep-06 22:44
Martin#18-Sep-06 22:44 
GeneralRe: here is the code that i wrote Pin
Stefan Troschuetz18-Sep-06 23:04
Stefan Troschuetz18-Sep-06 23:04 
AnswerRe: why my code not working Pin
V.18-Sep-06 21:43
professionalV.18-Sep-06 21:43 
AnswerRe: why my code not working Pin
Sean Michael Murphy19-Sep-06 11:34
Sean Michael Murphy19-Sep-06 11:34 
QuestionProblem Using Combobox from Form1 Pin
M Riaz Bashir18-Sep-06 21:15
M Riaz Bashir18-Sep-06 21:15 
AnswerRe: Problem Using Combobox from Form1 Pin
Christian Graus18-Sep-06 21:26
protectorChristian Graus18-Sep-06 21:26 
Questionhow to creat frame by using c#.net2005 Pin
ashraf hakiem18-Sep-06 21:06
ashraf hakiem18-Sep-06 21:06 
AnswerRe: how to creat frame by using c#.net2005 Pin
Christian Graus18-Sep-06 21:30
protectorChristian Graus18-Sep-06 21:30 
QuestionRe: how to creat frame by using c#.net2005 Pin
ashraf hakiem18-Sep-06 21:52
ashraf hakiem18-Sep-06 21:52 
QuestionCalling a method defined inside a .NET dll Pin
RajenSuchede18-Sep-06 21:04
RajenSuchede18-Sep-06 21:04 
AnswerRe: Calling a method defined inside a .NET dll Pin
Christian Graus18-Sep-06 21:32
protectorChristian Graus18-Sep-06 21:32 
GeneralRe: Calling a method defined inside a .NET dll Pin
RajenSuchede18-Sep-06 21:54
RajenSuchede18-Sep-06 21:54 
QuestionIllegal character Pin
Parshant Verma18-Sep-06 20:58
Parshant Verma18-Sep-06 20:58 
AnswerRe: Illegal character Pin
Christian Graus18-Sep-06 21:34
protectorChristian Graus18-Sep-06 21:34 
QuestionRe: Illegal character Pin
Parshant Verma18-Sep-06 22:30
Parshant Verma18-Sep-06 22:30 

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.