Click here to Skip to main content
15,916,941 members
Home / Discussions / C#
   

C#

 
AnswerRe: true becomes false, then insanity becomes true. Pin
Mycroft Holmes18-Jan-09 16:56
professionalMycroft Holmes18-Jan-09 16:56 
GeneralRe: true becomes false, then insanity becomes true. Pin
thrakazog18-Jan-09 18:42
thrakazog18-Jan-09 18:42 
AnswerRe: true becomes false, then insanity becomes true. Pin
«_Superman_»18-Jan-09 16:59
professional«_Superman_»18-Jan-09 16:59 
AnswerRe: true becomes false, then insanity becomes true. Pin
_Maxxx_18-Jan-09 18:23
professional_Maxxx_18-Jan-09 18:23 
GeneralRe: true becomes false, then insanity becomes true. Pin
thrakazog18-Jan-09 18:49
thrakazog18-Jan-09 18:49 
GeneralRe: true becomes false, then insanity becomes true. Pin
_Maxxx_19-Jan-09 0:30
professional_Maxxx_19-Jan-09 0:30 
GeneralRe: true becomes false, then insanity becomes true. Pin
thrakazog19-Jan-09 6:45
thrakazog19-Jan-09 6:45 
AnswerRe: true becomes false, then insanity becomes true. Pin
CodingYoshi18-Jan-09 18:48
CodingYoshi18-Jan-09 18:48 
Not sure what the problem could be, however, you should not be allowing another object to set the isDirty property--bad design. A better idea is for the object to decide when it is dirty and the property should be readonly. In your design your object might not be dirty and another object can easily set it to dirty and then "Houston, we have a problem!". So do the following:

public string Name
{
get
{
return _name;
}
set
{
_name = value;
// Now I am dirty since I am changed so I will set myself as dirty since I am a smart object
_isDirty = true;
}
}
GeneralRe: true becomes false, then insanity becomes true. Pin
thrakazog18-Jan-09 18:57
thrakazog18-Jan-09 18:57 
GeneralRe: true becomes false, then insanity becomes true. Pin
CodingYoshi18-Jan-09 19:07
CodingYoshi18-Jan-09 19:07 
GeneralRe: true becomes false, then insanity becomes true. Pin
thrakazog18-Jan-09 19:55
thrakazog18-Jan-09 19:55 
GeneralRe: true becomes false, then insanity becomes true. Pin
CodingYoshi19-Jan-09 3:48
CodingYoshi19-Jan-09 3:48 
AnswerRe: true becomes false, then insanity becomes true. [modified] Pin
Luc Pattyn18-Jan-09 21:40
sitebuilderLuc Pattyn18-Jan-09 21:40 
Question"Checked" property for ToolStripDropDownButton? Pin
la0118-Jan-09 12:38
la0118-Jan-09 12:38 
AnswerRe: "Checked" property for ToolStripDropDownButton? Pin
CodingYoshi18-Jan-09 19:32
CodingYoshi18-Jan-09 19:32 
QuestionMath Analysis Pin
nike_arh18-Jan-09 10:45
nike_arh18-Jan-09 10:45 
AnswerRe: Math Analysis [modified] Pin
Luc Pattyn18-Jan-09 10:57
sitebuilderLuc Pattyn18-Jan-09 10:57 
Questionint? VS int Pin
Mohammad Dayyan18-Jan-09 10:20
Mohammad Dayyan18-Jan-09 10:20 
AnswerRe: int? VS int Pin
Reza Raad18-Jan-09 10:26
Reza Raad18-Jan-09 10:26 
GeneralRe: int? VS int Pin
Mohammad Dayyan18-Jan-09 10:30
Mohammad Dayyan18-Jan-09 10:30 
QuestionWeb Browser Automation and WebBrowserReadyState.Complete cannot view redirect page Pin
JoeJankowski18-Jan-09 9:43
JoeJankowski18-Jan-09 9:43 
QuestionImage size Pin
Blue_Boy18-Jan-09 8:02
Blue_Boy18-Jan-09 8:02 
AnswerRe: Image size Pin
Ravi Bhavnani18-Jan-09 8:09
professionalRavi Bhavnani18-Jan-09 8:09 
AnswerRe: Image size Pin
Luc Pattyn18-Jan-09 8:13
sitebuilderLuc Pattyn18-Jan-09 8:13 
GeneralRe: Image size Pin
Blue_Boy18-Jan-09 9:09
Blue_Boy18-Jan-09 9:09 

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.