add icon and fix directory creation bug
This commit is contained in:
parent
d3d8347a60
commit
74aed983cc
3 changed files with 7 additions and 1 deletions
|
@ -36,6 +36,9 @@
|
|||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<ApplicationIcon>afcexplorer.ico</ApplicationIcon>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="iMobileDevice-net, Version=1.3.0.0, Culture=neutral, PublicKeyToken=040ae19651fac98a, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\iMobileDevice-net.1.3.17\lib\net45\iMobileDevice-net.dll</HintPath>
|
||||
|
@ -109,6 +112,9 @@
|
|||
<ItemGroup>
|
||||
<None Include="App.config" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Resource Include="afcexplorer.ico" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<Import Project="..\packages\iMobileDevice-net.1.3.17\build\net45\iMobileDevice-net.targets" Condition="Exists('..\packages\iMobileDevice-net.1.3.17\build\net45\iMobileDevice-net.targets')" />
|
||||
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
|
||||
|
|
|
@ -253,7 +253,7 @@ namespace AFCExplorer
|
|||
inputDialog.Title = "Name of directory.";
|
||||
inputDialog.TextBox.Text = "New Folder";
|
||||
inputDialog.ShowDialog();
|
||||
if (inputDialog.result == System.Windows.Forms.DialogResult.Cancel) return;
|
||||
if (inputDialog.result != System.Windows.Forms.DialogResult.OK) return;
|
||||
afc.afc_make_directory(afcHandle, path + inputDialog.TextBox.Text);
|
||||
ReadDirectory();
|
||||
}
|
||||
|
|
BIN
AFCExplorer/afcexplorer.ico
Normal file
BIN
AFCExplorer/afcexplorer.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 103 KiB |
Loading…
Add table
Reference in a new issue