Exemple #1
0
        static void Main(string[] args)
        {
            string     path = "C:/Users/User/PP2/HW2/task1"; // путь файла
            FarManager fm   = new FarManager(path);

            fm.Start();// вызываем функцию
        }
Exemple #2
0
        static void Main(string[] args)
        {
            FarManager fr   = new FarManager();
            string     path = @"D:\c\Desktop\Рабочий стол\ict";

            fr.Start(path);
        }
Exemple #3
0
        static void Main(string[] args)
        {
            FarManager fr   = new FarManager();
            string     path = @"C:\Users\user1\Desktop\ict";

            fr.Start(path);
        }
Exemple #4
0
        static void Main(string[] args)
        {
            FarManager fr   = new FarManager();              //   создаем обьект класса FarManager
            string     path = @"C:\Users\user1\Desktop\ict"; //  указываем путь к папке

            fr.Start(path);                                  //  вызываем функцию FarManager.Start()
        }
Exemple #5
0
        static void Main(string[] args)
        {
            string     path       = @"\Users\Lenovo.DESKTOP-CFOPLGE\Documents\PP1"; // taking a path
            FarManager farManager = new FarManager(path);                           // send this path to FarManager class with object farManager

            farManager.Start();                                                     // trigger the function Start() with the object
            Console.ReadKey();                                                      //obtains the next character or function key pressed by the user
        }
Exemple #6
0
        static void Main(string[] args)
        {
            string     path       = @"C:\csh\PP2\Week 3\Task 1\Task 1\Filefortest"; //Main Path
            FarManager farManager = new FarManager(path);                           //create new object in class

            farManager.Show();                                                      //print files, directories and headers
            farManager.Start();                                                     //call the main function to manage directories
        }
Exemple #7
0
        static void Main(string[] args)
        {
            string     path       = @"C:/Users/Asus/Documents/Directory"; //declaring string path to work with
            FarManager farManager = new FarManager(path);                 //creating a new object within a class

            farManager.Show();                                            //printing files, directories and header
            farManager.Start();                                           //calling main function to manipulate directories
        }
Exemple #8
0
            static void Main(string[] args)
            {
                //showing the way of folders we are going to work by
                string     path = @"C:\Users\Lenovo\Documents\My Games";
                FarManager fm   = new FarManager(path);

                fm.Start();
            }