Click here to Skip to main content
15,893,161 members
Home / Discussions / C#
   

C#

 
AnswerRe: WPF Viewport3D antialiasing Pin
lmoelleb13-Oct-07 0:27
lmoelleb13-Oct-07 0:27 
GeneralRe: WPF Viewport3D antialiasing Pin
Bartosz Bien13-Oct-07 0:59
Bartosz Bien13-Oct-07 0:59 
GeneralControl Break Algorithm Pin
Brady Kelly11-Oct-07 23:32
Brady Kelly11-Oct-07 23:32 
QuestionReminder Message Pin
Shashidharreddy11-Oct-07 22:41
Shashidharreddy11-Oct-07 22:41 
AnswerRe: Reminder Message Pin
Charith Jayasundara12-Oct-07 0:19
Charith Jayasundara12-Oct-07 0:19 
GeneralRe: Reminder Message Pin
Pete O'Hanlon12-Oct-07 2:29
mvePete O'Hanlon12-Oct-07 2:29 
Questioncalling forms from treeview nodes Pin
Mamphekgo Bahula11-Oct-07 22:34
Mamphekgo Bahula11-Oct-07 22:34 
AnswerRe: calling forms from treeview nodes Pin
Martin#11-Oct-07 23:34
Martin#11-Oct-07 23:34 
Hello,

I think the 'AfterSelect' event will help you.
//Constructor code
yourTreeView.AfterSelect+=new TreeViewEventHandler(yourTreeView_AfterSelect);
 
private void yourTreeView_AfterSelect(object sender, TreeViewEventArgs e)
{
    switch(yourTreeView.SelectedNode.Text)
    {
	case "Company":
		cmsCompany.Show();
		break;
	case "Process":
		cmsProcess.Show();
		break;
	case "Script":
		cmsScript.Show();
		break;
	default:
		break;
    }
}


All the best,

Martin

GeneralRe: calling forms from treeview nodes Pin
Pete O'Hanlon12-Oct-07 0:10
mvePete O'Hanlon12-Oct-07 0:10 
GeneralRe: calling forms from treeview nodes Pin
Martin#12-Oct-07 0:18
Martin#12-Oct-07 0:18 
QuestionDOS exec not receiving input from standard I/O... Pin
Fuzzychaos11-Oct-07 22:29
Fuzzychaos11-Oct-07 22:29 
AnswerRe: DOS exec not receiving input from standard I/O... Pin
Phil J Pearson12-Oct-07 10:23
Phil J Pearson12-Oct-07 10:23 
AnswerRe: DOS exec not receiving input from standard I/O... Pin
Fuzzychaos14-Oct-07 22:16
Fuzzychaos14-Oct-07 22:16 
GeneralRe: DOS exec not receiving input from standard I/O... Pin
Phil J Pearson15-Oct-07 7:58
Phil J Pearson15-Oct-07 7:58 
QuestionParameter Collection Pin
Sonia Gupta11-Oct-07 22:15
Sonia Gupta11-Oct-07 22:15 
AnswerRe: Parameter Collection Pin
Sonia Gupta11-Oct-07 22:25
Sonia Gupta11-Oct-07 22:25 
GeneralRe: Parameter Collection Pin
Pete O'Hanlon11-Oct-07 23:16
mvePete O'Hanlon11-Oct-07 23:16 
GeneralRe: Parameter Collection Pin
Brady Kelly11-Oct-07 23:43
Brady Kelly11-Oct-07 23:43 
GeneralRe: Parameter Collection Pin
Pete O'Hanlon11-Oct-07 23:59
mvePete O'Hanlon11-Oct-07 23:59 
GeneralRe: Parameter Collection Pin
Brady Kelly12-Oct-07 0:15
Brady Kelly12-Oct-07 0:15 
GeneralRe: Parameter Collection Pin
Pete O'Hanlon12-Oct-07 0:32
mvePete O'Hanlon12-Oct-07 0:32 
GeneralRe: Parameter Collection Pin
Sonia Gupta12-Oct-07 1:10
Sonia Gupta12-Oct-07 1:10 
GeneralRe: Parameter Collection Pin
Pete O'Hanlon12-Oct-07 1:27
mvePete O'Hanlon12-Oct-07 1:27 
GeneralRe: Parameter Collection [modified] Pin
Sonia Gupta12-Oct-07 1:47
Sonia Gupta12-Oct-07 1:47 
GeneralRe: Parameter Collection Pin
Pete O'Hanlon12-Oct-07 2:18
mvePete O'Hanlon12-Oct-07 2:18 

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.