Click here to Skip to main content
15,899,937 members
Home / Discussions / C#
   

C#

 
QuestionHow do you get the current active application name ? Pin
CJayMeister18-Sep-06 22:42
CJayMeister18-Sep-06 22:42 
AnswerRe: How do you get the current active application name ? Pin
S. Senthil Kumar19-Sep-06 2:43
S. Senthil Kumar19-Sep-06 2:43 
GeneralRe: How do you get the current active application name ? Pin
CJayMeister19-Sep-06 2:54
CJayMeister19-Sep-06 2:54 
QuestionPrinting options C# Pin
Andrew Mercer18-Sep-06 22:36
Andrew Mercer18-Sep-06 22:36 
QuestionVoice Chat Pin
AB777118-Sep-06 22:06
AB777118-Sep-06 22:06 
AnswerRe: Voice Chat Pin
Mostafa Siraj19-Sep-06 12:16
Mostafa Siraj19-Sep-06 12:16 
GeneralRe: Voice Chat Pin
AB777122-Sep-06 20:25
AB777122-Sep-06 20:25 
QuestionHow to call unmanaged Dll in C# Pin
phijophlip18-Sep-06 22:06
phijophlip18-Sep-06 22:06 
AnswerRe: How to call unmanaged Dll in C# Pin
Christian Graus18-Sep-06 23:49
protectorChristian Graus18-Sep-06 23:49 
AnswerRe: How to call unmanaged Dll in C# Pin
CooperWu19-Sep-06 0:13
CooperWu19-Sep-06 0:13 
Questionhow to filter in datagrid Pin
faladrim18-Sep-06 21:51
faladrim18-Sep-06 21:51 
AnswerRe: how to filter in datagrid Pin
Robert Rohde18-Sep-06 22:16
Robert Rohde18-Sep-06 22:16 
GeneralRe: how to filter in datagrid Pin
faladrim18-Sep-06 22:29
faladrim18-Sep-06 22:29 
GeneralRe: how to filter in datagrid Pin
Robert Rohde19-Sep-06 19:10
Robert Rohde19-Sep-06 19:10 
GeneralRe: how to filter in datagrid Pin
faladrim19-Sep-06 20:47
faladrim19-Sep-06 20:47 
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 

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.