static void Main(string[] args) { Application.EnableVisualStyles(); Application.VisualStyleState = VisualStyleState.NoneEnabled; Application.SetCompatibleTextRenderingDefault(false); string path = args.Length > 0 ? args[0] : Directory.GetCurrentDirectory(); ExplorerForm form = new ExplorerForm(path); form.Show(); Application.Run(); }
private void NewWindow(string path) { ExplorerForm form = new ExplorerForm(path, statusBar.Visible, folderView.View); form.Show(); }