Add icon to PC viewer

This commit is contained in:
XorTroll 2019-11-10 17:50:43 +01:00
parent 70b2f5e0bc
commit 9abb0b5fba
3 changed files with 1108 additions and 0 deletions

View file

@ -36,6 +36,9 @@
<PropertyGroup>
<StartupObject>QForegroundViewer.Program</StartupObject>
</PropertyGroup>
<PropertyGroup>
<ApplicationIcon>Icon.ico</ApplicationIcon>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Core" />
@ -103,5 +106,8 @@
<ItemGroup>
<None Include="App.config" />
</ItemGroup>
<ItemGroup>
<Content Include="Icon.ico" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>

View file

@ -28,6 +28,7 @@
/// </summary>
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ViewerMainForm));
this.CaptureBox = new System.Windows.Forms.PictureBox();
((System.ComponentModel.ISupportInitialize)(this.CaptureBox)).BeginInit();
this.SuspendLayout();
@ -50,6 +51,7 @@
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(1280, 720);
this.Controls.Add(this.CaptureBox);
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.Name = "ViewerMainForm";
this.Text = "uLaunch - Foreground display viewer";
((System.ComponentModel.ISupportInitialize)(this.CaptureBox)).EndInit();

File diff suppressed because it is too large Load diff