示例#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();
        }