Skip to content

Commit

Permalink
Added an icon for PEditor
Browse files Browse the repository at this point in the history
  • Loading branch information
secana committed Nov 17, 2016
1 parent e13383e commit 1e729f7
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 8 deletions.
Binary file added PEditor/Icons/PEditor.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion PEditor/MainWindow.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
xmlns:tabItems="clr-namespace:PEditor.TabItems"
mc:Ignorable="d"
Title="PEditor" Height="768" Width="1024" MinHeight="532" MinWidth="800"
Icon="Icons/Pen4.ico">
Icon="Icons/PEditor.png">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
Expand Down
6 changes: 3 additions & 3 deletions PEditor/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -143,11 +143,11 @@ private void ShowInvalidPeFileMsgBox()

private void MenuHelp_Click(object sender, RoutedEventArgs e)
{
var version = "1.0.0";
var version = "DEBUG";

if (ApplicationDeployment.IsNetworkDeployed)
{
version =
$"Your application name - v{ApplicationDeployment.CurrentDeployment.CurrentVersion.ToString(4)}";
version = ApplicationDeployment.CurrentDeployment.CurrentVersion.ToString(4);
}

MessageBox.Show($"PEditor\nVersion {version}\nCopyright by Secana 2016", "About");
Expand Down
10 changes: 6 additions & 4 deletions PEditor/PEditor.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<WarningLevel>4</WarningLevel>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<IsWebBootstrapper>false</IsWebBootstrapper>
<PublishUrl>D:\Stefa\Documents\GitHubVisualStudio\PeNet\PEditor\Publish\</PublishUrl>
<PublishUrl>C:\Users\stefan.hausotte\Desktop\</PublishUrl>
<Install>true</Install>
<InstallFrom>Disk</InstallFrom>
<UpdateEnabled>false</UpdateEnabled>
Expand All @@ -31,9 +31,8 @@
<PublisherName>Stefan Hausotte</PublisherName>
<SuiteName>PEditor</SuiteName>
<OpenBrowserOnPublish>false</OpenBrowserOnPublish>
<AutorunEnabled>true</AutorunEnabled>
<ApplicationRevision>2</ApplicationRevision>
<ApplicationVersion>0.0.0.%2a</ApplicationVersion>
<ApplicationRevision>5</ApplicationRevision>
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
<UseApplicationTrust>false</UseApplicationTrust>
<PublishWizardCompleted>true</PublishWizardCompleted>
<BootstrapperEnabled>true</BootstrapperEnabled>
Expand Down Expand Up @@ -279,6 +278,9 @@
<Install>false</Install>
</BootstrapperPackage>
</ItemGroup>
<ItemGroup>
<Resource Include="Icons\PEditor.png" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
Expand Down
3 changes: 3 additions & 0 deletions PEditor/TabItems/FileInfo.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,5 +47,8 @@
HorizontalAlignment="Stretch" />
</Grid>
</GroupBox>
<Image MaxHeight="150" Source="../Icons/PEditor.png" HorizontalAlignment="Center" VerticalAlignment="Center"/>
<Label FontSize="24" HorizontalAlignment="Center">PEditor</Label>
<Label FontSize="12" HorizontalAlignment="Center">powered by PeNet</Label>
</StackPanel>
</UserControl>

0 comments on commit 1e729f7

Please sign in to comment.