public Menu() { dllPath = "Data.dll"; //myTraceSource = new MyTraceSource("plik.txt"); view = new ViewControl(); loadViewModel(dllPath); consoleViewer = new ConsoleViewer(view.TV); }
private void loadViewModel(string path) { view.Path = path; view.ShowTree.Execute(null); consoleViewer = new ConsoleViewer(view.TV); }