Skip to content

Commit

Permalink
MessageBox style fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Jagailo committed Jul 8, 2018
1 parent 54d3caf commit fae040a
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 33 deletions.
5 changes: 5 additions & 0 deletions YAKD/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@
using System.Windows.Input;
using System.Windows.Media;
using YAKD.Utils;
using MessageBox = System.Windows.Forms.MessageBox;
using MessageBoxButton = System.Windows.Forms.MessageBoxButtons;
using MessageBoxImage = System.Windows.Forms.MessageBoxIcon;
using MessageBoxResult = System.Windows.Forms.DialogResult;

namespace YAKD
{
Expand All @@ -24,6 +28,7 @@ public MainWindow()
comboBoxFill = false;
InitializeComponent();
comboBoxFill = true;
System.Windows.Forms.Application.EnableVisualStyles();
InitializeMainWindow(settings);
InitializeKeyDisplayerForm(settings);
keyDisplayerForm.Show();
Expand Down
15 changes: 13 additions & 2 deletions YAKD/YAKD.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
<ApplicationRevision>0</ApplicationRevision>
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
<UseApplicationTrust>false</UseApplicationTrust>
<PublishWizardCompleted>true</PublishWizardCompleted>
<BootstrapperEnabled>true</BootstrapperEnabled>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
Expand All @@ -51,8 +52,18 @@
<PropertyGroup>
<ApplicationIcon>icon48.ico</ApplicationIcon>
</PropertyGroup>
<PropertyGroup />
<PropertyGroup>
<ApplicationManifest>app.manifest</ApplicationManifest>
<ManifestCertificateThumbprint>5AFB2B472798AC40D3E0055C6695A769785659FF</ManifestCertificateThumbprint>
</PropertyGroup>
<PropertyGroup>
<ManifestKeyFile>YAKD_TemporaryKey.pfx</ManifestKeyFile>
</PropertyGroup>
<PropertyGroup>
<GenerateManifests>true</GenerateManifests>
</PropertyGroup>
<PropertyGroup>
<SignManifests>true</SignManifests>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
Expand Down Expand Up @@ -134,8 +145,8 @@
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
</EmbeddedResource>
<None Include="YAKD_TemporaryKey.pfx" />
<Resource Include="Fonts\Roboto-Regular.ttf" />
<None Include="app.manifest" />
<None Include="Properties\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator>
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
Expand Down
31 changes: 0 additions & 31 deletions YAKD/app.manifest

This file was deleted.

0 comments on commit fae040a

Please sign in to comment.