Click here to Skip to main content
15,887,746 members
Home / Discussions / C#
   

C#

 
AnswerRe: How to generate Random dates in C#.net Pin
Michael Potter8-Aug-07 4:44
Michael Potter8-Aug-07 4:44 
QuestionHow can I load a chm file in a form? Pin
Zahrashahla8-Aug-07 2:51
Zahrashahla8-Aug-07 2:51 
AnswerRe: How can I load a chm file in a form? Pin
sakthi dasan8-Aug-07 3:52
sakthi dasan8-Aug-07 3:52 
GeneralRe: How can I load a chm file in a form? Pin
Zahrashahla8-Aug-07 4:05
Zahrashahla8-Aug-07 4:05 
AnswerRe: How can I load a chm file in a form? Pin
PIEBALDconsult8-Aug-07 5:40
mvePIEBALDconsult8-Aug-07 5:40 
QuestionSmart Part and User controls Pin
umashankergr88-Aug-07 2:40
umashankergr88-Aug-07 2:40 
QuestionListview ploblem? Pin
abcomp018-Aug-07 2:35
abcomp018-Aug-07 2:35 
AnswerRe: Listview ploblem? Pin
Hessam Jalali8-Aug-07 3:14
Hessam Jalali8-Aug-07 3:14 
you can use listView.Items[...] property generally
in double click

and ListView.SelectedItems[...] Property or List.View.SelectedIndices[...] which the first one returns the selected ListViewItem and another one returns the index of the selected ListViewItem

and if you do not use multi selection you can simply access to the selected Item like

ListView.SelectedItem[0]

<br />
<br />
        void listView1_DoubleClick(object sender, EventArgs e)<br />
        {<br />
            MessageBox.Show((sender as ListView).SelectedItems[0].Text);<br />
        }<br />


good luck
GeneralRe: Listview ploblem? Pin
abcomp018-Aug-07 3:41
abcomp018-Aug-07 3:41 
GeneralRe: Listview ploblem? Pin
Hessam Jalali8-Aug-07 4:00
Hessam Jalali8-Aug-07 4:00 
Questionmouse posistion on a control when drag and dropped onto Pin
racing578-Aug-07 2:34
racing578-Aug-07 2:34 
AnswerRe: mouse posistion on a control when drag and dropped onto Pin
JoeSharp8-Aug-07 2:41
JoeSharp8-Aug-07 2:41 
GeneralRe: mouse posistion on a control when drag and dropped onto Pin
racing578-Aug-07 2:44
racing578-Aug-07 2:44 
GeneralRe: mouse posistion on a control when drag and dropped onto Pin
Luc Pattyn8-Aug-07 2:49
sitebuilderLuc Pattyn8-Aug-07 2:49 
GeneralRe: mouse posistion on a control when drag and dropped onto Pin
racing578-Aug-07 2:51
racing578-Aug-07 2:51 
QuestionIs there is some feature in C# that will act like #Define in C++ ??? Pin
Yanshof8-Aug-07 2:16
Yanshof8-Aug-07 2:16 
AnswerRe: Is there is some feature in C# that will act like #Define in C++ ??? Pin
Luc Pattyn8-Aug-07 2:29
sitebuilderLuc Pattyn8-Aug-07 2:29 
AnswerRe: Is there is some feature in C# that will act like #Define in C++ ??? Pin
Colin Angus Mackay8-Aug-07 2:30
Colin Angus Mackay8-Aug-07 2:30 
GeneralRe: Is there is some feature in C# that will act like #Define in C++ ??? Pin
Dan Neely8-Aug-07 3:43
Dan Neely8-Aug-07 3:43 
AnswerRe: Is there is some feature in C# that will act like #Define in C++ ??? Pin
User 66588-Aug-07 2:35
User 66588-Aug-07 2:35 
AnswerRe: Is there is some feature in C# that will act like #Define in C++ ??? Pin
PIEBALDconsult8-Aug-07 5:48
mvePIEBALDconsult8-Aug-07 5:48 
QuestionProblem- Server Busy...Switch/Retry Pin
Iftekhar Naim8-Aug-07 2:04
Iftekhar Naim8-Aug-07 2:04 
QuestionReflection, Invoking Methods Pin
glFrustum8-Aug-07 2:01
glFrustum8-Aug-07 2:01 
AnswerRe: Reflection, Invoking Methods Pin
kubben8-Aug-07 2:27
kubben8-Aug-07 2:27 
GeneralRe: Reflection, Invoking Methods Pin
glFrustum8-Aug-07 3:08
glFrustum8-Aug-07 3:08 

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.