Пример #1
0
        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();
        }
Пример #2
0
        private void NewWindow(string path)
        {
            ExplorerForm form = new ExplorerForm(path, statusBar.Visible, folderView.View);

            form.Show();
        }