|
Thanks mate! I blame Wrox for printing one before and one after the public .
|
|
|
|
|
Steve_Harris wrote: I blame Wrox for printing one before and one after the public.
Yes, thats kind of unconsistent!
You are wellcome!
All the best,
Martin
|
|
|
|
|
But it seems partial must always be last when included?
|
|
|
|
|
Hello,
Yes, that's true!
But in fact it is also limited to classes I guess and so I would also not se it as unconsistend.
public class partial MyClass
All the best,
Martin
|
|
|
|
|
Reply will be appreciated.
Regards
Chintan
www.visharadsoft.com
(Nothing is so purify as KNOWLEDGE)
|
|
|
|
|
Make the icon your drag image
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Hi. I am having problem in getting the name of the node in treeview control. When I searched in events list there is no exact event which matches this scenario. If I select "DoubleClick" event, I dont get any reference of currently selected node.
The contents of tree (i.e nodes) are generated dynamically. When clicked on any of this node, I should get that node's name
Should I create new event of my own? If so, how to do that? tell me how should i proceed.
Thanks,Divya
Divya
|
|
|
|
|
No you dont need to create a new event.
You can use the NodeMouseClick event of the treeview.
e.Node.Name will return you the Node Name.
In btw, make sure when you add a node dynamically, you specify its name also
|
|
|
|
|
My target Framework is 1.1. NodeMouseClick event is present in 2 and 3 framework. Is there any method to do in 1.1 framework?
Thanks
Divya
|
|
|
|
|
Use AfterSelect event instead.
Make sure you handle the first click as it will return the name of root node.
|
|
|
|
|
treeView1_AfterSelect(), displays node name for just a single click.i.e as soon as u select a node, its name is displayed.
But I want name of the node to be displayed after double clicking it.
Thanks,Divya
|
|
|
|
|
Hi Bhardwaj, thanks for ur reply
Here is the solution for my problem..
Use DoubleCLick event itself. Just need to typecast the sender object to TreeView
private void treeView1_DoubleClick(object sender, System.EventArgs e)<br />
{<br />
TreeView myTree = (TreeView)sender;<br />
MessageBox.Show(myTree.SelectedNode.Text);<br />
}
Regards, Divya
|
|
|
|
|
Dear Divya
In the below code you can find your solution :
private void treeView1_AfterSelect(object sender, TreeViewEventArgs e)
{
MessageBox.Show(e.Node.Name.ToString());
}
Also, you can read my article about storing tree in SQL at the below link:
http://www.codeproject.com/useritems/TreesAndSQL.asp[^]
Regards,
|
|
|
|
|
treeView1_AfterSelect(), displays node name for just a single click.i.e as soon as u select a node, its name is displayed.
But I was name of the node to be displayed after double clicking it.
My target Framework is 1.1
Thanks
Divya
|
|
|
|
|
The MouseEventArgs has a Location property
And the TreeView has a GetNodeAt method.
So myTree.GetNodeAt ( e.Location )
|
|
|
|
|
Hey..
I want a simple example to draw an opengl cube!
Can you help me to get a program that draws it?
Noha.Y
|
|
|
|
|
hello how can i get radiobutton in datagrid.
i want to get through property builder is it possible.
please give me any idea.
it is c# application.
thank you
srinivas
|
|
|
|
|
Hi,
Is it windows application or asp.net web application? Also which .Net version are you using (ie. Visual Studio 2003 or Visual Studio 2005?)
I am not clear about these details, if i would know i can give some suggestions (I havent done this, I have used checkboxes inside grid using Web application(in VS 2003) and i have used comboboxes inside datagridview using Windows Application (in VS 2005)).
Thankfully,
jm
|
|
|
|
|
hi jmavn,thanks for your help
my application is asp.net web application vs2003.
i want radiobuttons in datagrid.
my application is quiz application , i have 5 answers so it contain radiobuttons.If i answered that question only one radiobutton will respond.
thank you jmavn
srinivas
|
|
|
|
|
Hi srini,
how r u? Good evng. I think you might have option to include the template column inside the datagrid. In that template column, you might insert a radio button control by the Edit Template option.
Is this helpful for you? If not let me know. Where r u working? R u frm tamilnadu?
Regards,
jm
|
|
|
|
|
hi jm ,
how r u
iam from hyd.
yes now i redesigned page
now iam using radiobuttonlist control.
jm iam in problem .
iam working in optimus BT
my TL gave one application to develop.In my company they are conducting some quiz about organization .in that 5 options ,5 options contains marks like 5,4,3,2,1 like that ,
so frent end i used lable control ,one radiobuttonlist control,and 3 buttons for previous,next,finish.
iam doing in vs.net2003 and c#.
can u do any help for me i want code for this application any of your friends done this application,
please let me know i want code for previous , next, finish .buttons
how many tables required for database .
thanks for your help.
bye
take care
srinivas
|
|
|
|
|
Hi srini,
If at all you want to use the radiobutton only for the selection the answers,
why not you try with the Radiobuttonlist (instead of datagrid), because it also involves less complexity.
Its my suggession, pls try for the radiobuttonlist control.
Regards,
jm
Regards,
jm
|
|
|
|
|
hi jm ,
how r u
iam from hyd.
yes now i redesigned page
now iam using radiobuttonlist control.
jm iam in problem .
iam working in optimus BT
my TL gave one application to develop.In my company they are conducting some quiz about organization .in that 5 options ,5 options contains marks like 5,4,3,2,1 like that ,
so frent end i used lable control ,one radiobuttonlist control,and 3 buttons for previous,next,finish.
iam doing in vs.net2003 and c#.
can u do any help for me i want code for this application any of your friends done this application,
please let me know i want code for previous , next, finish .buttons
how many tables required for database .
thanks for your help.
bye
take care
srinivas
|
|
|
|
|
How can I use Runge Kutta algorithm to programme a fractal?
Noha.y
|
|
|
|
|
Try posting in the Mathematics and Algorithms forum.
Kevin
|
|
|
|