Click here to Skip to main content
15,890,336 members
Home / Discussions / C#
   

C#

 
QuestionHow to convert "string" to "int"? Pin
alexandr2-Mar-02 5:48
alexandr2-Mar-02 5:48 
AnswerRe: How to convert "string" to "int" or other data type? Pin
Michael Mac2-Mar-02 6:13
Michael Mac2-Mar-02 6:13 
GeneralRe: How to convert "string" to "int" or other data type? Pin
Mazdak2-Mar-02 6:24
Mazdak2-Mar-02 6:24 
AnswerRe: How to convert "string" to "int"? Pin
Mazdak2-Mar-02 6:23
Mazdak2-Mar-02 6:23 
AnswerRe: How to convert "string" to "int"? Pin
///Ansch3-Mar-02 17:43
///Ansch3-Mar-02 17:43 
AnswerRe: How to convert "string" to "int"? Pin
Schnemar6-Mar-02 23:24
Schnemar6-Mar-02 23:24 
GeneralSelecting from listbox with right mouse button Pin
kyledunn1-Mar-02 10:52
kyledunn1-Mar-02 10:52 
GeneralRe: Selecting from listbox with right mouse button Pin
Schnemar6-Mar-02 23:28
Schnemar6-Mar-02 23:28 
override the MouseDown Event from the ListBox Control:

private void listBox_MouseDown(object sender, System.Windows.Forms.MouseEventArgs e)
{
if(e.Button != MouseButtons.Right) return;
int nIndex = listBox.IndexFromPoint(new Point(e.X,e.Y));
if(nIndex != -1)
listBox.SetSelected(nIndex,true);
}

Rgrds
Martin

GeneralAccessing Word Documents in C# Pin
1-Mar-02 8:41
suss1-Mar-02 8:41 
GeneralViewing Web Site Details Pin
Gavin_Mannion1-Mar-02 3:26
Gavin_Mannion1-Mar-02 3:26 
Generalmessages Pin
W_B1-Mar-02 1:07
W_B1-Mar-02 1:07 
GeneralRe: messages Pin
James T. Johnson1-Mar-02 14:36
James T. Johnson1-Mar-02 14:36 
GeneralRe: messages Pin
W_B3-Mar-02 22:40
W_B3-Mar-02 22:40 
Generalresource files in VS .NET Pin
Senkwe Chanda27-Feb-02 22:42
Senkwe Chanda27-Feb-02 22:42 
GeneralRe: resource files in VS .NET Pin
James T. Johnson28-Feb-02 5:00
James T. Johnson28-Feb-02 5:00 
QuestionHow to open a new window?? Pin
27-Feb-02 19:16
suss27-Feb-02 19:16 
GeneralLock a column in datagrid Pin
paulb26-Feb-02 11:45
paulb26-Feb-02 11:45 
QuestionHow to make custom/own BASE classes Pin
Felix Nielsen25-Feb-02 7:00
Felix Nielsen25-Feb-02 7:00 
AnswerRe: How to make custom/own BASE classes Pin
James T. Johnson25-Feb-02 7:48
James T. Johnson25-Feb-02 7:48 
GeneralRe: How to make custom/own BASE classes Pin
Felix Nielsen26-Feb-02 2:56
Felix Nielsen26-Feb-02 2:56 
GeneralRe: How to make custom/own BASE classes Pin
James T. Johnson26-Feb-02 11:05
James T. Johnson26-Feb-02 11:05 
GeneralRegistry Pin
BLaZiNiX25-Feb-02 6:34
BLaZiNiX25-Feb-02 6:34 
Generalquestions about C# Pin
Aaron T.25-Feb-02 4:40
Aaron T.25-Feb-02 4:40 
GeneralRe: questions about C# Pin
Anders Molin26-Feb-02 2:57
professionalAnders Molin26-Feb-02 2:57 
GeneralRe: questions about C# Pin
Aaron T.27-Feb-02 3:23
Aaron T.27-Feb-02 3:23 

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.