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>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<WarningLevel>4</WarningLevel>
|
<WarningLevel>4</WarningLevel>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
<PropertyGroup>
|
||||||
|
<ApplicationIcon>afcexplorer.ico</ApplicationIcon>
|
||||||
|
</PropertyGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Reference Include="iMobileDevice-net, Version=1.3.0.0, Culture=neutral, PublicKeyToken=040ae19651fac98a, processorArchitecture=MSIL">
|
<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>
|
<HintPath>..\packages\iMobileDevice-net.1.3.17\lib\net45\iMobileDevice-net.dll</HintPath>
|
||||||
|
@ -109,6 +112,9 @@
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<None Include="App.config" />
|
<None Include="App.config" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Resource Include="afcexplorer.ico" />
|
||||||
|
</ItemGroup>
|
||||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
<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')" />
|
<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">
|
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
|
||||||
|
|
|
@ -253,7 +253,7 @@ namespace AFCExplorer
|
||||||
inputDialog.Title = "Name of directory.";
|
inputDialog.Title = "Name of directory.";
|
||||||
inputDialog.TextBox.Text = "New Folder";
|
inputDialog.TextBox.Text = "New Folder";
|
||||||
inputDialog.ShowDialog();
|
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);
|
afc.afc_make_directory(afcHandle, path + inputDialog.TextBox.Text);
|
||||||
ReadDirectory();
|
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