<localView:BeWoView x:Class="BeWo.View.ChatServiceEmployee" 
                    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                    xmlns:localView="clr-namespace:BeWo.View" 
                    xmlns:localViewModel="clr-namespace:BeWo.ViewModel" 
                    xmlns:uc="clr-namespace:BeWo.Controls;assembly=BeWo.Controls" 
                    xmlns:dxg="http://schemas.devexpress.com/winfx/2008/xaml/grid" 
                    Height="Auto" Width="Auto" HorizontalAlignment="Stretch" 
                    xmlns:diagnostics="clr-namespace:System.Diagnostics;assembly=WindowsBase" 
                    VerticalAlignment="Stretch" Focusable="True">
	
	<Grid>
		<Grid>
            <Grid.RowDefinitions>
                <RowDefinition Height="Auto" />
                <RowDefinition Height="*" />
            </Grid.RowDefinitions>
            <Grid.ColumnDefinitions>
				<ColumnDefinition Width="Auto" />
				<ColumnDefinition Width="*" />
			</Grid.ColumnDefinitions>
            <GroupBox Grid.ColumnSpan="2" Padding="5" Style="{StaticResource ObjectEditGroupBox}" Header="Chat Service">
                <Grid>
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="Auto" />
                        <ColumnDefinition Width="*" />
                        <ColumnDefinition Width="Auto" />
                        <ColumnDefinition Width="*" />
                        <ColumnDefinition Width="Auto" />
                    </Grid.ColumnDefinitions>
                    <Grid.RowDefinitions>
                        <RowDefinition Height="Auto" />
                        <RowDefinition Height="Auto" />
                        <RowDefinition Height="Auto" />
                        <RowDefinition Height="Auto" />
                    </Grid.RowDefinitions>

                  <Button Grid.Column="0" Grid.Row="0" Content="Code Generieren" Click="GenerateCodeClick" Margin="3" VerticalAlignment="Center" HorizontalAlignment="Left"
                       Height="21" x:Name="GenerateButon" />

                  <TextBox Grid.Column="1" Grid.Row="0" Margin="3" Height="23" MinWidth="120" x:Name="GeneratetTexfield" IsReadOnly="True" />


                  <Label x:Name="lblIsChatAktive" Grid.Column="0" Grid.Row="1" Content="Chat Aktivieren"  />


                  <CheckBox x:Name="ChatAktive" Grid.Column="1" Grid.Row="1" Margin="3" Height="23"  Checked="CheckBox_Checked" Unchecked="CheckBox_Unchecked" />
                            

                  <Label x:Name="LblSetStatement" Grid.Column="0" Grid.Row="2" Content="Notfall Nachricht"  />

                  <TextBox Grid.Column="1" Grid.Row="2" Margin="3" Height="23" MinWidth="120" x:Name="NotfallTexfield" />
                           
                 
                  <Button Grid.Column="0" Grid.Row="3" Content="Save Notfall Message" Click="Creat_NotfallMessage" Margin="3" VerticalAlignment="Center" HorizontalAlignment="Left"
                       Height="21" x:Name="SaveMSButon" />
      
                  
                </Grid>

            </GroupBox>
           

		</Grid>
	</Grid>

</localView:BeWoView>