static void Main(string[] args) { DendraInterface A = new DendraInterface(); FileCrowler B = new FileCrowler(@"C:/"); DendraInterface.Frame_actualizer(A, B); DendraInterface.Framing(A); DendraInterface.Cursor(0, A); DendraInterface.Framing(A); //DendraInterface.Cursor(B.Cur_Subdirectories[0]); Console.ReadLine(); }
static void Main(string[] args) { DendraInterface A = new DendraInterface(); FileCrowler B = new FileCrowler(@"C:/"); Frame_actualizer(A, B); DendraInterface.Framing(A); while (true) { string input = Console.ReadLine(); Console.Clear(); Parser P = new Parser(input); Controller(P); } }
public static void Controller(Parser P) { if (P.command == -1) { try { DendraInterface A = new DendraInterface(); FileCrowler B = new FileCrowler(P.str); Frame_actualizer(A, B); DendraInterface.Framing(A); } catch { Console.WriteLine("Directory or file does not exist"); } } else { FileCrowler.Command(P.command, P.str); } }