Add ribbon, AboutViewModel and AboutView.
This commit is contained in:
		
							
								
								
									
										43
									
								
								zaaReloaded2/Views/AboutView.xaml
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										43
									
								
								zaaReloaded2/Views/AboutView.xaml
									
									
									
									
									
										Executable file
									
								
							@@ -0,0 +1,43 @@
 | 
			
		||||
<!--
 | 
			
		||||
	AboutView.xaml
 | 
			
		||||
	part of zaaReloaded2
 | 
			
		||||
	
 | 
			
		||||
	Copyright 2015 Daniel Kraus
 | 
			
		||||
	
 | 
			
		||||
	Licensed under the Apache License, Version 2.0 (the "License");
 | 
			
		||||
	you may not use this file except in compliance with the License.
 | 
			
		||||
	You may obtain a copy of the License at
 | 
			
		||||
	
 | 
			
		||||
	    http://www.apache.org/licenses/LICENSE-2.0
 | 
			
		||||
	
 | 
			
		||||
	Unless required by applicable law or agreed to in writing, software
 | 
			
		||||
	distributed under the License is distributed on an "AS IS" BASIS,
 | 
			
		||||
	WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 | 
			
		||||
	See the License for the specific language governing permissions and
 | 
			
		||||
	limitations under the License.
 | 
			
		||||
-->
 | 
			
		||||
<Window x:Class="zaaReloaded2.Views.AboutView"
 | 
			
		||||
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
 | 
			
		||||
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
 | 
			
		||||
        xmlns:b="clr-namespace:Bovender.Mvvm.Views.Settings;assembly=Bovender"
 | 
			
		||||
        SizeToContent="WidthAndHeight" ResizeMode="NoResize" ShowInTaskbar="False"
 | 
			
		||||
        b:WindowState.CenterScreen="True"
 | 
			
		||||
        Title="Über..."
 | 
			
		||||
        >
 | 
			
		||||
    <Window.Resources>
 | 
			
		||||
        <ResourceDictionary Source="/zaaReloaded2;component/Style.xaml" />
 | 
			
		||||
    </Window.Resources>
 | 
			
		||||
    <StackPanel Margin="20">
 | 
			
		||||
        <TextBlock TextAlignment="Center" Text="{Binding AddinName}" FontSize="20" FontWeight="Bold" />
 | 
			
		||||
        <TextBlock TextAlignment="Center" Text="{Binding Version}" Margin="0, 5, 0, 10" />
 | 
			
		||||
        <TextBlock TextAlignment="Center" Text="{Binding CopyrightString}" Margin="0, 0, 0, 10" />
 | 
			
		||||
        <TextBlock TextAlignment="Center" Margin="0, 10, 0, 10">
 | 
			
		||||
            <Hyperlink Command="{Binding GotoHomepageCommand}">
 | 
			
		||||
                <TextBlock Text="{Binding Homepage}" />
 | 
			
		||||
            </Hyperlink>
 | 
			
		||||
        </TextBlock>
 | 
			
		||||
        <StackPanel Orientation="Horizontal" HorizontalAlignment="Center" Margin="0, 10, 0, 0">
 | 
			
		||||
            <Button Content="Schließen" Command="{Binding CloseViewCommand}" />
 | 
			
		||||
        </StackPanel>
 | 
			
		||||
    </StackPanel>
 | 
			
		||||
</Window>
 | 
			
		||||
							
								
								
									
										32
									
								
								zaaReloaded2/Views/AboutView.xaml.cs
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										32
									
								
								zaaReloaded2/Views/AboutView.xaml.cs
									
									
									
									
									
										Executable file
									
								
							@@ -0,0 +1,32 @@
 | 
			
		||||
/* AboutView.xaml.cs
 | 
			
		||||
 * part of zaaReloaded2
 | 
			
		||||
 * 
 | 
			
		||||
 * Copyright 2015 Daniel Kraus
 | 
			
		||||
 * 
 | 
			
		||||
 * Licensed under the Apache License, Version 2.0 (the "License");
 | 
			
		||||
 * you may not use this file except in compliance with the License.
 | 
			
		||||
 * You may obtain a copy of the License at
 | 
			
		||||
 * 
 | 
			
		||||
 *     http://www.apache.org/licenses/LICENSE-2.0
 | 
			
		||||
 * 
 | 
			
		||||
 * Unless required by applicable law or agreed to in writing, software
 | 
			
		||||
 * distributed under the License is distributed on an "AS IS" BASIS,
 | 
			
		||||
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 | 
			
		||||
 * See the License for the specific language governing permissions and
 | 
			
		||||
 * limitations under the License.
 | 
			
		||||
 */
 | 
			
		||||
using System.Windows;
 | 
			
		||||
 | 
			
		||||
namespace zaaReloaded2.Views
 | 
			
		||||
{
 | 
			
		||||
    /// <summary>
 | 
			
		||||
    /// Interaction logic for AboutView.xaml
 | 
			
		||||
    /// </summary>
 | 
			
		||||
    public partial class AboutView : Window
 | 
			
		||||
    {
 | 
			
		||||
        public AboutView()
 | 
			
		||||
        {
 | 
			
		||||
            InitializeComponent();
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user