-
Notifications
You must be signed in to change notification settings - Fork 0
/
MainWindow.xaml
27 lines (26 loc) · 1.15 KB
/
MainWindow.xaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<Window
x:Class="Cheatboard.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="using:Cheatboard"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d">
<StackPanel Orientation="Vertical" HorizontalAlignment="Left" VerticalAlignment="Top" Padding="20">
<TextBlock Text="OpenAI API Key" Margin="0 15 0 10"/>
<RichEditBox
x:Name="OpenAiApiKeyEditBox"
TextChanged="OpenAiApiKeyEditBox_TextChanged"
AutomationProperties.Name="OpenAI API Key"
Width="500" />
<TextBlock Text="Prompt" Margin="0 15 0 10" />
<RichEditBox
x:Name="PromptEditBox"
TextChanged="PromptEditBox_TextChanged"
AutomationProperties.Name="Prompt"
Width="500"
Height="150"/>
<TextBlock Text="Running" Margin="0 15 0 5" />
<ToggleSwitch x:Name="IsRunningSwitch" AutomationProperties.Name="Toggle running"/>
</StackPanel>
</Window>