Ejemplo n.º 1
0
        /// <summary>
        /// Initiate the controllerModul
        /// </summary>
        private void InitiateController()
        {
            Logger.LogInfo("New Program start");
            fileService = new FileService(this);
            networkService = new NetworkService(this);
            graphicControl = new GraphicalInterfaceController(this, chatForm);

            Logger.LogInfo("Start network service.");
            networkService.Start();
        }
Ejemplo n.º 2
0
 private void InitializeController()
 {
     programControl = new ProgramController(this);
     this.graphicControl = programControl.GraphicControl;
 }