Click here to Skip to main content
15,884,099 members
Home / Discussions / C#
   

C#

 
GeneralRe: How I can find selected control on any window from mouse click c# Pin
GuyThiebaut10-Dec-13 22:35
professionalGuyThiebaut10-Dec-13 22:35 
QuestionList<> VS Dictionary<,> Pin
HobbyProggy9-Dec-13 22:14
professionalHobbyProggy9-Dec-13 22:14 
AnswerRe: List<> VS Dictionary<,> Pin
Marco Bertschi9-Dec-13 22:24
protectorMarco Bertschi9-Dec-13 22:24 
AnswerRe: List<> VS Dictionary<,> PinPopular
Pete O'Hanlon9-Dec-13 22:59
mvePete O'Hanlon9-Dec-13 22:59 
GeneralRe: List<> VS Dictionary<,> Pin
HobbyProggy9-Dec-13 23:10
professionalHobbyProggy9-Dec-13 23:10 
GeneralRe: List<> VS Dictionary<,> Pin
Keith Barrow10-Dec-13 2:07
professionalKeith Barrow10-Dec-13 2:07 
GeneralRe: List<> VS Dictionary<,> Pin
Ravi Bhavnani12-Dec-13 9:37
professionalRavi Bhavnani12-Dec-13 9:37 
AnswerRe: List<> VS Dictionary<,> Pin
BillWoodruff10-Dec-13 3:23
professionalBillWoodruff10-Dec-13 3:23 
It's often the case that where you want a mapping between items of different Types, such as ListViewItems in a ListView, and instances of your own Classes, that a Dictionary is a very convenient way to enable rapid access from an instance of one Type to the related instance of the other Type ... without casting, or too-clever coding.

A good example would be a combination ListView and TreeView Control: by keeping a Dictionary<ListViewItem, TreeNode>, and a "symmetric" Dictionary<TreeNode, ListViewItem>, you can rapidly synchronize the selection in both TreeView and ListView without translating indexes from one to the other, casting, etc.
"What Turing gave us for the first time (and without Turing you just couldn't do any of this) is he gave us a way of thinking about and taking seriously and thinking in a disciplined way about phenomena that have, as I like to say, trillions of moving parts.

Until the late 20th century, nobody knew how to take seriously a machine with a trillion moving parts. It's just mind-boggling." Daniel C. Dennett

Questionxml in textbox for modifying Pin
Member 94738099-Dec-13 21:56
Member 94738099-Dec-13 21:56 
AnswerRe: xml in textbox for modifying Pin
Marco Bertschi9-Dec-13 22:32
protectorMarco Bertschi9-Dec-13 22:32 
AnswerRe: xml in textbox for modifying Pin
Simon_Whale9-Dec-13 22:50
Simon_Whale9-Dec-13 22:50 
QuestionRe: xml in textbox for modifying Pin
Member 94738099-Dec-13 22:54
Member 94738099-Dec-13 22:54 
AnswerRe: xml in textbox for modifying Pin
Simon_Whale9-Dec-13 22:57
Simon_Whale9-Dec-13 22:57 
QuestionRe: xml in textbox for modifying Pin
Member 94738099-Dec-13 23:49
Member 94738099-Dec-13 23:49 
AnswerRe: xml in textbox for modifying Pin
Simon_Whale9-Dec-13 23:54
Simon_Whale9-Dec-13 23:54 
GeneralRe: xml in textbox for modifying Pin
Member 947380910-Dec-13 2:55
Member 947380910-Dec-13 2:55 
GeneralRe: xml in textbox for modifying Pin
Pete O'Hanlon10-Dec-13 3:52
mvePete O'Hanlon10-Dec-13 3:52 
GeneralRe: xml in textbox for modifying Pin
Member 947380910-Dec-13 4:01
Member 947380910-Dec-13 4:01 
QuestionOpenCV & c#, The type initializer for 'Emgu.CV.CvInvoke' threw an exception. Pin
kawadeprasad9-Dec-13 21:20
kawadeprasad9-Dec-13 21:20 
SuggestionRe: OpenCV & c#, The type initializer for 'Emgu.CV.CvInvoke' threw an exception. Pin
Richard MacCutchan9-Dec-13 22:26
mveRichard MacCutchan9-Dec-13 22:26 
AnswerRe: OpenCV & c#, The type initializer for 'Emgu.CV.CvInvoke' threw an exception. Pin
Marco Bertschi9-Dec-13 22:27
protectorMarco Bertschi9-Dec-13 22:27 
AnswerRe: OpenCV & c#, The type initializer for 'Emgu.CV.CvInvoke' threw an exception. Pin
Pete O'Hanlon9-Dec-13 23:40
mvePete O'Hanlon9-Dec-13 23:40 
QuestionOPENCV C# The type initializer for 'Emgu.CV.CvInvoke' threw an exception Pin
kawadeprasad9-Dec-13 20:31
kawadeprasad9-Dec-13 20:31 
QuestionRe: OPENCV C# The type initializer for 'Emgu.CV.CvInvoke' threw an exception Pin
Richard MacCutchan9-Dec-13 22:25
mveRichard MacCutchan9-Dec-13 22:25 
AnswerRe: OPENCV C# The type initializer for 'Emgu.CV.CvInvoke' threw an exception Pin
Marco Bertschi9-Dec-13 22:28
protectorMarco Bertschi9-Dec-13 22:28 

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.