Implement first-run wizard.
This commit is contained in:
		
							
								
								
									
										61
									
								
								zaaReloaded2/Views/FirstRunView.xaml
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										61
									
								
								zaaReloaded2/Views/FirstRunView.xaml
									
									
									
									
									
										Executable file
									
								
							@@ -0,0 +1,61 @@
 | 
			
		||||
<!--
 | 
			
		||||
	FirstRunView.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.FirstRunView"
 | 
			
		||||
        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"
 | 
			
		||||
        xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity"
 | 
			
		||||
        xmlns:action="clr-namespace:Bovender.Mvvm.Actions;assembly=Bovender"
 | 
			
		||||
        ResizeMode="NoResize" ShowInTaskbar="False" Topmost="True"
 | 
			
		||||
        SizeToContent="Height"  Width="480"
 | 
			
		||||
        b:WindowState.CenterScreen="True"
 | 
			
		||||
        Title="Willkommen bei zaaReloaded"
 | 
			
		||||
        >
 | 
			
		||||
    <Window.Resources>
 | 
			
		||||
         <ResourceDictionary Source="/zaaReloaded2;component/Style.xaml" />
 | 
			
		||||
    </Window.Resources>
 | 
			
		||||
    <StackPanel Margin="10">
 | 
			
		||||
        <TextBlock FontWeight="Bold" FontSize="20" Margin="0 0 0 5">
 | 
			
		||||
            Willkommen bei zaaReloaded
 | 
			
		||||
        </TextBlock>
 | 
			
		||||
        <Rectangle Fill="Navy" Height="1.5" HorizontalAlignment="Stretch" />
 | 
			
		||||
        <TextBlock Margin="0 10 0 0">
 | 
			
		||||
            Bitte den Arbeitsmodus auswählen:
 | 
			
		||||
        </TextBlock>
 | 
			
		||||
        <DockPanel Margin="0 10 0 5">
 | 
			
		||||
            <Button Height="40" DockPanel.Dock="Left" Command="{Binding SelectDoctorsModeCommand}" Content="Ärztemodus"
 | 
			
		||||
                    Width="160" Margin="0 0 10 0" VerticalAlignment="Center" />
 | 
			
		||||
            <TextBlock TextWrapping="Wrap" VerticalAlignment="Center">
 | 
			
		||||
                Im Ärztemodus werden beim Formatieren bei Bedarf Zusatzinformationen zu Laborparametern
 | 
			
		||||
                abgefragt (z.B. Medikamenten-Zielspiegel).
 | 
			
		||||
            </TextBlock>
 | 
			
		||||
        </DockPanel>
 | 
			
		||||
        <DockPanel Margin="0 5 0 10">
 | 
			
		||||
            <Button Height="40" DockPanel.Dock="Left" Command="{Binding SelectTypistsModeCommand}" Content="Sekretariatsmodus"
 | 
			
		||||
                    Width="160" Margin="0 0 10 0" VerticalAlignment="Center" />
 | 
			
		||||
            <TextBlock TextWrapping="Wrap" VerticalAlignment="Center">
 | 
			
		||||
                Im Ärztemodus werden beim Formatieren grundsätzlich keine Zusatzinformationen abgefragt.
 | 
			
		||||
            </TextBlock>
 | 
			
		||||
        </DockPanel>
 | 
			
		||||
        <TextBlock TextWrapping="Wrap" Foreground="Gray">
 | 
			
		||||
            Die Einstellungen können jederzeit unter "Einstellungen" wieder geändert werden.
 | 
			
		||||
        </TextBlock>
 | 
			
		||||
    </StackPanel>
 | 
			
		||||
</Window>
 | 
			
		||||
							
								
								
									
										33
									
								
								zaaReloaded2/Views/FirstRunView.xaml.cs
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										33
									
								
								zaaReloaded2/Views/FirstRunView.xaml.cs
									
									
									
									
									
										Executable file
									
								
							@@ -0,0 +1,33 @@
 | 
			
		||||
/* FirstRunView.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 FirstRunView.xaml
 | 
			
		||||
    /// </summary>
 | 
			
		||||
    public partial class FirstRunView : Window
 | 
			
		||||
    {
 | 
			
		||||
        public FirstRunView()
 | 
			
		||||
        {
 | 
			
		||||
            InitializeComponent();
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user