public Form1Controller(ICustomerName theForm)         //only sees ICustomerName methods
 {
     //Look, i can't even see the Form object from here
     theForm.ShowName("Amazing Name");
 }
Exemple #2
0
 public Form1Controller(ICustomerName theForm)         //only sees ICustomerName methods
 {
     theForm.ShowName("Amazing Name");
 }