Click here to Skip to main content
15,914,594 members
Home / Discussions / C#
   

C#

 
QuestionNeed help in C# project which uses bluetooth technology. Pin
Member 1235574311-Mar-16 20:03
Member 1235574311-Mar-16 20:03 
QuestionUse narrator in C# Pin
Member 1238647111-Mar-16 14:20
Member 1238647111-Mar-16 14:20 
QuestionRe: Use narrator in C# Pin
Richard MacCutchan11-Mar-16 22:04
mveRichard MacCutchan11-Mar-16 22:04 
Questionsteganography cover audio using modification LSB and phase coding technique Pin
Toni Andika10-Mar-16 23:20
Toni Andika10-Mar-16 23:20 
AnswerRe: steganography cover audio using modification LSB and phase coding technique Pin
Sascha Lefèvre10-Mar-16 23:36
professionalSascha Lefèvre10-Mar-16 23:36 
GeneralRe: steganography cover audio using modification LSB and phase coding technique Pin
Toni Andika11-Mar-16 1:24
Toni Andika11-Mar-16 1:24 
GeneralRe: steganography cover audio using modification LSB and phase coding technique Pin
Sascha Lefèvre11-Mar-16 1:31
professionalSascha Lefèvre11-Mar-16 1:31 
GeneralRe: steganography cover audio using modification LSB and phase coding technique Pin
Toni Andika11-Mar-16 2:06
Toni Andika11-Mar-16 2:06 
GeneralRe: steganography cover audio using modification LSB and phase coding technique Pin
Sascha Lefèvre11-Mar-16 2:43
professionalSascha Lefèvre11-Mar-16 2:43 
GeneralRe: steganography cover audio using modification LSB and phase coding technique Pin
Toni Andika14-Mar-16 1:17
Toni Andika14-Mar-16 1:17 
GeneralRe: steganography cover audio using modification LSB and phase coding technique Pin
Sascha Lefèvre14-Mar-16 1:49
professionalSascha Lefèvre14-Mar-16 1:49 
AnswerRe: steganography cover audio using modification LSB and phase coding technique Pin
OriginalGriff10-Mar-16 23:44
mveOriginalGriff10-Mar-16 23:44 
GeneralRe: steganography cover audio using modification LSB and phase coding technique Pin
Toni Andika11-Mar-16 1:53
Toni Andika11-Mar-16 1:53 
QuestionIs this possible? trying to split a string out of a value and then back into a IEnumerable....... Pin
Helixpoint10-Mar-16 5:16
Helixpoint10-Mar-16 5:16 
AnswerRe: Is this possible? trying to split a string out of a value and then back into a IEnumerable....... Pin
PIEBALDconsult10-Mar-16 5:29
mvePIEBALDconsult10-Mar-16 5:29 
Question[SOLVED]I am having an issue with Boolean variables... Pin
glennPattonWork310-Mar-16 3:05
professionalglennPattonWork310-Mar-16 3:05 
Hi,

In my application I am in the process of writing I am building a string containing the result of a test and a comma to be saved out as a CSV file however a test can be re-triggered by accident, not an issue. The problem I have is that the re-triggering can lead to a result being added to the string. I have added a Boolean variable to see if its being re-triggered and if it is only add to the string once see below:
C#
lblPumpMotorSpin_.BackColor = Color.Green;
             if (ResultsRecordedOncePumpMotor == false)
             {
                 Results += "Pump Motor OK,";
             }
             ResultsRecordedOncePumpMotor = true;
This then reset to false in the reset routine for the next attempt.
My thinking was this before it entered Reset() which was after the save routing it would be set to true so it would not enter the if(), but it does!
Any thoughts anyone??
Glenn

modified 11-Mar-16 8:22am.

AnswerRe: I am having an issue with Boolean variables... Pin
OriginalGriff10-Mar-16 3:18
mveOriginalGriff10-Mar-16 3:18 
GeneralRe: I am having an issue with Boolean variables... Pin
glennPattonWork310-Mar-16 3:30
professionalglennPattonWork310-Mar-16 3:30 
GeneralRe: I am having an issue with Boolean variables... Pin
OriginalGriff10-Mar-16 3:35
mveOriginalGriff10-Mar-16 3:35 
GeneralRe: I am having an issue with Boolean variables... Pin
glennPattonWork310-Mar-16 4:40
professionalglennPattonWork310-Mar-16 4:40 
GeneralRe: I am having an issue with Boolean variables... Pin
OriginalGriff10-Mar-16 5:08
mveOriginalGriff10-Mar-16 5:08 
GeneralRe: I am having an issue with Boolean variables... Pin
glennPattonWork310-Mar-16 5:15
professionalglennPattonWork310-Mar-16 5:15 
GeneralRe: I am having an issue with Boolean variables... Pin
OriginalGriff10-Mar-16 5:30
mveOriginalGriff10-Mar-16 5:30 
GeneralRe: I am having an issue with Boolean variables... Pin
glennPattonWork310-Mar-16 5:39
professionalglennPattonWork310-Mar-16 5:39 
GeneralRe: I am having an issue with Boolean variables... Pin
Luc Pattyn10-Mar-16 8:58
sitebuilderLuc Pattyn10-Mar-16 8:58 

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.