Ejemplo n.º 1
0
        public MainWindow()
        {
            InitializeComponent();
            d = new DelegateExample(tb_delegate);
            DelegateExample delegateExample2 = new DelegateExample(tb_delegate, new List <int>());

            MyPrinter    printer  = new MyPrinter();
            UserTechnian technian = new UserTechnian(printer);
            UserManager  manager  = new UserManager(printer);
        }
Ejemplo n.º 2
0
 public UserManager(MyPrinter printer)
 {
     myPrinter         = printer;
     printer.PageOver += myPageOver;
 }
Ejemplo n.º 3
0
 public UserTechnian(MyPrinter printer)
 {
     myPrinter         = printer;
     printer.PageOver += myPageOver;
     //printer.PageOver();
 }