Click here to Skip to main content
15,910,009 members
Home / Discussions / C#
   

C#

 
AnswerRe: TryEnter always return true in Timer Event Pin
Nicholas Butler12-May-09 23:18
sitebuilderNicholas Butler12-May-09 23:18 
QuestionConvert From VB.Net to C # Project Pin
misCafe12-May-09 17:07
misCafe12-May-09 17:07 
AnswerRe: Convert From VB.Net to C # Project Pin
Dave Kreskowiak12-May-09 17:22
mveDave Kreskowiak12-May-09 17:22 
GeneralRe: Convert From VB.Net to C # Project Pin
misCafe12-May-09 17:35
misCafe12-May-09 17:35 
QuestionUsing richtextbox as output Pin
Quake2Player12-May-09 16:53
Quake2Player12-May-09 16:53 
AnswerRe: Using richtextbox as output Pin
Dave Kreskowiak12-May-09 17:21
mveDave Kreskowiak12-May-09 17:21 
Questioninheriting varibles from within a class Pin
antrock10112-May-09 16:03
antrock10112-May-09 16:03 
AnswerRe: inheriting varibles from within a class Pin
Luc Pattyn12-May-09 16:45
sitebuilderLuc Pattyn12-May-09 16:45 
Hi,

when calling printseat on an instance of your print class, you create a new instance of profile; and you store it in a variable named profileupdate however that is completely unrelated to the profileupdate() method.

So probably the profileupdate() method never gets called at all (it is not called by the code shown), hence the postcode shown on the Console will be zero, its initial value.

BTW:
1. rather than waiting 15 minutes before your app ends, it makes sense to perform Console.ReadLine(); that will have your app wait until you hit the ENTER key.
2. I strongly suggest you choose better names for all variables, methods, properties, etc; a careful choice for each of them makes your code much more readable and will allow you (and others) to more easily see what is going on, and to locate bugs if any.
3. please use PRE tags (e.g. by clicking the "code block" button under the textbox) to show code in a nice non-proportional font while preserving formatting.

Smile | :)

Luc Pattyn [Forum Guidelines] [My Articles]

The quality and detail of your question reflects on the effectiveness of the help you are likely to get.
Show formatted code inside PRE tags, and give clear symptoms when describing a problem.

GeneralRe: inheriting varibles from within a class Pin
antrock10112-May-09 16:55
antrock10112-May-09 16:55 
GeneralRe: inheriting varibles from within a class Pin
Luc Pattyn12-May-09 17:15
sitebuilderLuc Pattyn12-May-09 17:15 
GeneralRe: inheriting varibles from within a class Pin
antrock10112-May-09 17:17
antrock10112-May-09 17:17 
AnswerRe: inheriting varibles from within a class Pin
PIEBALDconsult12-May-09 17:20
mvePIEBALDconsult12-May-09 17:20 
GeneralRe: inheriting varibles from within a class Pin
Luc Pattyn12-May-09 17:22
sitebuilderLuc Pattyn12-May-09 17:22 
GeneralRe: inheriting varibles from within a class Pin
PIEBALDconsult12-May-09 17:41
mvePIEBALDconsult12-May-09 17:41 
GeneralRe: inheriting varibles from within a class Pin
antrock10112-May-09 17:25
antrock10112-May-09 17:25 
GeneralRe: inheriting varibles from within a class Pin
antrock10112-May-09 17:36
antrock10112-May-09 17:36 
GeneralRe: inheriting varibles from within a class Pin
PIEBALDconsult12-May-09 17:46
mvePIEBALDconsult12-May-09 17:46 
GeneralRe: inheriting varibles from within a class Pin
antrock10112-May-09 18:00
antrock10112-May-09 18:00 
GeneralUsing the New keyword Pin
Mycroft Holmes12-May-09 15:23
professionalMycroft Holmes12-May-09 15:23 
GeneralRe: Using the New keyword Pin
Luc Pattyn12-May-09 17:09
sitebuilderLuc Pattyn12-May-09 17:09 
GeneralRe: Using the New keyword Pin
Mycroft Holmes12-May-09 19:06
professionalMycroft Holmes12-May-09 19:06 
GeneralRe: Using the New keyword Pin
PIEBALDconsult12-May-09 17:34
mvePIEBALDconsult12-May-09 17:34 
GeneralRe: Using the New keyword Pin
N a v a n e e t h12-May-09 18:15
N a v a n e e t h12-May-09 18:15 
GeneralRe: Using the New keyword Pin
PIEBALDconsult13-May-09 3:21
mvePIEBALDconsult13-May-09 3:21 
GeneralRe: Using the New keyword Pin
Mycroft Holmes12-May-09 19:09
professionalMycroft Holmes12-May-09 19:09 

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.