Browse Source

Show version number on start page.

pull/15/head
Daniel Grunwald 15 years ago
parent
commit
a15456e274
  1. 1
      src/AddIns/Misc/StartPage/Project/Src/StartPageControl.xaml
  2. 2
      src/AddIns/Misc/StartPage/Project/Src/StartPageControl.xaml.cs

1
src/AddIns/Misc/StartPage/Project/Src/StartPageControl.xaml

@ -31,6 +31,7 @@
Stretch="Fill" Stretch="Fill"
Source="../Resources/balken_mitte.gif" /> Source="../Resources/balken_mitte.gif" />
</DockPanel> </DockPanel>
<TextBlock Grid.Row="0" Margin="4" TextAlignment="Right" VerticalAlignment="Bottom" Name="versionTextBlock" />
<ItemsControl <ItemsControl
Name="startPageItems" Name="startPageItems"
Focusable="False" Focusable="False"

2
src/AddIns/Misc/StartPage/Project/Src/StartPageControl.xaml.cs

@ -26,6 +26,8 @@ namespace ICSharpCode.StartPage
var aca = (AssemblyCopyrightAttribute)typeof(CommonAboutDialog).Assembly.GetCustomAttributes(typeof(AssemblyCopyrightAttribute), false)[0]; var aca = (AssemblyCopyrightAttribute)typeof(CommonAboutDialog).Assembly.GetCustomAttributes(typeof(AssemblyCopyrightAttribute), false)[0];
copyrightText.Text = aca.Copyright; copyrightText.Text = aca.Copyright;
versionTextBlock.Text = "SharpDevelop " + RevisionClass.FullVersion;
} }
sealed class BoxEntry sealed class BoxEntry

Loading…
Cancel
Save