/// <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); }
/// <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); }
/// <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; }
/// <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; }