Click here to Skip to main content
15,112,866 members
Home / Discussions / C#
   

C#

 
GeneralRe: Generics Problems Pin
Kevin Marois7-Sep-12 9:55
professionalKevin Marois7-Sep-12 9:55 
GeneralRe: Generics Problems Pin
Ennis Ray Lynch, Jr.7-Sep-12 10:05
MemberEnnis Ray Lynch, Jr.7-Sep-12 10:05 
GeneralRe: Generics Problems Pin
Kevin Marois7-Sep-12 10:09
professionalKevin Marois7-Sep-12 10:09 
GeneralRe: Generics Problems Pin
Ennis Ray Lynch, Jr.7-Sep-12 10:21
MemberEnnis Ray Lynch, Jr.7-Sep-12 10:21 
GeneralRe: Generics Problems Pin
Kevin Marois7-Sep-12 11:43
professionalKevin Marois7-Sep-12 11:43 
AnswerRe: Generics Problems Pin
Clifford Nelson7-Sep-12 10:31
MemberClifford Nelson7-Sep-12 10:31 
AnswerRe: Generics Problems Pin
Clifford Nelson7-Sep-12 10:09
MemberClifford Nelson7-Sep-12 10:09 
AnswerRe: Generics Problems Pin
PIEBALDconsult7-Sep-12 10:12
professionalPIEBALDconsult7-Sep-12 10:12 
If the classes aren't common enough then you can't.

And I'd pass an instance into the Form's constructor if I could.


public interface IX { ... } 
public class X0 : IX { ... }
public class X1 : IX { ... }

public class MyForm
{
  private IX x ;
  public MyForm ( IX X ) { ... }
}

IX x = new X0 ( ... ) ;
MyForm f = new MyForm ( x ) ;

AnswerRe: Generics Problems Pin
Eddy Vluggen7-Sep-12 10:46
professionalEddy Vluggen7-Sep-12 10:46 
GeneralRe: Generics Problems Pin
Kevin Marois7-Sep-12 11:44
professionalKevin Marois7-Sep-12 11:44 
GeneralRe: Generics Problems Pin
Eddy Vluggen7-Sep-12 11:54
professionalEddy Vluggen7-Sep-12 11:54 
GeneralRe: Generics Problems Pin
Kevin Marois7-Sep-12 11:56
professionalKevin Marois7-Sep-12 11:56 
GeneralRe: Generics Problems Pin
Eddy Vluggen7-Sep-12 12:09
professionalEddy Vluggen7-Sep-12 12:09 
AnswerRe: Generics Problems Pin
jschell7-Sep-12 11:39
Memberjschell7-Sep-12 11:39 
GeneralRe: Generics Problems Pin
Kevin Marois7-Sep-12 11:41
professionalKevin Marois7-Sep-12 11:41 
GeneralRe: Generics Problems Pin
jschell8-Sep-12 8:23
Memberjschell8-Sep-12 8:23 
AnswerRe: Generics Problems Pin
dbaseman7-Sep-12 22:20
Memberdbaseman7-Sep-12 22:20 
AnswerRe: Generics Problems Pin
Gerry Schmitz8-Sep-12 21:28
mveGerry Schmitz8-Sep-12 21:28 
Questionhow to change the parent of anUIElement Pin
benzarabel7-Sep-12 6:04
Memberbenzarabel7-Sep-12 6:04 
AnswerRe: how to change the parent of anUIElement Pin
Wes Aday7-Sep-12 6:55
professionalWes Aday7-Sep-12 6:55 
AnswerRe: how to change the parent of anUIElement Pin
Clifford Nelson7-Sep-12 8:25
MemberClifford Nelson7-Sep-12 8:25 
QuestionControl won't update Pin
MAW306-Sep-12 17:48
MemberMAW306-Sep-12 17:48 
AnswerRe: Control won't update Pin
Dr.Walt Fair, PE6-Sep-12 18:13
professionalDr.Walt Fair, PE6-Sep-12 18:13 
GeneralRe: Control won't update Pin
MAW306-Sep-12 18:47
MemberMAW306-Sep-12 18:47 
GeneralRe: Control won't update Pin
Dr.Walt Fair, PE6-Sep-12 18:57
professionalDr.Walt Fair, PE6-Sep-12 18:57 

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.