Esempio n. 1
0
        //---- New Project
        private void radMenuItem11_Click(object sender, EventArgs e)
        {
            //Show Form
            NewProject _newproject = new NewProject();

            _newproject.ShowDialog();

            // Dua Vao CAY
            DirectoryTreeview NewDir = treeView as DirectoryTreeview;

            //
            NewDir.PathTree = _newproject.duongdanproject;
            pathproject     = _newproject.duongdanproject;
            string Pathproject = duongdanproject;

            NewDir.NameProject = _newproject._nameproject;

            DirectoryTreeview Tree = treeView as DirectoryTreeview;

            Tree.PathTree = Pathproject;
            Tree.Runother();

            IFileParser WorkDir = new IFileParser();

            WorkDir.WorkingDir = duongdanproject;
        }
        //---- New Project
        public void newproject()
        {
            //Show Form
            NewProject _newproject = new NewProject();

            _newproject.ShowDialog();

            // Dua Vao CAY
            DirectoryTreeview NewDir = DirTreeview as DirectoryTreeview;

            //
            NewDir.PathTree = _newproject.duongdanproject;
            pathproject     = _newproject.duongdanproject;
            string Pathproject = duongdanproject;

            NewDir.NameProject = _newproject._nameproject;

            DirectoryTreeview Tree = DirTreeview as DirectoryTreeview;

            Tree.PathTree = Pathproject;
            Tree.Runother();

            ExcelFileParser WorkDir = new ExcelFileParser();

            WorkDir.WorkingDir = duongdanproject;
        }
Esempio n. 3
0
        //---- New Project
        private void radMenuItem11_Click(object sender, EventArgs e)
        {
            //Show Form
            NewProject _newproject = new NewProject();
            _newproject.ShowDialog();

            // Dua Vao CAY
            DirectoryTreeview NewDir = treeView as DirectoryTreeview;
            //
            NewDir.PathTree = _newproject.duongdanproject;
            pathproject = _newproject.duongdanproject;
            string Pathproject = duongdanproject;
            NewDir.NameProject = _newproject._nameproject;

            DirectoryTreeview Tree = treeView as DirectoryTreeview;
            Tree.PathTree = Pathproject;
            Tree.Runother();

            IFileParser WorkDir = new IFileParser();
            WorkDir.WorkingDir = duongdanproject;
        }