Click here to Skip to main content
15,890,512 members
Home / Discussions / C#
   

C#

 
QuestionHow to stop windows service in c# by coding Pin
Rajesh_K_Sharma18-Sep-06 21:46
Rajesh_K_Sharma18-Sep-06 21:46 
AnswerRe: How to stop windows service in c# by coding Pin
AB777118-Sep-06 22:31
AB777118-Sep-06 22:31 
AnswerRe: How to stop windows service in c# by coding Pin
S. Senthil Kumar19-Sep-06 2:44
S. Senthil Kumar19-Sep-06 2:44 
Questionusing ScrollControlIntoView( ) method Pin
kkadir18-Sep-06 21:37
kkadir18-Sep-06 21:37 
Questionmulti login pages Pin
Tamimi - Code18-Sep-06 21:35
Tamimi - Code18-Sep-06 21:35 
Questionwhy my code not working Pin
kalaveer18-Sep-06 20:32
kalaveer18-Sep-06 20:32 
AnswerRe: why my code not working Pin
Christian Graus18-Sep-06 20:35
protectorChristian Graus18-Sep-06 20:35 
Generalhere is the code that i wrote Pin
kalaveer18-Sep-06 20:55
kalaveer18-Sep-06 20: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 21:33
protectorChristian Graus18-Sep-06 21:33 
GeneralRe: here is the code that i wrote Pin
Stefan Troschuetz18-Sep-06 21:34
Stefan Troschuetz18-Sep-06 21:34 
AnswerRe: here is the code that i wrote Pin
Martin#18-Sep-06 21:44
Martin#18-Sep-06 21:44 
GeneralRe: here is the code that i wrote Pin
Stefan Troschuetz18-Sep-06 22:04
Stefan Troschuetz18-Sep-06 22:04 
AnswerRe: why my code not working Pin
V.18-Sep-06 20:43
professionalV.18-Sep-06 20:43 
AnswerRe: why my code not working Pin
Sean Michael Murphy19-Sep-06 10:34
Sean Michael Murphy19-Sep-06 10:34 
QuestionProblem Using Combobox from Form1 Pin
M Riaz Bashir18-Sep-06 20:15
M Riaz Bashir18-Sep-06 20:15 
AnswerRe: Problem Using Combobox from Form1 Pin
Christian Graus18-Sep-06 20:26
protectorChristian Graus18-Sep-06 20:26 
Questionhow to creat frame by using c#.net2005 Pin
ashraf hakiem18-Sep-06 20:06
ashraf hakiem18-Sep-06 20:06 
AnswerRe: how to creat frame by using c#.net2005 Pin
Christian Graus18-Sep-06 20:30
protectorChristian Graus18-Sep-06 20:30 
QuestionRe: how to creat frame by using c#.net2005 Pin
ashraf hakiem18-Sep-06 20:52
ashraf hakiem18-Sep-06 20:52 
QuestionCalling a method defined inside a .NET dll Pin
RajenSuchede18-Sep-06 20:04
RajenSuchede18-Sep-06 20:04 
AnswerRe: Calling a method defined inside a .NET dll Pin
Christian Graus18-Sep-06 20:32
protectorChristian Graus18-Sep-06 20:32 
GeneralRe: Calling a method defined inside a .NET dll Pin
RajenSuchede18-Sep-06 20:54
RajenSuchede18-Sep-06 20:54 
QuestionIllegal character Pin
Parshant Verma18-Sep-06 19:58
Parshant Verma18-Sep-06 19:58 
AnswerRe: Illegal character Pin
Christian Graus18-Sep-06 20:34
protectorChristian Graus18-Sep-06 20:34 
QuestionRe: Illegal character Pin
Parshant Verma18-Sep-06 21:30
Parshant Verma18-Sep-06 21: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.