static void Main(string[] args) { string origin = "C:/Users/User/Desktop/Codi"; //origin path FarManager farManager = new FarManager(origin); //init class farManager.Show(); //run first time farManager.Start(); //run main function }
static void Main(string[] args) { string path = "/Users/user/Documents/PP2"; //каталог, с которым работаем FarManager farManager = new FarManager(path); //экземпляр FarManager-a farManager.Show(); farManager.Start(); }