52 changed files
BEHelper | ||
BEHelper.csproj | ||
BetterExplorerService.cs + | ||
IBetterExplorerCommunication.cs + | ||
Library.cs + | ||
LinkData.cs + | ||
LinkItem.cs + | ||
BetterExplorerOperations | ||
Properties | ||
Resources.Designer.cs | ||
Settings.Designer.cs | ||
app.config + | ||
BetterExplorerOperations.csproj | ||
Form1.cs | ||
Form1.Designer.cs | ||
Form1.resx | ||
Program.cs | ||
BetterExplorerShell | ||
Properties | ||
Resources.Designer.cs | ||
Settings.Designer.cs | ||
app.config + | ||
BetterExplorerShell.csproj | ||
BExplorer/BetterExplorer | ||
Properties | ||
AssemblyInfo.cs | ||
Resources.Designer.cs | ||
Settings.Designer.cs | ||
app.config | ||
App.xaml.cs | ||
BetterExplorer.csproj | ||
BetterExplorerOperations.exe.config + | ||
BetterExplorerShell.exe.config + | ||
MainWindow.xaml | ||
MainWindow.xaml.cs | ||
packages.config | ||
BreadcrumbBar | ||
Properties | ||
Resources.Designer.cs | ||
Settings.Designer.cs | ||
app.config | ||
Odyssey.Controls.csproj | ||
ConsoleControl | ||
ConsoleControl.csproj | ||
Shell | ||
_Plugin Interfaces | ||
FileSystemListItem.cs | ||
Interop | ||
User32.cs | ||
Properties | ||
Resources.Designer.cs | ||
app.config | ||
packages.config | ||
Shell.csproj | ||
ToolTip.xaml.cs | ||
TabControl | ||
Properties | ||
Resources.Designer.cs | ||
Settings.Designer.cs | ||
Wpf.TabControl.csproj | ||
WpfControlLibrary1 | ||
Properties | ||
Resources.Designer.cs | ||
Settings.Designer.cs | ||
BetterExplorerControls.csproj | ||
WpfDocumentPreviewer | ||
Properties | ||
Resources.Designer.cs | ||
Settings.Designer.cs | ||
WpfDocumentPreviewer.csproj | ||
.gitignore | ||
BExplorer.sln | ||
Add comment 1 <?xml version="1.0" encoding="utf-8"?>
Add comment 2 Minus <Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
Add comment 2 Plus <Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
Add comment 3 <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
Add comment 4 <PropertyGroup>
Add comment 5 <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
Add comment 9 <AppDesignerFolder>Properties</AppDesignerFolder>
Add comment 10 <RootNamespace>BEHelper</RootNamespace>
Add comment 11 <AssemblyName>BEHelper</AssemblyName>
Add comment 12 Minus <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
Add comment 12 Plus <TargetFrameworkVersion>v4.6</TargetFrameworkVersion>
Add comment 13 <FileAlignment>512</FileAlignment>
Add comment 14 Plus <TargetFrameworkProfile />
Add comment 14 15 </PropertyGroup>
Add comment 15 16 <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
Add comment 16 17 <DebugSymbols>true</DebugSymbols>
Add comment 20 21 <DefineConstants>DEBUG;TRACE</DefineConstants>
Add comment 21 22 <ErrorReport>prompt</ErrorReport>
Add comment 22 23 <WarningLevel>4</WarningLevel>
Add comment 24 Plus <Prefer32Bit>false</Prefer32Bit>
Add comment 23 25 </PropertyGroup>
Add comment 24 26 <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
Add comment 25 27 <DebugType>pdbonly</DebugType>
Add comment 28 30 <DefineConstants>TRACE</DefineConstants>
Add comment 29 31 <ErrorReport>prompt</ErrorReport>
Add comment 30 32 <WarningLevel>4</WarningLevel>
Add comment 33 Plus <Prefer32Bit>false</Prefer32Bit>
Add comment 31 34 </PropertyGroup>
Add comment 32 35 <ItemGroup>
Add comment 33 36 <Reference Include="PresentationCore" />
Add comment 35 38 <Reference Include="System" />
Add comment 36 39 <Reference Include="System.Core" />
Add comment 37 40 <Reference Include="System.Drawing" />
Add comment 41 Plus <Reference Include="System.Runtime.Serialization" />
Add comment 42 Plus <Reference Include="System.ServiceModel" />
Add comment 38 43 <Reference Include="System.Windows.Forms" />
Add comment 39 44 <Reference Include="System.Xaml" />
Add comment 40 45 <Reference Include="System.Xml.Linq" />
Add comment 46 51 <Reference Include="WindowsFormsIntegration" />
Add comment 47 52 </ItemGroup>
Add comment 48 53 <ItemGroup>
Add comment 54 Plus <Compile Include="BetterExplorerService.cs" />
Add comment 55 Plus <Compile Include="Library.cs" />
Add comment 56 Plus <Compile Include="LinkItem.cs" />
Add comment 57 Plus <Compile Include="IBetterExplorerCommunication.cs" />
Add comment 58 Plus <Compile Include="LinkData.cs" />
Add comment 49 59 <Compile Include="TransPicBox.cs">
Add comment 50 60 <SubType>Component</SubType>
Add comment 51 61 </Compile>
Add comment 1 Plus using System;
Add comment 2 Plus using System.Collections.Generic;
Add comment 3 Plus using System.Linq;
Add comment 4 Plus using System.Runtime.InteropServices;
Add comment 5 Plus using System.ServiceModel;
Add comment 6 Plus using System.Text;
Add comment 7 Plus using System.Windows.Forms;
Add comment 8 Plus
Add comment 9 Plus namespace BEHelper {
Add comment 10 Plus
Add comment 11 Plus [ServiceBehavior(IncludeExceptionDetailInFaults = true)]
Add comment 12 Plus public class BetterExplorerService : IBetterExplorerCommunication {
Add comment 13 Plus public Boolean CreateLink(LinkData data) {
Add comment 14 Plus foreach (var link in data.Items) {
Add comment 15 Plus Library.CreateSymbolicLink(link.DestinationData, link.SourceData,
Add comment 16 Plus link.IsDirectory ? Library.SYMBOLIC_LINK_FLAG.Directory : Library.SYMBOLIC_LINK_FLAG.File);
Add comment 17 Plus }
Add comment 18 Plus Application.Exit();
Add comment 19 Plus return true;
Add comment 20 Plus }
Add comment 21 Plus
Add comment 22 Plus }
Add comment 23 Plus }
Add comment 24 Plus
IBetterExplorerCommunication.cs
/BEHelper/IBetterExplorerCommunication.cs+16/BEHelper/IBetterExplorerCommunication.cs
Add comment 1 Plus using System;
Add comment 2 Plus using System.Collections.Generic;
Add comment 3 Plus using System.Linq;
Add comment 4 Plus using System.Text;
Add comment 5 Plus using System.ServiceModel;
Add comment 6 Plus
Add comment 7 Plus namespace BEHelper {
Add comment 8 Plus [ServiceContract]
Add comment 9 Plus public interface IBetterExplorerCommunication {
Add comment 10 Plus
Add comment 11 Plus [OperationContract]
Add comment 12 Plus Boolean CreateLink(LinkData data);
Add comment 13 Plus
Add comment 14 Plus }
Add comment 15 Plus }
Add comment 16 Plus
Add comment 1 Plus using System;
Add comment 2 Plus using System.Collections.Generic;
Add comment 3 Plus using System.Linq;
Add comment 4 Plus using System.Runtime.InteropServices;
Add comment 5 Plus using System.Text;
Add comment 6 Plus
Add comment 7 Plus namespace BEHelper {
Add comment 8 Plus public static class Library {
Add comment 9 Plus public enum SYMBOLIC_LINK_FLAG {
Add comment 10 Plus File = 0,
Add comment 11 Plus Directory = 1
Add comment 12 Plus }
Add comment 13 Plus
Add comment 14 Plus [DllImport("kernel32.dll", SetLastError = true)]
Add comment 15 Plus [return: System.Runtime.InteropServices.MarshalAs(System.Runtime.InteropServices.UnmanagedType.I1)]
Add comment 16 Plus public static extern bool CreateSymbolicLink(string lpSymlinkFileName, string lpTargetFileName, SYMBOLIC_LINK_FLAG dwFlags);
Add comment 17 Plus }
Add comment 18 Plus }
Add comment 19 Plus
Add comment 1 Plus using System;
Add comment 2 Plus using System.Collections.Generic;
Add comment 3 Plus using System.Linq;
Add comment 4 Plus using System.Text;
Add comment 5 Plus using System.ServiceModel;
Add comment 6 Plus using System.Runtime.Serialization;
Add comment 7 Plus
Add comment 8 Plus namespace BEHelper {
Add comment 9 Plus [DataContract]
Add comment 10 Plus public class LinkData {
Add comment 11 Plus
Add comment 12 Plus [DataMember]
Add comment 13 Plus public LinkItem[] Items { get; set; }
Add comment 14 Plus
Add comment 15 Plus }
Add comment 16 Plus }
Add comment 17 Plus
Resources.Designer.cs
/BetterExplorerOperations/Properties/Resources.Designer.cs/BetterExplorerOperations/Properties/Resources.Designer.cs
Settings.Designer.cs
/BetterExplorerOperations/Properties/Settings.Designer.cs/BetterExplorerOperations/Properties/Settings.Designer.cs
BetterExplorerOperations.csproj
/BetterExplorerOperations/BetterExplorerOperations.csproj/BetterExplorerOperations/BetterExplorerOperations.csproj
Form1.Designer.cs
/BetterExplorerOperations/Form1.Designer.cs/BetterExplorerOperations/Form1.Designer.cs
Resources.Designer.cs
/BetterExplorerShell/Properties/Resources.Designer.cs/BetterExplorerShell/Properties/Resources.Designer.cs
Settings.Designer.cs
/BetterExplorerShell/Properties/Settings.Designer.cs/BetterExplorerShell/Properties/Settings.Designer.cs
BetterExplorerShell.csproj
/BetterExplorerShell/BetterExplorerShell.csproj/BetterExplorerShell/BetterExplorerShell.csproj
AssemblyInfo.cs
/BExplorer/BetterExplorer/Properties/AssemblyInfo.cs/BExplorer/BetterExplorer/Properties/AssemblyInfo.cs
Resources.Designer.cs
/BExplorer/BetterExplorer/Properties/Resources.Designer.cs/BExplorer/BetterExplorer/Properties/Resources.Designer.cs
Settings.Designer.cs
/BExplorer/BetterExplorer/Properties/Settings.Designer.cs/BExplorer/BetterExplorer/Properties/Settings.Designer.cs
BetterExplorer.csproj
/BExplorer/BetterExplorer/BetterExplorer.csproj/BExplorer/BetterExplorer/BetterExplorer.csproj
BetterExplorerOperations.exe.config
/BExplorer/BetterExplorer/BetterExplorerOperations.exe.config/BExplorer/BetterExplorer/BetterExplorerOperations.exe.config
BetterExplorerShell.exe.config
/BExplorer/BetterExplorer/BetterExplorerShell.exe.config/BExplorer/BetterExplorer/BetterExplorerShell.exe.config
MainWindow.xaml
/BExplorer/BetterExplorer/MainWindow.xaml/BExplorer/BetterExplorer/MainWindow.xaml
MainWindow.xaml.cs
/BExplorer/BetterExplorer/MainWindow.xaml.cs/BExplorer/BetterExplorer/MainWindow.xaml.cs
packages.config
/BExplorer/BetterExplorer/packages.config/BExplorer/BetterExplorer/packages.config
Resources.Designer.cs
/BreadcrumbBar/Properties/Resources.Designer.cs/BreadcrumbBar/Properties/Resources.Designer.cs
Settings.Designer.cs
/BreadcrumbBar/Properties/Settings.Designer.cs/BreadcrumbBar/Properties/Settings.Designer.cs
Odyssey.Controls.csproj
/BreadcrumbBar/Odyssey.Controls.csproj/BreadcrumbBar/Odyssey.Controls.csproj
FileSystemListItem.cs
/Shell/_Plugin Interfaces/FileSystemListItem.cs/Shell/_Plugin Interfaces/FileSystemListItem.cs
Resources.Designer.cs
/Shell/Properties/Resources.Designer.cs/Shell/Properties/Resources.Designer.cs
Resources.Designer.cs
/TabControl/Properties/Resources.Designer.cs/TabControl/Properties/Resources.Designer.cs
Settings.Designer.cs
/TabControl/Properties/Settings.Designer.cs/TabControl/Properties/Settings.Designer.cs
Resources.Designer.cs
/WpfControlLibrary1/Properties/Resources.Designer.cs/WpfControlLibrary1/Properties/Resources.Designer.cs
Settings.Designer.cs
/WpfControlLibrary1/Properties/Settings.Designer.cs/WpfControlLibrary1/Properties/Settings.Designer.cs
BetterExplorerControls.csproj
/WpfControlLibrary1/BetterExplorerControls.csproj/WpfControlLibrary1/BetterExplorerControls.csproj
Resources.Designer.cs
/WpfDocumentPreviewer/Properties/Resources.Designer.cs/WpfDocumentPreviewer/Properties/Resources.Designer.cs
Settings.Designer.cs
/WpfDocumentPreviewer/Properties/Settings.Designer.cs/WpfDocumentPreviewer/Properties/Settings.Designer.cs
WpfDocumentPreviewer.csproj
/WpfDocumentPreviewer/WpfDocumentPreviewer.csproj/WpfDocumentPreviewer/WpfDocumentPreviewer.csproj