示例#1
0
        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;
 }
示例#3
0
 /// <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;
 }