Skip to content

Commit c009f17

Browse files
committed
made version label transparent, load image into picturebox
1 parent 426c846 commit c009f17

File tree

5 files changed

+24
-10
lines changed

5 files changed

+24
-10
lines changed

Rubberduck.Core/Properties/Resources.Designer.cs

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Rubberduck.Core/Properties/Resources.resx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@
118118
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
119119
</resheader>
120120
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
121-
<data name="Splash2021e" type="System.Resources.ResXFileRef, System.Windows.Forms">
122-
<value>..\Resources\Splash2021e.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
121+
<data name="Splash2021f" type="System.Resources.ResXFileRef, System.Windows.Forms">
122+
<value>..\Resources\Splash2021f.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
123123
</data>
124124
</root>

Rubberduck.Core/UI/Splash2021.Designer.cs

Lines changed: 16 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Rubberduck.Core/UI/Splash2021.cs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,12 @@ public Splash2021()
1616
{
1717
InitializeComponent();
1818
#if DEBUG
19-
VersionLabel.Text = $"Version {GetType().Assembly.GetName().Version.ToString()} (debug)";
19+
VersionLabel.Text = $"Version {GetType().Assembly.GetName().Version} (debug)";
2020
#else
21-
VersionLabel.Text = $"Version {GetType().Assembly.GetName().Version.ToString()}";
21+
VersionLabel.Text = $"Version {GetType().Assembly.GetName().Version}";
2222
#endif
23+
VersionLabel.Parent = pictureBox1;
24+
VersionLabel.BackColor = Color.Transparent;
2325
}
2426
}
2527
}

0 commit comments

Comments
 (0)