code_junkie

What's the state of play with “Visual Inheritance”

Nov 10th, 2011
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. public class MyForm<MyObject> : Form
  2.  
  3. public ProductDetail()
  4. {
  5. InitializeComponent();
  6. }
  7.  
  8. public ProductDetail(ISupplierController supplierController) : base()
  9. {
  10. InitializeComponent();
  11. this.supplierController = supplierController;
  12. }
  13.  
  14. public NewProduct(ISupplierController supplierController)
  15. : base(supplierController)
  16. {
  17. InitializeComponent();
  18. }
Add Comment
Please, Sign In to add comment