static void Main(string[] args) { view.UI v = new view.UI(); controller.Application ctrl = new controller.Application(v); while (ctrl.Run()) { ; } }
public Application(view.UI a_view) { m_view = a_view; }
/// <summary> /// Constructor. /// </summary> /// <param name="yachtClub"> model YachtClub. Rules for system. </param> /// <param name="view"> view UI. Presents options and data to user.</param> public User(model.YachtClub ycm, view.UI view) { _ycm = ycm; _view = view; }