Click here to Skip to main content
15,918,003 members
Home / Discussions / C#
   

C#

 
QuestionC# client server communication [modified] Pin
mrithula820-Feb-09 4:19
mrithula820-Feb-09 4:19 
AnswerRe: C# client server communication Pin
Rob Philpott20-Feb-09 4:42
Rob Philpott20-Feb-09 4:42 
GeneralRe: C# client server communication Pin
Mel Feik20-Feb-09 5:54
Mel Feik20-Feb-09 5:54 
QuestionPass a dynamic collection from c# to c++ dll Pin
johnnycastle20-Feb-09 2:46
johnnycastle20-Feb-09 2:46 
Questionpc oscilloscope usb based Pin
wepce20-Feb-09 2:33
wepce20-Feb-09 2:33 
AnswerRe: pc oscilloscope usb based Pin
kanchoette20-Feb-09 2:46
kanchoette20-Feb-09 2:46 
QuestionUser holding down mouse while changing listview selection via keyboard problem [modified] Pin
kanchoette20-Feb-09 2:14
kanchoette20-Feb-09 2:14 
AnswerRe: User holding down mouse while changing listview selection via keyboard problem [modified] Pin
Jimmanuel20-Feb-09 3:59
Jimmanuel20-Feb-09 3:59 
kanchoette wrote:
It is failing

isn't very descriptive; can you describe how it's failing?

Without that here are some comments anyway:
* why subscribe to the mouse up handler for this? like you said that will completely ignore the user hitting up and down on the keyboard. subscribing to diaryListView.SelectedIndexChanged would notify you any time the selection changes regardless of how the user made it happen.

* GetSubItem? Why bother with this function? you're ignoring the index that was actually clicked and using zero instead, so why not just check if (diaryListView.SelectedItems.Count > 0) instead of if (selectedSubItem != -1)?

* var file = lvItem.SubItems[14].Text.ToString(); -- what is this? Text is a string, then ToString() converts it to another string even though it already is one and then it's stored in a var even though you've jumped through hoops to ensure it's a string. Why? and why is it repeated in the conditional on the next line?

GeneralRe: User holding down mouse while changing listview selection via keyboard problem Pin
kanchoette20-Feb-09 4:18
kanchoette20-Feb-09 4:18 
QuestionNew Table Pin
Alessio Granzotto20-Feb-09 1:22
Alessio Granzotto20-Feb-09 1:22 
AnswerRe: New Table Pin
moon_stick20-Feb-09 1:32
moon_stick20-Feb-09 1:32 
GeneralRe: New Table Pin
Nagy Vilmos20-Feb-09 1:46
professionalNagy Vilmos20-Feb-09 1:46 
GeneralRe: New Table Pin
moon_stick20-Feb-09 2:06
moon_stick20-Feb-09 2:06 
GeneralRe: New Table Pin
Alessio Granzotto20-Feb-09 1:58
Alessio Granzotto20-Feb-09 1:58 
GeneralRe: New Table Pin
musefan20-Feb-09 2:05
musefan20-Feb-09 2:05 
GeneralRe: New Table Pin
moon_stick20-Feb-09 2:05
moon_stick20-Feb-09 2:05 
QuestionDataGridView selection problem Pin
pedersen-roxen20-Feb-09 1:20
pedersen-roxen20-Feb-09 1:20 
AnswerRe: DataGridView selection problem Pin
musefan20-Feb-09 2:44
musefan20-Feb-09 2:44 
QuestionHow can we open any .doc/image/..... file on PC through remote place mobile [modified] Pin
aashish patidar20-Feb-09 1:18
aashish patidar20-Feb-09 1:18 
JokeRe: How can we open any .doc/image/..... file on PC through remote place mobile Pin
Eddy Vluggen20-Feb-09 2:15
professionalEddy Vluggen20-Feb-09 2:15 
GeneralRe: How can we open any .doc/image/..... file on PC through remote place mobile Pin
aashish patidar20-Feb-09 2:25
aashish patidar20-Feb-09 2:25 
RantRe: How can we open any .doc/image/..... file on PC through remote place mobile Pin
Nagy Vilmos20-Feb-09 2:37
professionalNagy Vilmos20-Feb-09 2:37 
JokeRe: How can we open any .doc/image/..... file on PC through remote place mobile Pin
musefan20-Feb-09 2:54
musefan20-Feb-09 2:54 
GeneralRe: How can we open any .doc/image/..... file on PC through remote place mobile Pin
EliottA20-Feb-09 2:54
EliottA20-Feb-09 2:54 
GeneralRe: How can we open any .doc/image/..... file on PC through remote place mobile Pin
Nagy Vilmos20-Feb-09 3:27
professionalNagy Vilmos20-Feb-09 3:27 

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.