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

C#

 
GeneralRe: DataSource binding problem Pin
Urs Enzler29-Jul-07 21:40
Urs Enzler29-Jul-07 21:40 
Questionadd header and footer to a dynamically generated word Pin
Nitin Varambally21-Jul-07 3:23
Nitin Varambally21-Jul-07 3:23 
QuestionConverting a Form to a Windows Service Pin
Ben297521-Jul-07 2:35
Ben297521-Jul-07 2:35 
AnswerRe: Converting a Form to a Windows Service Pin
Luc Pattyn21-Jul-07 3:09
sitebuilderLuc Pattyn21-Jul-07 3:09 
QuestionAny one know how to insert new rows into DataGrid [modified] Pin
michaelqog21-Jul-07 1:51
michaelqog21-Jul-07 1:51 
Questionhow to generate a crystal report everyday at a particular time with windows services in .net Pin
raj_no_of_doubts21-Jul-07 0:34
raj_no_of_doubts21-Jul-07 0:34 
QuestionTreeView/TabControl question Pin
EliBaskin20-Jul-07 23:54
EliBaskin20-Jul-07 23:54 
AnswerRe: TreeView/TabControl question Pin
Larantz21-Jul-07 9:15
Larantz21-Jul-07 9:15 
It's possible but requires some more work.
You could for instance create a form with a tablelayoutpanel with two columns and 1 row.
In the left cell you add a treeview and you leave the righthand cell empty.
Then go to your solution and rightclick to 'Add->New Item', and select 'Custom Control'. Add one control for each of the "pages" you want to view for each of the nodes in the treeview.
Then add content to the various custom controls according to what you want on your "pages".
Create an instance of each of the custom controls in your forms constructor, and when you start adding the treeview nodes, you can add one of the custom control instances to each node.Tag property and a name for the "page" to the Text property of the node.

Finally in the treeviews node clicked event, you retrieve the node.Tag property, cast it to a usercontrol and add it to the tablelayoutpanel in the righthand cell.

-Larantz-

for those about to code, we salute you
http://www.tellus-software.com

GeneralRe: TreeView/TabControl question Pin
EliBaskin21-Jul-07 12:37
EliBaskin21-Jul-07 12:37 
Questionchange currentrow in datagridview Pin
amir hooshang20-Jul-07 23:04
amir hooshang20-Jul-07 23:04 
QuestionHighlight the records in grid Pin
Tyng20-Jul-07 22:55
Tyng20-Jul-07 22:55 
QuestionMessage Queue Manipulation Pin
M. J. Jaya Chitra20-Jul-07 21:02
M. J. Jaya Chitra20-Jul-07 21:02 
AnswerRe: Message Queue Manipulation Pin
Guffa21-Jul-07 1:12
Guffa21-Jul-07 1:12 
GeneralRe: Message Queue Manipulation Pin
M. J. Jaya Chitra22-Jul-07 18:16
M. J. Jaya Chitra22-Jul-07 18:16 
QuestionAddRemoveProgramsIcon in Setup Project Pin
stancrm20-Jul-07 20:59
stancrm20-Jul-07 20:59 
Questionmdi parent problem Pin
monuSaini20-Jul-07 20:55
monuSaini20-Jul-07 20:55 
AnswerRe: mdi parent problem Pin
~~~Johnny~~~21-Jul-07 3:34
~~~Johnny~~~21-Jul-07 3:34 
AnswerRe: mdi parent problem Pin
Larantz21-Jul-07 9:28
Larantz21-Jul-07 9:28 
AnswerRe: Treeview Problem Pin
mangrovecm20-Jul-07 19:27
mangrovecm20-Jul-07 19:27 
GeneralRe: Treeview Problem Pin
Avadhesh Kumar Maurya20-Jul-07 20:00
Avadhesh Kumar Maurya20-Jul-07 20:00 
GeneralRe: Treeview Problem Pin
max2929720-Jul-07 20:05
max2929720-Jul-07 20:05 
Questioni want a asp starter kit Pin
EEmaan20-Jul-07 18:32
EEmaan20-Jul-07 18:32 
AnswerRe: i want a asp starter kit Pin
Christian Graus20-Jul-07 20:18
protectorChristian Graus20-Jul-07 20:18 
QuestionHow to define a regular expression? Pin
mangrovecm20-Jul-07 17:14
mangrovecm20-Jul-07 17:14 
AnswerRe: How to define a regular expression? Pin
Christian Graus20-Jul-07 18:17
protectorChristian Graus20-Jul-07 18:17 

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.