Exemple #1
0
        /// <summary>
        /// Initializes the engine class.
        /// </summary>
        private void Initialize()
        {
            // Initializes all other classes.
            dbCon = DBConnector.Instance;
            folder = new Folder();
            userhandler = new UserHandler();

            //Thread hostThread = new Thread(() => OpenHost());
            //hostThread.Start();

            //docHandler = new DocumentHandler();

            // Check if root directory exists
            /*if (!Directory.Exists("root"))
            {
                Directory.CreateDirectory("root");
            }*/
        }
Exemple #2
0
        /// <summary>
        /// Initializes the engine class.
        /// </summary>
        private void Initialize()
        {
            // Initializes all other classes.
            dbCon       = DBConnector.Instance;
            folder      = new Folder();
            userhandler = new UserHandler();



            //Thread hostThread = new Thread(() => OpenHost());
            //hostThread.Start();

            //docHandler = new DocumentHandler();


            // Check if root directory exists

            /*if (!Directory.Exists("root"))
             * {
             *  Directory.CreateDirectory("root");
             * }*/
        }