Ejemplo n.º 1
5
 // There's not supposed to be any logic in the view, so I'd move most of the methods in here to a controller
 public LoginScreen(MainFrame mainFrame)
 {
     this.MainFrame = mainFrame;
     InitializeComponent();
     _controller = new LoginController(mainFrame, this);
 }
Ejemplo n.º 2
1
 public LoginScreen(MainFrame mainFrame)   
                                 // There's not supposed to be any logic in the view, so I'd move most of the methods in here to a controller
 {                                      
     this.MainFrame = mainFrame;
     InitializeComponent();
     _controller = new LoginController(mainFrame, this);
 }