Click here to Skip to main content
16,005,209 members
Home / Discussions / C#
   

C#

 
AnswerRe: accessing control's value from a seperate class. Pin
Saksida Bojan17-Aug-09 11:15
Saksida Bojan17-Aug-09 11:15 
AnswerRe: accessing control's value from a seperate class. Pin
MarkLTX17-Aug-09 11:29
MarkLTX17-Aug-09 11:29 
AnswerRe: accessing control's value from a seperate class. Pin
DaveyM6917-Aug-09 11:32
professionalDaveyM6917-Aug-09 11:32 
QuestionRe: accessing control's value from a seperate class. [modified] What am I doing wrong? Pin
JollyMansArt17-Aug-09 11:45
JollyMansArt17-Aug-09 11:45 
QuestionRe: accessing control's value from a seperate class. [modified] What am I doing wrong? Pin
JollyMansArt17-Aug-09 12:07
JollyMansArt17-Aug-09 12:07 
AnswerRe: accessing control's value from a seperate class. [modified] What am I doing wrong? Pin
DaveyM6917-Aug-09 12:20
professionalDaveyM6917-Aug-09 12:20 
QuestionRe: accessing control's value from a seperate class. [modified] What am I doing wrong? (Simplified...) Pin
JollyMansArt17-Aug-09 12:32
JollyMansArt17-Aug-09 12:32 
AnswerRe: accessing control's value from a seperate class. [modified] What am I doing wrong? Pin
Henry Minute17-Aug-09 12:57
Henry Minute17-Aug-09 12:57 
It is too late here for me to make any sense of your problem (my fault, not yours), but your code wouldbe a little shorter and therefore possibly easier to understand if you replace this (and all the ones like it):

private Boolean HasckbxMasterApplicationControlValueChanged()
{
    if (ckbxMasterApplication.Checked == UnchangedMasterAppField)
    {
        return false;
    }
    else
    {
        return true;
    }
}


with:

private Boolean HasckbxMasterApplicationControlValueChanged()
{
    return !(ckbxMasterApplication.Checked == UnchangedMasterAppField);
}


or, of course:
private Boolean HasckbxMasterApplicationControlValueChanged()
{
    return (ckbxMasterApplication.Checked != UnchangedMasterAppField);
}


Henry Minute

Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”

AnswerRe: accessing control's value from a seperate class. Pin
Luc Pattyn17-Aug-09 13:13
sitebuilderLuc Pattyn17-Aug-09 13:13 
QuestionForm reload Pin
neha_rai17-Aug-09 9:27
neha_rai17-Aug-09 9:27 
AnswerRe: Form reload Pin
kevinnicol17-Aug-09 9:33
kevinnicol17-Aug-09 9:33 
AnswerRe: Form reload Pin
Adam R Harris17-Aug-09 10:20
Adam R Harris17-Aug-09 10:20 
AnswerRe: Form reload Pin
Pete O'Hanlon17-Aug-09 10:50
mvePete O'Hanlon17-Aug-09 10:50 
AnswerRe: Form reload Pin
Luc Pattyn17-Aug-09 13:16
sitebuilderLuc Pattyn17-Aug-09 13:16 
Questionconnection to other computer using C#(REPOST) Pin
CoderForEver17-Aug-09 8:43
CoderForEver17-Aug-09 8:43 
QuestionC# Host with IP address detect! Pin
nhqlbaislwfiikqraqnm17-Aug-09 8:41
nhqlbaislwfiikqraqnm17-Aug-09 8:41 
AnswerRe: C# Host with IP address detect! Pin
ricmil4217-Aug-09 9:10
ricmil4217-Aug-09 9:10 
GeneralRe: C# Host with IP address detect! Pin
nhqlbaislwfiikqraqnm17-Aug-09 9:46
nhqlbaislwfiikqraqnm17-Aug-09 9:46 
GeneralRe: C# Host with IP address detect! Pin
ricmil4217-Aug-09 9:52
ricmil4217-Aug-09 9:52 
AnswerRe: C# Host with IP address detect! Pin
nhqlbaislwfiikqraqnm17-Aug-09 10:01
nhqlbaislwfiikqraqnm17-Aug-09 10:01 
GeneralRe: C# Host with IP address detect! Pin
nhqlbaislwfiikqraqnm17-Aug-09 10:02
nhqlbaislwfiikqraqnm17-Aug-09 10:02 
QuestionModel-View-Presenter Question [modified] Pin
Frygreen17-Aug-09 7:04
Frygreen17-Aug-09 7:04 
AnswerRe: Model-View-Presenter Question Pin
Henry Minute17-Aug-09 7:21
Henry Minute17-Aug-09 7:21 
AnswerRe: Model-View-Presenter Question Pin
N a v a n e e t h17-Aug-09 8:34
N a v a n e e t h17-Aug-09 8:34 
AnswerRe: Model-View-Presenter Question Pin
Frygreen18-Aug-09 7:55
Frygreen18-Aug-09 7:55 

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.