-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
634 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,30 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<configuration> | ||
<configSections> | ||
<sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" > | ||
<section name="DotNetStringRepacker.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" /> | ||
</sectionGroup> | ||
</configSections> | ||
<startup> | ||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1" /> | ||
</startup> | ||
<userSettings> | ||
<DotNetStringRepacker.Properties.Settings> | ||
<setting name="InputFile" serializeAs="String"> | ||
<value /> | ||
</setting> | ||
<setting name="OutputFile" serializeAs="String"> | ||
<value /> | ||
</setting> | ||
<setting name="StringsFile" serializeAs="String"> | ||
<value /> | ||
</setting> | ||
<setting name="IldasmPath" serializeAs="String"> | ||
<value>il\ildasm.exe</value> | ||
</setting> | ||
<setting name="IlasmPath" serializeAs="String"> | ||
<value>il\ilasm.exe</value> | ||
</setting> | ||
</DotNetStringRepacker.Properties.Settings> | ||
</userSettings> | ||
</configuration> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,8 +5,102 @@ | |
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" | ||
xmlns:local="clr-namespace:DotNetStringRepacker" | ||
mc:Ignorable="d" | ||
Title="MainWindow" Height="350" Width="525"> | ||
<Grid> | ||
|
||
</Grid> | ||
Title="DotNet String Repacker" Height="500" Width="700" MinHeight="350" MinWidth="500" Closed="Window_Closed"> | ||
<TabControl> | ||
<TabItem x:Name="MainTab" Padding="0" > | ||
<TabItem.Header> | ||
<TextBlock Padding="5,0" Margin="0">Main</TextBlock> | ||
</TabItem.Header> | ||
<TabItem.Content> | ||
<DockPanel LastChildFill="True"> | ||
<StackPanel Orientation="Vertical" DockPanel.Dock="Top"> | ||
<Label Content="Input file (valid .NET Assembly ".exe" or ".dll" file):" HorizontalAlignment="Left" Margin="10,0,0,0" VerticalAlignment="Top"/> | ||
<TextBox Height="23" TextWrapping="NoWrap" Margin="10,0,10,0" x:Name="InputTextBox" Drop="TextBox_Drop" AllowDrop="True" PreviewDragOver="TextBox_PreviewDragOver" /> | ||
<Label Content="Output file (file with replaced strings will be written here):" HorizontalAlignment="Left" Margin="10,0,0,0" VerticalAlignment="Top"/> | ||
<TextBox Height="23" TextWrapping="NoWrap" Margin="10,0,10,0" x:Name="OutputTextBox" Drop="TextBox_Drop" AllowDrop="True" PreviewDragOver="TextBox_PreviewDragOver" /> | ||
<Label Content="Strings file (".csv" file to/from strings will be exported/loaded):" HorizontalAlignment="Left" Margin="10,0,0,0" VerticalAlignment="Top"/> | ||
<TextBox Height="23" TextWrapping="NoWrap" Margin="10,0,10,0" x:Name="StringsFileTextBox" Drop="TextBox_Drop" AllowDrop="True" PreviewDragOver="TextBox_PreviewDragOver" /> | ||
<DockPanel Margin="10"> | ||
<StackPanel Orientation="Horizontal" DockPanel.Dock="Right" HorizontalAlignment="Right" > | ||
<Button Content="Cancel" Margin="0,0,10,0" Padding="5,2" x:Name="CancelButtton" Click="CancelButtton_Click" IsCancel="True" IsEnabled="False"/> | ||
<Button Content="Extract strings" Margin="0,0,10,0" Padding="5,2" x:Name="ExtractButtton" Click="ExtractButtton_Click"/> | ||
<Button Content="Repack application" Padding="5,2" x:Name="RepackButtton" Click="RepackButtton_Click" /> | ||
</StackPanel> | ||
<!--<Button DockPanel.Dock="Left" Content="About" Margin="0,0,10,0" Padding="5,2" x:Name="AboutButton" Click="CancelButtton_Click" IsCancel="True" IsEnabled="False"/>--> | ||
<ProgressBar Margin="0,0,10,0" x:Name="ProgressBar"/> | ||
</DockPanel> | ||
</StackPanel> | ||
<TextBox TextWrapping="NoWrap" Margin="10,0,10,10" x:Name="LogTextBox" IsUndoEnabled="False" IsReadOnly="True" VerticalScrollBarVisibility="Auto" HorizontalScrollBarVisibility="Auto" /> | ||
|
||
</DockPanel> | ||
</TabItem.Content> | ||
|
||
</TabItem> | ||
<TabItem x:Name="AboutTab" Padding="0" > | ||
<TabItem.Header> | ||
<TextBlock Padding="5,0" Margin="0">About</TextBlock> | ||
</TabItem.Header> | ||
<TabItem.Content> | ||
<StackPanel Margin="5"> | ||
<Label Content="DotNet String Repacker" FontWeight="Bold" FontSize="14" /> | ||
<Label> | ||
<TextBlock TextWrapping="WrapWithOverflow"> | ||
This program allows extract and replace strings in .NET application. | ||
</TextBlock> | ||
</Label> | ||
|
||
<StackPanel Orientation="Horizontal"> | ||
<Label Content="Version:" FontWeight="Bold" /> | ||
<Label x:Name="VersionLabel" Content=""/> | ||
</StackPanel> | ||
|
||
<Label x:Name="ProjectWebsiteLabel"> | ||
<TextBlock TextWrapping="WrapWithOverflow"> | ||
<TextBlock FontWeight="Bold">Project website: </TextBlock> | ||
<Hyperlink NavigateUri="https://github.com/VoronFX/DotNet-String-Repacker" >https://github.com/VoronFX/DotNet-String-Repacker</Hyperlink> | ||
</TextBlock> | ||
</Label> | ||
|
||
<!--<Label x:Name="CopyrightLabel"> | ||
<TextBlock TextWrapping="WrapWithOverflow"> | ||
<TextBlock FontWeight="Bold">Copyright: </TextBlock> | ||
@ 2015 Voron.exe<LineBreak/> All rights reserved. | ||
</TextBlock> | ||
</Label>--> | ||
|
||
<GroupBox Margin="5"> | ||
<GroupBox.Header> | ||
<TextBlock FontWeight="Bold" FontSize="14">Author</TextBlock> | ||
</GroupBox.Header> | ||
<StackPanel Orientation="Horizontal"> | ||
<Image x:Name="AuthorGravatar" Margin="10,5,10,5" Loaded="AuthorGravatar_Loaded" /> | ||
<StackPanel> | ||
<Label Content="Igor Voronin" FontWeight="Bold" /> | ||
|
||
<StackPanel Orientation="Horizontal"> | ||
<Label Content="GitHub:" FontWeight="Bold" /> | ||
<Label> | ||
<Hyperlink NavigateUri="https://github.com/VoronFX" >VoronFX</Hyperlink> | ||
</Label> | ||
</StackPanel> | ||
<StackPanel Orientation="Horizontal"> | ||
<Label Content="Email:" FontWeight="Bold" /> | ||
<Label> | ||
<Hyperlink NavigateUri="mailto:[email protected]" >[email protected]</Hyperlink> | ||
</Label> | ||
</StackPanel> | ||
<StackPanel Orientation="Horizontal"> | ||
<Label Content="Skype:" FontWeight="Bold" /> | ||
<Label> | ||
<Hyperlink NavigateUri="skype:Voron.exe?chat:Voron.exe">Voron.exe</Hyperlink> | ||
</Label> | ||
</StackPanel> | ||
</StackPanel> | ||
</StackPanel> | ||
</GroupBox> | ||
</StackPanel> | ||
</TabItem.Content> | ||
</TabItem> | ||
</TabControl> | ||
|
||
</Window> |
Oops, something went wrong.