Click here to Skip to main content
15,915,086 members
Home / Discussions / C#
   

C#

 
AnswerRe: Taskbar with FormBorderStyle.None when Maximized [solved] Pin
Foxman200019-Oct-09 8:49
Foxman200019-Oct-09 8:49 
GeneralRe: Taskbar with FormBorderStyle.None when Maximized [solved] Pin
MAHIER Brice6-Jan-11 10:12
MAHIER Brice6-Jan-11 10:12 
QuestionString.Format Pin
Mohammad Dayyan15-Aug-09 1:13
Mohammad Dayyan15-Aug-09 1:13 
AnswerRe: String.Format Pin
DaveyM6915-Aug-09 1:22
professionalDaveyM6915-Aug-09 1:22 
GeneralRe: String.Format Pin
Mohammad Dayyan15-Aug-09 1:26
Mohammad Dayyan15-Aug-09 1:26 
QuestionSend a byte to Serial port ! Pin
Mohammad Dayyan15-Aug-09 0:54
Mohammad Dayyan15-Aug-09 0:54 
AnswerRe: Send a byte to Serial port ! Pin
Hristo-Bojilov15-Aug-09 1:08
Hristo-Bojilov15-Aug-09 1:08 
GeneralRe: Send a byte to Serial port ! Pin
Mohammad Dayyan15-Aug-09 1:15
Mohammad Dayyan15-Aug-09 1:15 
GeneralRe: Send a byte to Serial port ! Pin
Hristo-Bojilov15-Aug-09 4:19
Hristo-Bojilov15-Aug-09 4:19 
GeneralRe: Send a byte to Serial port ! Pin
Mohammad Dayyan15-Aug-09 4:24
Mohammad Dayyan15-Aug-09 4:24 
AnswerRe: Send a byte to Serial port ! Pin
Alan N15-Aug-09 4:36
Alan N15-Aug-09 4:36 
QuestionDELPHİ7 prepared project. NET How Can I Keep Pin
ibrahim_2615-Aug-09 0:11
ibrahim_2615-Aug-09 0:11 
QuestionRe: DELPHİ7 prepared project. NET How Can I Keep Pin
OriginalGriff15-Aug-09 5:40
mveOriginalGriff15-Aug-09 5:40 
AnswerRe: DELPHİ7 prepared project. NET How Can I Keep Pin
Dave Kreskowiak15-Aug-09 6:47
mveDave Kreskowiak15-Aug-09 6:47 
QuestionAutomate processing without button click? Pin
spankyleo12315-Aug-09 0:03
spankyleo12315-Aug-09 0:03 
AnswerRe: Automate processing without button click? Pin
Henry Minute15-Aug-09 0:37
Henry Minute15-Aug-09 0:37 
GeneralRe: Automate processing without button click? Pin
spankyleo12315-Aug-09 2:05
spankyleo12315-Aug-09 2:05 
GeneralRe: Automate processing without button click? Pin
spankyleo12317-Aug-09 7:43
spankyleo12317-Aug-09 7:43 
QuestionSetting an object public property, protected by a security check Pin
pierpaolo paparo14-Aug-09 21:56
pierpaolo paparo14-Aug-09 21:56 
Hi,

I have an object that performe a security check before setting a property

Class Issue

string _status
string Status {

set {

if (Value == "urgent" && current.User.IsManager)
_status = "urgent"
else
throw exception

}

get { return _status}

}


The problem arise when I just need to fill the status property from data coming from the Database.
Is there any proper OO way to leave the business logic in the object while allowing at least the db layer to fill this proerty?
At the moment, I have a IssueManager that is responsible to execture CRUD methods on the DB on behalf of Issue.



Thanks
AnswerRe: Setting an object public property, protected by a security check Pin
Mycroft Holmes14-Aug-09 23:06
professionalMycroft Holmes14-Aug-09 23:06 
GeneralRe: Setting an object public property, protected by a security check Pin
pierpaolo paparo14-Aug-09 23:53
pierpaolo paparo14-Aug-09 23:53 
GeneralRe: Setting an object public property, protected by a security check Pin
Mycroft Holmes15-Aug-09 0:39
professionalMycroft Holmes15-Aug-09 0:39 
AnswerRe: Setting an object public property, protected by a security check Pin
Adam Maras14-Aug-09 23:47
Adam Maras14-Aug-09 23:47 
GeneralRe: Setting an object public property, protected by a security check Pin
pierpaolo paparo14-Aug-09 23:54
pierpaolo paparo14-Aug-09 23:54 
GeneralRe: Setting an object public property, protected by a security check Pin
Adam Maras14-Aug-09 23:59
Adam Maras14-Aug-09 23:59 

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.