Click here to Skip to main content
15,886,110 members
Please Sign up or sign in to vote.
2.00/5 (2 votes)
See more:
In winForms, we have built in AboutBox. But in wpf, Microsoft has not provided us with that facility. Has anyone made a similar type of AboutBox. I am not looking for the opensource extension which comes in visual studio.I am trying to make it. this looks static. i do not know how to make it dynamic.. so that version number automatically updates itself..

What I have tried:

 <Grid>
<StackPanel Grid.Row="1" Grid.Column="1" Orientation="Horizontal">
            <Image Source="logfileicon.png" Width="100" Height="30"/>
            <TextBlock  Name="label" Text="C S LOG File Viewer" FontSize="18"/>
            
        </StackPanel>
        <StackPanel Orientation="Horizontal">
            <TextBox  Grid.Row="2"   Grid.ColumnSpan="3"  Text="Tool for visualization of logically data streams"/>
                 
          <TextBox Text="Version: 1.05.01-016"/>

           <TextBox Text="Copyright © 2018-2019 by CS group GmbH"/>
        </StackPanel>
      


        <Button Name="btnClose" Grid.Row="3" Grid.Column="4" Content="OK" Command="{Binding Close}"/>

    </Grid>
Posted
Updated 27-Nov-18 12:52pm
v2

Making a new form in WPF is beyond trivial. You've probably spent more time trying to find a way not to have to do it yourself than it would have taken you to just do it yourself.
 
Share this answer
 
If you want a template about bo to work with, rather than role your own, then Google has many examples out there for you... wpf about box code - Google Search[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900