Click here to Skip to main content
15,890,897 members
Home / Discussions / C#
   

C#

 
Questionsourcecode test client by c# Pin
thongict25-Aug-10 17:37
thongict25-Aug-10 17:37 
AnswerRe: sourcecode test client by c# Pin
PIEBALDconsult25-Aug-10 17:48
mvePIEBALDconsult25-Aug-10 17:48 
AnswerRe: sourcecode test client by c# Pin
Abhinav S25-Aug-10 18:10
Abhinav S25-Aug-10 18:10 
AnswerRe: sourcecode test client by c# - TROLL Pin
Mycroft Holmes25-Aug-10 19:43
professionalMycroft Holmes25-Aug-10 19:43 
AnswerRe: sourcecode test client by c# Pin
Bigdeak25-Aug-10 20:27
Bigdeak25-Aug-10 20:27 
QuestionToolStripMenuItem.Visible always returns false? Pin
AussieLew25-Aug-10 15:58
AussieLew25-Aug-10 15:58 
AnswerRe: ToolStripMenuItem.Visible always returns false? Pin
johannesnestler25-Aug-10 22:19
johannesnestler25-Aug-10 22:19 
GeneralRe: ToolStripMenuItem.Visible always returns false? Pin
AussieLew26-Aug-10 15:23
AussieLew26-Aug-10 15:23 
johannesnestler wrote:
Can you set the Visible-property?


Yes, I can set the Visible property to either True or False directly. And that works.
It is only when trying to toggle it by using the ! operator it always returns True.
(Because getting the value of .Visible always returns False)

So if I set it either in the property grid or in code, to False. The MenuItem is Not visible as expected.
The first toggle using the ! operator then makes it visible, further toggles continue to leave it visible as it just keeps setting it to True. (because this.confirmDeletesToolStripMenuItem.Visible continues to return false!)

Without worry about my previous code, to simplify my example, even if I do something like....

this.confirmDeletesToolStripMenuItem.Visible = true;
mbox("Visible = " + this.confirmDeletesToolStripMenuItem.Visible.ToString());


I still get False!
??
GeneralRe: ToolStripMenuItem.Visible always returns false? [modified] Pin
AussieLew26-Aug-10 15:46
AussieLew26-Aug-10 15:46 
AnswerRe: ToolStripMenuItem.Visible always returns false? Pin
Gonzalo Cao26-Aug-10 0:38
Gonzalo Cao26-Aug-10 0:38 
QuestionSerialPort has memory leak Pin
fukchai200025-Aug-10 7:26
fukchai200025-Aug-10 7:26 
AnswerRe: SerialPort has memory leak Pin
QuiJohn25-Aug-10 8:15
QuiJohn25-Aug-10 8:15 
AnswerRe: I never encountered a memory leak while using SerialPort Pin
Luc Pattyn25-Aug-10 8:50
sitebuilderLuc Pattyn25-Aug-10 8:50 
AnswerRe: SerialPort has memory leak Pin
Dan Mos25-Aug-10 10:49
Dan Mos25-Aug-10 10:49 
QuestionConverting Array list to VBA.Collection in c# Pin
kjsl2k925-Aug-10 3:12
kjsl2k925-Aug-10 3:12 
AnswerRe: Converting Array list to VBA.Collection in c# Pin
dan!sh 25-Aug-10 5:25
professional dan!sh 25-Aug-10 5:25 
AnswerRe: Converting Array list to VBA.Collection in c# Pin
Eddy Vluggen25-Aug-10 7:28
professionalEddy Vluggen25-Aug-10 7:28 
QuestionCtrl + Enter key functionality in webbrowser application (win app) Pin
Krishna Varadharajan25-Aug-10 2:39
Krishna Varadharajan25-Aug-10 2:39 
AnswerRe: Ctrl + Enter key functionality in webbrowser application (win app) Pin
dan!sh 25-Aug-10 2:49
professional dan!sh 25-Aug-10 2:49 
GeneralRe: Ctrl + Enter key functionality in webbrowser application (win app) Pin
Luc Pattyn25-Aug-10 3:40
sitebuilderLuc Pattyn25-Aug-10 3:40 
GeneralRe: Ctrl + Enter key functionality in webbrowser application (win app) Pin
Bernhard Hiller25-Aug-10 3:46
Bernhard Hiller25-Aug-10 3:46 
QuestionProject Help Pin
Mamatha302425-Aug-10 2:18
Mamatha302425-Aug-10 2:18 
AnswerRe: Project Help Pin
Richard MacCutchan25-Aug-10 2:47
mveRichard MacCutchan25-Aug-10 2:47 
GeneralRe: Project Help Pin
PIEBALDconsult25-Aug-10 15:21
mvePIEBALDconsult25-Aug-10 15:21 
GeneralRe: Project Help Pin
Richard MacCutchan25-Aug-10 22:47
mveRichard MacCutchan25-Aug-10 22:47 

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.