32 changed files
BetterExplorerShell | ||
Program.cs | ||
BExplorer/BetterExplorer | ||
ArchiveView | ||
ArchiveProcressScreen.cs | ||
HelperClasses | ||
SafeThread.cs | ||
PieChart | ||
PieChart | ||
Legend.xaml.cs | ||
Shapes | ||
PiePiece.cs | ||
Tabs | ||
SavedTabsListGalleryItem.xaml.cs | ||
Updater | ||
Updater.cs | ||
UpdateWizard.cs | ||
fmAbout.xaml | ||
fmAbout.xaml.cs | ||
MainWindow.xaml.cs | ||
BreadcrumbBar/BreadcrumbBar | ||
ApplyPropertiesEventArgs.cs | ||
NotifyIcon/NotifyIconWpf | ||
TaskbarIcon.cs | ||
TaskbarIcon.Declarations.cs | ||
Util.cs | ||
Shell | ||
_Plugin Interfaces | ||
FileSystemListItem.cs | ||
IListItemEx.cs | ||
FileOperation | ||
FileOperationDialog.xaml.cs | ||
FileOperationProgressSink.cs | ||
Interop | ||
ShellLink.cs | ||
ShellNotifications.cs | ||
ShellThumbnail.cs | ||
User32.cs | ||
KnownFolders | ||
KnownFolderSettings.cs | ||
NonFileSystemKnownFolder.cs | ||
Extensions.cs | ||
FilterItem.cs | ||
ShellComboBox.cs | ||
ShellItem.cs | ||
ShellTreeViewEx.cs | ||
ShellViewEx.cs | ||
WpfDocumentPreviewer | ||
PreviewControl.xaml.cs | ||
Add comment 4 using System.Windows.Forms;
Add comment 5 using System.IO;
Add comment 6
Add comment 7 Minus namespace BetterExplorerShell {
Add comment 8 Minus static class Program {
Add comment 7 Plus namespace BetterExplorerShell
Add comment 8 Plus {
Add comment 9 Plus static class Program
Add comment 10 Plus {
Add comment 9 11
Add comment 10 12 /// <summary>
Add comment 11 13 /// The main entry point for the application.
Add comment 12 14 /// </summary>
Add comment 13 15 [STAThread]
Add comment 14 Minus static void Main(string[] args) {
Add comment 15 Minus if (!ExecuteControlPanelItem(args[0])) {
Add comment 16 Plus static void Main(string[] args)
Add comment 17 Plus {
Add comment 18 Plus if (!ExecuteControlPanelItem(args[0]))
Add comment 19 Plus {
Add comment 16 20 var bexplorerPath = Path.GetDirectoryName(Application.ExecutablePath) + @"\BetterExplorer.exe";
Add comment 17 Minus var procStartInfo = new System.Diagnostics.ProcessStartInfo(bexplorerPath, String.Format("\"{0}\"", args[0]));
Add comment 21 Plus var procStartInfo = new System.Diagnostics.ProcessStartInfo(bexplorerPath, $"\"{args[0]}\"");
Add comment 18 22
Add comment 19 23 // Now we create a process, assign its ProcessStartInfo and start it
Add comment 20 Minus var proc = new System.Diagnostics.Process() { StartInfo = procStartInfo };
Add comment 21 Minus proc.Start();
Add comment 24 Plus new System.Diagnostics.Process() { StartInfo = procStartInfo }.Start();
Add comment 22 25 }
Add comment 23 26 }
Add comment 24 27
Add comment 25 Minus static public bool ExecuteControlPanelItem(String cmd) {
Add comment 28 Plus static public bool ExecuteControlPanelItem(String cmd)
Add comment 29 Plus {
Add comment 26 30 // Discard control panel items
Add comment 27 31 const String cpName = @"::{26EE0668-A00A-44D7-9371-BEB064C98683}";
Add comment 28 32
Add comment 39 43
Add comment 40 44 cmd = cmd.Replace("Fonts", "::{BD84B380-8CA2-1069-AB1D-08000948F534}");
Add comment 41 45
Add comment 42 Minus var procStartInfo = new System.Diagnostics.ProcessStartInfo(explorerPath, String.Format("shell:{0}", cmd));
Add comment 46 Plus var procStartInfo = new System.Diagnostics.ProcessStartInfo(explorerPath, $"shell:{cmd}");
Add comment 43 47
Add comment 44 48 // Now we create a process, assign its ProcessStartInfo and start it
Add comment 45 Minus var proc = new System.Diagnostics.Process() { StartInfo = procStartInfo };
Add comment 46 Minus proc.Start();
Add comment 49 Plus new System.Diagnostics.Process() { StartInfo = procStartInfo }.Start();
Add comment 47 50 return true;
Add comment 48 51 }
Add comment 49 52 }
ArchiveProcressScreen.cs
/BExplorer/BetterExplorer/ArchiveView/ArchiveProcressScreen.cs/BExplorer/BetterExplorer/ArchiveView/ArchiveProcressScreen.cs
SafeThread.cs
/BExplorer/BetterExplorer/HelperClasses/SafeThread.cs/BExplorer/BetterExplorer/HelperClasses/SafeThread.cs
The file differs only in whitespace.
Legend.xaml.cs
/BExplorer/BetterExplorer/PieChart/PieChart/Legend.xaml.cs/BExplorer/BetterExplorer/PieChart/PieChart/Legend.xaml.cs
PiePiece.cs
/BExplorer/BetterExplorer/PieChart/Shapes/PiePiece.cs/BExplorer/BetterExplorer/PieChart/Shapes/PiePiece.cs
SavedTabsListGalleryItem.xaml.cs
/BExplorer/BetterExplorer/Tabs/SavedTabsListGalleryItem.xaml.cs/BExplorer/BetterExplorer/Tabs/SavedTabsListGalleryItem.xaml.cs
Updater.cs
/BExplorer/BetterExplorer/Updater/Updater.cs/BExplorer/BetterExplorer/Updater/Updater.cs
UpdateWizard.cs
/BExplorer/BetterExplorer/Updater/UpdateWizard.cs/BExplorer/BetterExplorer/Updater/UpdateWizard.cs
fmAbout.xaml.cs
/BExplorer/BetterExplorer/fmAbout.xaml.cs/BExplorer/BetterExplorer/fmAbout.xaml.cs
MainWindow.xaml.cs
/BExplorer/BetterExplorer/MainWindow.xaml.cs/BExplorer/BetterExplorer/MainWindow.xaml.cs
ApplyPropertiesEventArgs.cs
/BreadcrumbBar/BreadcrumbBar/ApplyPropertiesEventArgs.cs/BreadcrumbBar/BreadcrumbBar/ApplyPropertiesEventArgs.cs
TaskbarIcon.Declarations.cs
/NotifyIcon/NotifyIconWpf/TaskbarIcon.Declarations.cs/NotifyIcon/NotifyIconWpf/TaskbarIcon.Declarations.cs
FileSystemListItem.cs
/Shell/_Plugin Interfaces/FileSystemListItem.cs/Shell/_Plugin Interfaces/FileSystemListItem.cs
FileOperationDialog.xaml.cs
/Shell/FileOperation/FileOperationDialog.xaml.cs/Shell/FileOperation/FileOperationDialog.xaml.cs
FileOperationProgressSink.cs
/Shell/FileOperation/FileOperationProgressSink.cs/Shell/FileOperation/FileOperationProgressSink.cs
KnownFolderSettings.cs
/Shell/KnownFolders/KnownFolderSettings.cs/Shell/KnownFolders/KnownFolderSettings.cs
NonFileSystemKnownFolder.cs
/Shell/KnownFolders/NonFileSystemKnownFolder.cs/Shell/KnownFolders/NonFileSystemKnownFolder.cs
PreviewControl.xaml.cs
/WpfDocumentPreviewer/PreviewControl.xaml.cs/WpfDocumentPreviewer/PreviewControl.xaml.cs