Click here to Skip to main content
15,900,589 members
Home / Discussions / C#
   

C#

 
AnswerRe: urgent Help on C# Pin
Heath Stewart4-Dec-05 19:40
protectorHeath Stewart4-Dec-05 19:40 
Questionreferring to Class Instance from other page Pin
vikings4-Dec-05 17:46
vikings4-Dec-05 17:46 
AnswerRe: referring to Class Instance from other page Pin
Heath Stewart4-Dec-05 19:34
protectorHeath Stewart4-Dec-05 19:34 
GeneralRe: referring to Class Instance from other page Pin
vikings4-Dec-05 19:50
vikings4-Dec-05 19:50 
GeneralRe: referring to Class Instance from other page Pin
Heath Stewart4-Dec-05 20:05
protectorHeath Stewart4-Dec-05 20:05 
AnswerRe: referring to Class Instance from other page Pin
nbobby4-Dec-05 19:46
nbobby4-Dec-05 19:46 
GeneralRe: referring to Class Instance from other page Pin
vikings4-Dec-05 19:52
vikings4-Dec-05 19:52 
GeneralRe: referring to Class Instance from other page Pin
Heath Stewart4-Dec-05 20:08
protectorHeath Stewart4-Dec-05 20:08 
Keep in mind that this is a different instance, not the same instance created in the other page. A class and a class instance (as you mentioned in your subject) are two different things. Classes can be referred to from anywhere so long as the assembly in which the class is defined can be loaded, and that the class is not inaccessible due to its accessibility modifier (like an internal class). To keep the same instance you need to keep the instance alive. For per-user instances you can use the Page.Session variable. See my other reply for more details.

This posting is provided "AS IS" with no warranties, and confers no rights.

Software Design Engineer
Developer Division Customer Product-lifecycle Experience
Microsoft

[My Articles] [My Blog]
GeneralRe: referring to Class Instance from other page Pin
nbobby4-Dec-05 20:18
nbobby4-Dec-05 20:18 
GeneralRe: referring to Class Instance from other page Pin
Heath Stewart4-Dec-05 20:23
protectorHeath Stewart4-Dec-05 20:23 
GeneralRe: referring to Class Instance from other page Pin
vikings4-Dec-05 20:43
vikings4-Dec-05 20:43 
GeneralRe: referring to Class Instance from other page Pin
nbobby4-Dec-05 22:55
nbobby4-Dec-05 22:55 
QuestionTopMost property of a form Pin
Ruskin Dantra4-Dec-05 10:22
Ruskin Dantra4-Dec-05 10:22 
AnswerRe: TopMost property of a form Pin
ekynox4-Dec-05 12:42
ekynox4-Dec-05 12:42 
GeneralRe: TopMost property of a form Pin
Ruskin Dantra4-Dec-05 13:40
Ruskin Dantra4-Dec-05 13:40 
AnswerRe: TopMost property of a form Pin
Luis Alonso Ramos5-Dec-05 6:20
Luis Alonso Ramos5-Dec-05 6:20 
GeneralRe: TopMost property of a form Pin
Ruskin Dantra5-Dec-05 11:38
Ruskin Dantra5-Dec-05 11:38 
GeneralRe: TopMost property of a form Pin
Luis Alonso Ramos5-Dec-05 15:54
Luis Alonso Ramos5-Dec-05 15:54 
QuestionReference to simple types Pin
Yoyosch4-Dec-05 9:21
Yoyosch4-Dec-05 9:21 
AnswerRe: Reference to simple types Pin
Heath Stewart4-Dec-05 19:51
protectorHeath Stewart4-Dec-05 19:51 
QuestionCollections with different classes Pin
Mark064-Dec-05 8:03
Mark064-Dec-05 8:03 
AnswerRe: Collections with different classes Pin
Guffa4-Dec-05 9:52
Guffa4-Dec-05 9:52 
GeneralRe: Collections with different classes Pin
Mark064-Dec-05 10:07
Mark064-Dec-05 10:07 
AnswerRe: Collections with different classes Pin
Guffa4-Dec-05 14:29
Guffa4-Dec-05 14:29 
QuestionMusic realtime analyser Pin
johboh4-Dec-05 4:53
johboh4-Dec-05 4:53 

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.