Example #1
0
        /// <summary>
        /// Attaches the controller.
        /// </summary>
        /// <param name="myController">My controller.</param>
        /// <returns><c>true</c> if success, <c>false</c> otherwise.</returns>
        public bool attachController(MVC_Controller myController)
        {
            try
            {
                this.attachedControllers.Add(myController);
            }
            catch (Exception)
            {
                return(false);
            }

            return(true);
        }
Example #2
0
 /// <summary>
 /// Makes the controller.
 /// </summary>
 /// <returns><c>true</c> if success, <c>false</c> otherwise.</returns>
 private bool makeController()
 {
     myController = new MVC_Controller();
     this.reloadController();
     return(true);
 }
Example #3
0
 /// <summary>
 /// Attaches the controller.
 /// </summary>
 /// <param name="myController">My controller.</param>
 /// <returns><c>true</c> if success, <c>false</c> otherwise.</returns>
 public bool attachController(MVC_Controller myController)
 {
     try
     {
         this.attachedControllers.Add(myController);
     }
     catch (Exception)
     {
         return false;
     }
     
     return true;
 }
Example #4
0
 /// <summary>
 /// Makes the controller.
 /// </summary>
 /// <returns><c>true</c> if success, <c>false</c> otherwise.</returns>
 private bool makeController()
 {
     myController = new MVC_Controller();
     this.reloadController();
     return true;
 }