Click here to Skip to main content
15,917,556 members
Home / Discussions / C#
   

C#

 
AnswerRe: Calendar Pin
#realJSOP28-Oct-08 2:12
professional#realJSOP28-Oct-08 2:12 
GeneralRe: Calendar Pin
Michael Bookatz28-Oct-08 2:14
Michael Bookatz28-Oct-08 2:14 
GeneralRe: Calendar Pin
#realJSOP28-Oct-08 2:42
professional#realJSOP28-Oct-08 2:42 
GeneralRe: Calendar Pin
Michael Bookatz28-Oct-08 2:45
Michael Bookatz28-Oct-08 2:45 
GeneralRe: Calendar Pin
#realJSOP28-Oct-08 2:49
professional#realJSOP28-Oct-08 2:49 
GeneralRe: Calendar Pin
Michael Bookatz28-Oct-08 3:59
Michael Bookatz28-Oct-08 3:59 
GeneralRe: Calendar Pin
#realJSOP28-Oct-08 4:05
professional#realJSOP28-Oct-08 4:05 
QuestionButton.Visible in Base Form Pin
Russell Jones28-Oct-08 1:24
Russell Jones28-Oct-08 1:24 
I'm really confused with this issue.

I have an abstract form that derives from Form and has some buttons on it.

I have a private method in the base class that loops through the buttons and tests the visible property (i'm basically going to align all visible buttons evenly form the right). The thing is that all the buttons show as having their visible property as false, does anyone know why this would be?

<br />
btnCancel.Visible = true;<br />
Console.WriteLine(btnCancel.Visible);<br />

shows false

Is this something to do with the form being abstract?

Edit to Add:
I've just realised that when i exit from the method any buttons that were set within the method are showing correctly but the value is still wrong within the abstract class.

Cheers

Russell
AnswerRe: Button.Visible in Base Form Pin
Russell Jones28-Oct-08 2:01
Russell Jones28-Oct-08 2:01 
QuestionUsernameToken and custom database Pin
Giorgi Dalakishvili28-Oct-08 0:57
mentorGiorgi Dalakishvili28-Oct-08 0:57 
QuestionProblem is "auto reply emails" [modified] Pin
razikang28-Oct-08 0:49
razikang28-Oct-08 0:49 
AnswerRe: Problem is "auto reply emails" Pin
Michael Bookatz28-Oct-08 1:08
Michael Bookatz28-Oct-08 1:08 
JokeRe: Problem is "auto reply emails" Pin
Harvey Saayman28-Oct-08 2:28
Harvey Saayman28-Oct-08 2:28 
AnswerRe: Problem is "auto reply emails" [modified] Pin
Furty28-Oct-08 2:56
Furty28-Oct-08 2:56 
QuestionTDD Pin
mark_w_28-Oct-08 0:27
mark_w_28-Oct-08 0:27 
AnswerRe: TDD Pin
Pete O'Hanlon28-Oct-08 0:37
mvePete O'Hanlon28-Oct-08 0:37 
GeneralRe: TDD Pin
mark_w_28-Oct-08 0:49
mark_w_28-Oct-08 0:49 
GeneralRe: TDD Pin
Pete O'Hanlon28-Oct-08 0:58
mvePete O'Hanlon28-Oct-08 0:58 
GeneralRe: TDD Pin
Colin Angus Mackay28-Oct-08 1:17
Colin Angus Mackay28-Oct-08 1:17 
GeneralRe: TDD Pin
Pete O'Hanlon28-Oct-08 1:34
mvePete O'Hanlon28-Oct-08 1:34 
GeneralRe: TDD Pin
Colin Angus Mackay28-Oct-08 1:35
Colin Angus Mackay28-Oct-08 1:35 
GeneralRe: TDD Pin
mark_w_28-Oct-08 1:18
mark_w_28-Oct-08 1:18 
GeneralRe: TDD Pin
Pete O'Hanlon28-Oct-08 1:50
mvePete O'Hanlon28-Oct-08 1:50 
GeneralRe: TDD Pin
mark_w_28-Oct-08 1:54
mark_w_28-Oct-08 1:54 
GeneralRe: TDD Pin
Pete O'Hanlon28-Oct-08 2:28
mvePete O'Hanlon28-Oct-08 2:28 

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.