Click here to Skip to main content
15,908,661 members
Home / Discussions / C#
   

C#

 
GeneralRe: Equality of floating point numbers [modified] Pin
Luc Pattyn21-Jun-09 8:08
sitebuilderLuc Pattyn21-Jun-09 8:08 
QuestionCrystal report field strange behaviour Pin
Muammar©21-Jun-09 5:35
Muammar©21-Jun-09 5:35 
AnswerSolved! Pin
Muammar©21-Jun-09 6:19
Muammar©21-Jun-09 6:19 
QuestionDeleted VS component Pin
Hans Ruck21-Jun-09 4:01
Hans Ruck21-Jun-09 4:01 
AnswerRe: Deleted VS component Pin
Henry Minute21-Jun-09 8:00
Henry Minute21-Jun-09 8:00 
GeneralRe: Deleted VS component Pin
Hans Ruck21-Jun-09 8:59
Hans Ruck21-Jun-09 8:59 
QuestionReuseability of controls Pin
Rafone21-Jun-09 3:29
Rafone21-Jun-09 3:29 
AnswerRe: Reuseability of controls Pin
Colin Angus Mackay21-Jun-09 4:12
Colin Angus Mackay21-Jun-09 4:12 
Rafone wrote:
How do I re-use it and keep the ability to open any of these files from any app I use it in?


You redesign it with extensibility points.

In your example, saving and retrieving the tree state from a file and you having different file formats for various applications, you would add the ability of being able to query in all ways necessary the state and structure of the tree. Another class is responsible for persisting this to where ever you need it (file, database, whereever). If you have multiple ways of storing it you have multiple classes responsible for persisting the information. Single responsiblity principle.
GeneralRe: Reuseability of controls Pin
Rafone21-Jun-09 5:08
Rafone21-Jun-09 5:08 
GeneralRe: Reuseability of controls Pin
Luc Pattyn21-Jun-09 5:25
sitebuilderLuc Pattyn21-Jun-09 5:25 
GeneralRe: Reuseability of controls Pin
Rafone21-Jun-09 7:58
Rafone21-Jun-09 7:58 
GeneralRe: Reuseability of controls Pin
Luc Pattyn21-Jun-09 8:10
sitebuilderLuc Pattyn21-Jun-09 8:10 
QuestionEvent handling in a custom control. Pin
Siddhartha S.21-Jun-09 1:26
Siddhartha S.21-Jun-09 1:26 
AnswerRe: Event handling in a custom control. Pin
Luc Pattyn21-Jun-09 1:58
sitebuilderLuc Pattyn21-Jun-09 1:58 
GeneralRe: Event handling in a custom control. Pin
Siddhartha S.21-Jun-09 16:55
Siddhartha S.21-Jun-09 16:55 
GeneralRe: Event handling in a custom control. Pin
Luc Pattyn21-Jun-09 17:00
sitebuilderLuc Pattyn21-Jun-09 17:00 
GeneralRe: Event handling in a custom control. Pin
Siddhartha S.21-Jun-09 17:04
Siddhartha S.21-Jun-09 17:04 
QuestionCasting KeyValuePair -- eliminate else if blocks [modified] Pin
devvvy21-Jun-09 0:48
devvvy21-Jun-09 0:48 
AnswerRe: Casting KeyValuePair -- eliminate else if blocks Pin
Colin Angus Mackay21-Jun-09 3:49
Colin Angus Mackay21-Jun-09 3:49 
GeneralRe: Casting KeyValuePair -- eliminate else if blocks Pin
devvvy21-Jun-09 6:15
devvvy21-Jun-09 6:15 
Question"Error 1053: The service did not respond to the start or control request in a timely fashion" Pin
obrix_activex21-Jun-09 0:37
obrix_activex21-Jun-09 0:37 
QuestionHow You Check Data In DataSet? Pin
noamtzu21-Jun-09 0:17
noamtzu21-Jun-09 0:17 
AnswerRe: How You Check Data In DataSet? Pin
dan!sh 21-Jun-09 0:23
professional dan!sh 21-Jun-09 0:23 
GeneralRe: How You Check Data In DataSet? Pin
noamtzu21-Jun-09 0:32
noamtzu21-Jun-09 0:32 
GeneralRe: How You Check Data In DataSet? Pin
Christian Graus21-Jun-09 0:35
protectorChristian Graus21-Jun-09 0:35 

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.