Projektdateien hinzufügen.
This commit is contained in:
44
Chatbot_v0.8.1Beta/MainWindow.xaml
Normal file
44
Chatbot_v0.8.1Beta/MainWindow.xaml
Normal file
@@ -0,0 +1,44 @@
|
||||
<Window x:Class="Chatbot_WPF_Projekt.MainWindow"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:local="clr-namespace:Chatbot_WPF_Projekt"
|
||||
mc:Ignorable="d"
|
||||
Title="ChatBot" Height="450" Width="880">
|
||||
<Grid Margin="10">
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="*" />
|
||||
<!-- Chatverlauf -->
|
||||
<RowDefinition Height="Auto" />
|
||||
<!-- Eingabefeld und Buttons -->
|
||||
</Grid.RowDefinitions>
|
||||
|
||||
<!-- Chat-Ausgabe (oben) -->
|
||||
<ScrollViewer Grid.Row="0" VerticalScrollBarVisibility="Auto">
|
||||
<TextBlock Name="ChatOutput"
|
||||
TextWrapping="Wrap"
|
||||
FontSize="14"
|
||||
Background="#FFF0F0F0"
|
||||
Padding="10"
|
||||
/>
|
||||
</ScrollViewer>
|
||||
|
||||
<!-- Eingabe + Buttons (unten) -->
|
||||
<StackPanel Grid.Row="1" Orientation="Horizontal" VerticalAlignment="Bottom" Margin="0,10,0,0">
|
||||
<TextBox Name="InputTextBox"
|
||||
Width="500"
|
||||
Height="30"
|
||||
Margin="0,0,10,0"
|
||||
KeyDown="InputTextBox_KeyDown"
|
||||
VerticalContentAlignment="Center"
|
||||
FontSize="14" Text=""
|
||||
/>
|
||||
<Button Name="SendButton" Content="Senden" Width="80" Height="30" Click="SendButton_Click"/>
|
||||
<Button Name="ClearButton" Content="Löschen" Width="80" Height="30" Margin="10,0,0,0" Click="ClearButton_Click"/>
|
||||
<Button Name="SaveButton" Content="Speichern" Click="SaveButton_Click" Margin="5"/>
|
||||
<CheckBox x:Name="Color_theme" Content="Colortheme" Width="88" Cursor="Arrow" Checked="Color_theme_Checked" Unchecked="Color_theme_Unchecked" Margin="10,0,0,0" Background="#FFDDDDDD"/>
|
||||
</StackPanel>
|
||||
</Grid>
|
||||
</Window>
|
||||
|
||||
Reference in New Issue
Block a user