Click here to Skip to main content
15,888,148 members
Home / Discussions / C#
   

C#

 
GeneralRe: If you are worried about performance Pin
honeyman_can27-Jul-06 7:59
honeyman_can27-Jul-06 7:59 
AnswerRe: alternative to structs? Pin
LongRange.Shooter28-Jul-06 9:33
LongRange.Shooter28-Jul-06 9:33 
QuestionHow to deploy project with SQL Server 2005 express? Pin
_awatts26-Jul-06 9:55
_awatts26-Jul-06 9:55 
Question.GetFiles(?) Pin
HahnTech26-Jul-06 9:25
HahnTech26-Jul-06 9:25 
AnswerRe: .GetFiles(?) Pin
Dustin Metzgar26-Jul-06 9:55
Dustin Metzgar26-Jul-06 9:55 
GeneralRe: .GetFiles(?) Pin
HahnTech26-Jul-06 12:17
HahnTech26-Jul-06 12:17 
QuestionEnterprise Library 2.0 and Database Trace Listener Pin
osamahmirza26-Jul-06 9:18
osamahmirza26-Jul-06 9:18 
QuestionCommunicating between forms Pin
jerrymei26-Jul-06 9:04
jerrymei26-Jul-06 9:04 
Hi
My app has a Wizard like interface that has 4 pages.
I have created a phone class in this app. On the second page, depending on user's selection I have to instantiate either a digital phone class or normal phone class(Both inherite from parent phone class)

I instantiate the appropirate class and set all the properties in the "Leave" event of second page, and I use the "Enter" event of third page to use these values.

The problem is how can I tell the third page,which class to instantiate and how can I transfer these values(class properties on second page) to third page.

I am thinking may be the phone class has to be a singleton so that whenever it is instantiated I get the first instance each and everytime.

Is there a better way of communicating data between pages?

Thanks,
AnswerRe: Communicating between forms Pin
led mike26-Jul-06 9:11
led mike26-Jul-06 9:11 
Questiontrygetvalue? Please help Pin
honeyman_can26-Jul-06 8:46
honeyman_can26-Jul-06 8:46 
AnswerDo you have access to a computer? Pin
Ennis Ray Lynch, Jr.26-Jul-06 9:12
Ennis Ray Lynch, Jr.26-Jul-06 9:12 
AnswerRe: trygetvalue? Please help Pin
led mike26-Jul-06 9:15
led mike26-Jul-06 9:15 
QuestionADOX making me crazy, please help Pin
perry5926-Jul-06 8:45
perry5926-Jul-06 8:45 
QuestionGetting DataGridView checkbox checked event when it happens.... Pin
LongRange.Shooter26-Jul-06 8:44
LongRange.Shooter26-Jul-06 8:44 
AnswerRe: Getting DataGridView checkbox checked event when it happens.... Pin
led mike26-Jul-06 8:48
led mike26-Jul-06 8:48 
QuestionDetermining whether .Net 2.0 is installed or not? Pin
wasife26-Jul-06 7:36
wasife26-Jul-06 7:36 
Questionbuild 2003 from 2005 Pin
spin vector26-Jul-06 7:15
spin vector26-Jul-06 7:15 
AnswerRe: build 2003 from 2005 Pin
Steve Maier26-Jul-06 7:34
professionalSteve Maier26-Jul-06 7:34 
GeneralRe: build 2003 from 2005 Pin
spin vector26-Jul-06 7:54
spin vector26-Jul-06 7:54 
QuestionRegEx in C# to split on two delimiters Pin
Master Toothless One26-Jul-06 7:08
Master Toothless One26-Jul-06 7:08 
AnswerRe: RegEx in C# to split on two delimiters Pin
Dustin Metzgar26-Jul-06 8:20
Dustin Metzgar26-Jul-06 8:20 
GeneralRe: RegEx in C# to split on two delimiters Pin
Master Toothless One26-Jul-06 9:30
Master Toothless One26-Jul-06 9:30 
AnswerRe: RegEx in C# to split on two delimiters Pin
BoneSoft26-Jul-06 12:02
BoneSoft26-Jul-06 12:02 
Questiontutorial with datagridview Pin
simsen26-Jul-06 7:02
simsen26-Jul-06 7:02 
AnswerRe: tutorial with datagridview Pin
simsen26-Jul-06 8:39
simsen26-Jul-06 8: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.