Click here to Skip to main content
15,889,863 members
Home / Discussions / C#
   

C#

 
AnswerRe: on the path or out to lunch ? ... hierarchic event notification with ObservableCollection<T> Pin
Eddy Vluggen21-Aug-15 10:09
professionalEddy Vluggen21-Aug-15 10:09 
GeneralRe: on the path or out to lunch ? ... hierarchic event notification with ObservableCollection<T> Pin
Brisingr Aerowing21-Aug-15 12:16
professionalBrisingr Aerowing21-Aug-15 12:16 
GeneralRe: on the path or out to lunch ? ... hierarchic event notification with ObservableCollection<T> Pin
Eddy Vluggen21-Aug-15 13:00
professionalEddy Vluggen21-Aug-15 13:00 
GeneralRe: on the path or out to lunch ? ... hierarchic event notification with ObservableCollection<T> Pin
BillWoodruff21-Aug-15 14:54
professionalBillWoodruff21-Aug-15 14:54 
GeneralRe: on the path or out to lunch ? ... hierarchic event notification with ObservableCollection<T> Pin
BillWoodruff21-Aug-15 14:23
professionalBillWoodruff21-Aug-15 14:23 
GeneralRe: on the path or out to lunch ? ... hierarchic event notification with ObservableCollection<T> Pin
Eddy Vluggen22-Aug-15 0:00
professionalEddy Vluggen22-Aug-15 0:00 
QuestionC# Textbox disabler Pin
Andrei Ang21-Aug-15 1:05
Andrei Ang21-Aug-15 1:05 
AnswerRe: C# Textbox disabler Pin
OriginalGriff21-Aug-15 1:10
mveOriginalGriff21-Aug-15 1:10 
Andrei Ang wrote:
Why is it I could only use 2 input

Because you specify 2 in the test:
C#
if (checker%2 == 0)
If you change the value there, you will change the number of presses.
But I'd do it like this:
C#
private void btnHideTextBox_Click((object sender, EventArgs e)
    {
    myTextBox.Enabled = !(checker++ % 2 == 0); // Or 9, or 7, or...
    }

Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...

GeneralRe: C# Textbox disabler Pin
Andrei Ang21-Aug-15 1:43
Andrei Ang21-Aug-15 1:43 
GeneralRe: C# Textbox disabler Pin
OriginalGriff21-Aug-15 1:54
mveOriginalGriff21-Aug-15 1:54 
GeneralRe: C# Textbox disabler Pin
Andrei Ang21-Aug-15 2:04
Andrei Ang21-Aug-15 2:04 
GeneralRe: C# Textbox disabler Pin
OriginalGriff21-Aug-15 2:11
mveOriginalGriff21-Aug-15 2:11 
GeneralRe: C# Textbox disabler Pin
Andrei Ang21-Aug-15 2:21
Andrei Ang21-Aug-15 2:21 
GeneralRe: C# Textbox disabler Pin
OriginalGriff21-Aug-15 2:32
mveOriginalGriff21-Aug-15 2:32 
GeneralRe: C# Textbox disabler Pin
Andrei Ang21-Aug-15 2:45
Andrei Ang21-Aug-15 2:45 
GeneralRe: C# Textbox disabler Pin
Eddy Vluggen21-Aug-15 3:59
professionalEddy Vluggen21-Aug-15 3:59 
GeneralRe: C# Textbox disabler Pin
OriginalGriff21-Aug-15 4:04
mveOriginalGriff21-Aug-15 4:04 
GeneralRe: C# Textbox disabler Pin
Andrei Ang21-Aug-15 2:12
Andrei Ang21-Aug-15 2:12 
GeneralRe: C# Textbox disabler Pin
Richard MacCutchan21-Aug-15 4:13
mveRichard MacCutchan21-Aug-15 4:13 
QuestionSir Due to long Http Address in C # i found Error Server Error in '/' Application. HTTP Error 400 - Bad Request. Pin
Member 1148413020-Aug-15 20:39
Member 1148413020-Aug-15 20:39 
AnswerRe: Sir Due to long Http Address in C # i found Error Server Error in '/' Application. HTTP Error 400 - Bad Request. Pin
OriginalGriff20-Aug-15 21:42
mveOriginalGriff20-Aug-15 21:42 
Questiondisplay radar! Pin
Member 1183104920-Aug-15 19:33
professionalMember 1183104920-Aug-15 19:33 
SuggestionRe: display radar! Pin
Richard MacCutchan20-Aug-15 21:40
mveRichard MacCutchan20-Aug-15 21:40 
QuestionCategoryName in PerformanceCounter Pin
LeHuuTien20-Aug-15 16:13
LeHuuTien20-Aug-15 16:13 
AnswerRe: CategoryName in PerformanceCounter Pin
Wendelius20-Aug-15 17:39
mentorWendelius20-Aug-15 17:39 

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.