-
Notifications
You must be signed in to change notification settings - Fork 1
/
MainView.xaml
36 lines (27 loc) · 1.92 KB
/
MainView.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
28
29
30
31
32
33
34
35
36
<UserControl x:Class="BED_Calc.MainView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:local="clr-namespace:BED_Calc"
mc:Ignorable="d"
d:DesignHeight="350" d:DesignWidth="350" Background="FloralWhite">
<StackPanel Margin="10">
<Label HorizontalAlignment="Center">Contour Name</Label>
<TextBox Name="OrganNameTB" Width="150" HorizontalAlignment="Center">PTV</TextBox>
<Label HorizontalAlignment="Center">Alpha/Beta Ratio (Gy)</Label>
<TextBox Name="AlphaBetaRatioTB" Width="150" HorizontalAlignment="Center">3</TextBox>
<Button Margin="10" Width="150" HorizontalAlignment="Center" Click="Button_Click">Calculate BED/EQD2</Button>
<Label HorizontalAlignment="Center" Content="Input Dose Type (enter either Mean, Max, Min, DN% or DNcc)"/>
<TextBox Name="DoseTypeTB" Width="150" HorizontalAlignment="Center">Mean</TextBox>
<Label HorizontalAlignment="Center">Absolute Dose (Gy)</Label>
<TextBox Name="AbsoluteDoseTB" Width="150" HorizontalAlignment="Center"
Background="Gainsboro" IsReadOnly="True"></TextBox>
<Label HorizontalAlignment="Center">BED (Gy)</Label>
<TextBox Name="BEDTB" Width="150" HorizontalAlignment="Center"
Background="Gainsboro" IsReadOnly="True"></TextBox>
<Label HorizontalAlignment="Center">EQD2 (Gy)</Label>
<TextBox Name="EQD2TB" Width="150" HorizontalAlignment="Center" IsReadOnly="True"
Background="Gainsboro"></TextBox>
</StackPanel>
</UserControl>