Click here to Skip to main content
15,892,643 members
Home / Discussions / C#
   

C#

 
AnswerRe: FileInfo.Exists returns False even if the file exists Pin
Stefan Troschuetz10-Mar-06 6:55
Stefan Troschuetz10-Mar-06 6:55 
AnswerRe: FileInfo.Exists returns False even if the file exists Pin
Guffa10-Mar-06 7:10
Guffa10-Mar-06 7:10 
AnswerRe: FileInfo.Exists returns False even if the file exists Pin
FocusedWolf10-Mar-06 8:42
FocusedWolf10-Mar-06 8:42 
QuestionImage with transparent background Pin
stu8310-Mar-06 5:33
stu8310-Mar-06 5:33 
QuestionImage with transparent background Pin
stu8310-Mar-06 5:24
stu8310-Mar-06 5:24 
QuestionControl visible changed event Pin
malharone10-Mar-06 4:28
malharone10-Mar-06 4:28 
AnswerRe: Control visible changed event Pin
Office Lineman10-Mar-06 6:10
Office Lineman10-Mar-06 6:10 
GeneralRe: Control visible changed event Pin
malharone10-Mar-06 7:36
malharone10-Mar-06 7:36 
Office Lineman wrote:
Are you sure the visibility is not being set from true to true, or false to false?


Nope...

Just to test it out, I tried with a small example.
a) put a PropertyGrid (propertyGrid1) in form
b) put a TextBox (textBox1) in form
c) bind propertyGrid1 to textBox1
d) add a handler for VisibleChanged on textBox1
e) add following code in the handler
this.Text = textBox1.Visible.ToString()
f) Run the program
g) change the "Visible" property of the textbox1 in the propertyGrid1 to true/false. The form title never shows "false" eventhough the propertyGrid1 may show "false" for the Visible property value.

I tested my solution with "MessageBox.Show(..)" instead of "this.Text = ..." but no luck.

Sigh | :sigh:

- Malhar
GeneralRe: Control visible changed event Pin
Office Lineman10-Mar-06 7:56
Office Lineman10-Mar-06 7:56 
GeneralRe: Control visible changed event Pin
malharone10-Mar-06 8:07
malharone10-Mar-06 8:07 
GeneralRe: Control visible changed event Pin
Office Lineman10-Mar-06 8:43
Office Lineman10-Mar-06 8:43 
GeneralRe: Control visible changed event Pin
godvicien13-Oct-10 20:53
godvicien13-Oct-10 20:53 
QuestionGrid Veiw Pin
papa198010-Mar-06 4:19
papa198010-Mar-06 4:19 
AnswerRe: Grid Veiw Pin
ToddHileHoffer10-Mar-06 8:12
ToddHileHoffer10-Mar-06 8:12 
GeneralRe: Grid Veiw Pin
papa198011-Mar-06 22:39
papa198011-Mar-06 22:39 
QuestionDynamic Menu Pin
vatzcar10-Mar-06 3:56
vatzcar10-Mar-06 3:56 
AnswerRe: Dynamic Menu Pin
eggsovereasy10-Mar-06 7:40
eggsovereasy10-Mar-06 7:40 
GeneralRe: Dynamic Menu Pin
vatzcar10-Mar-06 22:17
vatzcar10-Mar-06 22:17 
AnswerRe: Dynamic Menu Pin
Luis Alonso Ramos12-Mar-06 17:52
Luis Alonso Ramos12-Mar-06 17:52 
Questionserializing a class containing hash table as one of its objects Pin
Anupam Mazumdar10-Mar-06 3:33
Anupam Mazumdar10-Mar-06 3:33 
AnswerRe: serializing a class containing hash table as one of its objects Pin
Judah Gabriel Himango10-Mar-06 3:53
sponsorJudah Gabriel Himango10-Mar-06 3:53 
Questiondrag and drop problem Pin
Gyozo Gaspar10-Mar-06 3:20
Gyozo Gaspar10-Mar-06 3:20 
AnswerRe: drag and drop problem Pin
Judah Gabriel Himango10-Mar-06 3:56
sponsorJudah Gabriel Himango10-Mar-06 3:56 
QuestionUpload Pin
albCode10-Mar-06 3:03
albCode10-Mar-06 3:03 
AnswerRe: Upload Pin
Judah Gabriel Himango10-Mar-06 3:58
sponsorJudah Gabriel Himango10-Mar-06 3: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.