-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathWindow1.xaml
296 lines (296 loc) · 35.3 KB
/
Window1.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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
<Window x:Class="WpfApplication1.Window1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="Tabletop Manager" Height="859" Width="1187">
<Window.Resources>
<DataTemplate x:Key="listBoxTemplate">
<StackPanel Name="combatantRow" Orientation="Horizontal" MouseLeftButtonUp="combatantRow_MouseLeftButtonUp">
<TextBlock Background="{Binding Path=InnerColor}" FontFamily="Calibri" FontSize="14" FontWeight="Bold" Foreground="White" Height="20" Name="charHeader" Text="{Binding Path=CName, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" TextAlignment="Center" Width="138" />
<Separator Height="20" MouseLeftButtonUp="combatantRow_MouseLeftButtonUp" Name="separator2" Width="5" Background="Transparent" IsEnabled="True" IsHitTestVisible="False" />
<TextBlock Background="{Binding Path=InnerColor}" FontFamily="Calibri" FontSize="14" FontWeight="Bold" Foreground="{Binding Path=HPColor, Mode=OneWay, UpdateSourceTrigger=PropertyChanged}" Height="20" Name="hpHeader" Text="{Binding Path=FormattedHP, UpdateSourceTrigger=PropertyChanged}" TextAlignment="Center" Width="55" />
<Separator Height="20" Name="separator3" Width="5" Background="Transparent" />
<TextBlock Background="{Binding Path=InnerColor}" FontFamily="Calibri" FontSize="14" FontWeight="Bold" Foreground="White" Height="20" Name="iniHeader" Text="{Binding Path=Initiative, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" TextAlignment="Center" Width="28" />
<Separator Height="20" Name="separator4" Width="5" Background="Transparent" />
<TextBlock Background="{Binding Path=InnerColor}" FontFamily="Calibri" FontSize="14" FontWeight="Bold" Foreground="White" Height="20" Name="textBlock6" Text="{Binding Path=AC, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" TextAlignment="Center" Width="28" />
<Separator Height="20" Name="separator6" Width="5" Background="Transparent" />
<TextBlock Background="{Binding Path=InnerColor}" FontFamily="Calibri" FontSize="14" FontWeight="Bold" Foreground="White" Height="20" Name="textBlock7" Text="{Binding Path=AB, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" TextAlignment="Center" Width="28" />
<Separator Height="20" Name="separator7" Width="5" Background="Transparent" />
<Separator Height="20" Name="separator9" Width="5" Background="Transparent" />
<TextBlock Background="{Binding Path=InnerColor}" FontFamily="Calibri" FontSize="14" FontWeight="Bold" Foreground="White" Height="20" Name="textBlock8" Text="{Binding Path=Fort, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" TextAlignment="Center" Width="30" />
<Separator Height="20" Name="separator10" Width="5" Background="Transparent" />
<TextBlock Background="{Binding Path=InnerColor}" FontFamily="Calibri" FontSize="14" FontWeight="Bold" Foreground="White" Height="20" Name="textBlock9" Text="{Binding Path=Refl, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" TextAlignment="Center" Width="30" />
<Separator Height="20" Name="separator11" Width="5" Background="Transparent" />
<TextBlock Background="{Binding Path=InnerColor}" FontFamily="Calibri" FontSize="14" FontWeight="Bold" Foreground="White" Height="20" Name="textBlock10" Text="{Binding Path=Will, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" TextAlignment="Center" Width="30" />
<Separator Height="20" Name="separator12" Width="5" Background="Transparent" />
<Separator Height="20" Name="separator13" Width="5" Background="Transparent" />
<TextBlock Background="{Binding Path=InnerColor}" FontFamily="Calibri" FontSize="14" FontWeight="Bold" Foreground="White" Height="20" Name="textBlock11" Text="{Binding Path=Listen, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" TextAlignment="Center" Width="36" />
<Separator Height="20" Name="separator15" Width="5" Background="Transparent" />
<TextBlock Background="{Binding Path=InnerColor}" FontFamily="Calibri" FontSize="14" FontWeight="Bold" Foreground="White" Height="20" Name="textBlock12" Text="{Binding Path=Sense, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" TextAlignment="Center" Width="36" />
<Separator Height="20" Name="separator16" Width="5" Background="Transparent" />
<TextBlock Background="{Binding Path=InnerColor}" FontFamily="Calibri" FontSize="14" FontWeight="Bold" Foreground="White" Height="20" Name="textBlock13" Text="{Binding Path=Spot, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" TextAlignment="Center" Width="36" />
<Separator Height="20" Name="separator1" Width="5" Background="Transparent" />
<Separator Height="20" Name="separatorextra1" Width="5" Background="Transparent" />
<TextBlock Background="{Binding Path=InnerColor}" FontFamily="Calibri" FontSize="14" FontWeight="Bold" Foreground="{Binding Path=LoadColor, Mode=OneWay, UpdateSourceTrigger=PropertyChanged}" Height="20" Name="fhpHeader" Text="{Binding Path=Load, UpdateSourceTrigger=PropertyChanged}" TextAlignment="Center" Width="39" />
<Separator Height="20" Name="separatorextra3" Width="5" Background="Transparent" />
<TextBlock Background="{Binding Path=InnerColor}" FontFamily="Calibri" FontSize="14" FontWeight="Bold" Foreground="White" Height="20" Name="textBlock14" Text="{Binding Path=Gold, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" TextAlignment="Center" Width="45" />
<Separator Height="20" Name="separator5" Width="5" Background="Transparent" />
<TextBlock Background="{Binding Path=InnerColor}" FontFamily="Calibri" FontSize="14" FontWeight="Bold" Foreground="White" Height="20" Name="textBlock15" Text="{Binding Path=XP, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" TextAlignment="Center" Width="45" />
</StackPanel>
</DataTemplate>
<DataTemplate x:Key="skillBoxTemplate">
<Grid>
<TextBlock FontFamily="Cambria" FontWeight="Bold" Height="20" Name="textBlock38" Text="{Binding Path=SkillName}" VerticalAlignment="Top" HorizontalAlignment="Left" Width="149" />
<TextBox TextAlignment="Center" FontFamily="Cambria" FontWeight="Bold" Height="20" Margin="147,0,0,0" Name="textBlock1" Text="{Binding Path=SkillRank}" VerticalAlignment="Top" HorizontalAlignment="Left" Width="33" />
</Grid>
</DataTemplate>
<DataTemplate x:Key="itemBoxTemplate">
<StackPanel Orientation="Horizontal" MouseRightButtonDown="StackPanel_MouseRightButtonDown">
<TextBlock Height="20" Name="charHeader" Text="{Binding Path=Name}" TextAlignment="Left" Width="138" />
<Separator Height="20" Name="separator2" Width="5" Background="Transparent" />
<Separator Height="20" Name="separatorextra2" Width="5" Background="Transparent" />
<TextBlock Height="20" Name="hpHeader" Text="{Binding Path=WeightPounds}" TextAlignment="Center" Width="28" />
<Separator Height="20" Name="separator3" Width="5" Background="Transparent" />
<TextBlock Height="20" Name="fhpHeader" Text="{Binding Path=GoldValue}" TextAlignment="Center" Width="38" />
</StackPanel>
</DataTemplate>
</Window.Resources>
<Window.CommandBindings>
<CommandBinding Command="Undo" Executed="Undo" />
<CommandBinding Command="Redo" Executed="Redo" />
<CommandBinding Command="New" Executed="AddNewCombatant" />
<CommandBinding Command="Delete" Executed="RemoveSelectedCombatant" />
</Window.CommandBindings>
<Window.InputBindings>
<KeyBinding Key="Z" Modifiers="Ctrl" Command="Undo"/>
<KeyBinding Key="Y" Modifiers="Ctrl" Command="Redo"/>
<KeyBinding Key="Insert" Command="New"/>
<KeyBinding Key="Delete" Command="Delete"/>
</Window.InputBindings>
<Canvas Name="canvas1">
<GroupBox Canvas.Left="6" Canvas.Top="538" Header="Combat" Height="278" Name="groupBox1" Width="176">
<Canvas>
<Button Canvas.Left="9" Canvas.Top="83" Height="24" Name="startEncounter" Click="startEncounter_Click" Width="147">Start Encounter</Button>
<Button Canvas.Left="9" Canvas.Top="111" Height="24" Click="next_Click" Name="next" Width="68">Next-></Button>
<Button Canvas.Left="83" Canvas.Top="111" Height="24" Click="previous_Click" Name="previous" Width="73"><-Previous</Button>
<Button Canvas.Left="9" Canvas.Top="139" Height="24" Click="stopCombat_Click" Name="stopCombat" Width="147">Stop Combat</Button>
<Button Canvas.Left="9" Canvas.Top="7.04" Height="24" Name="setInitiativeButton" Click="setInitiativeButton_Click" Width="147">SetInitiatives</Button>
<Button Canvas.Left="9" Canvas.Top="35.04" Height="24" Name="orderByInit" Click="orderByInit_Click" Width="147">Order by Init</Button>
<Button Canvas.Left="11" Canvas.Top="189" Height="24" Name="clearDead" Width="147" Click="clearDead_Click">Clear Dead</Button>
<Button Canvas.Left="11" Canvas.Top="219" Height="24" Name="clearNPC" Width="147" Click="clearNPC_Click">Clear NPC</Button>
</Canvas>
</GroupBox>
<Border Canvas.Left="6" Canvas.Top="23" Height="502" Name="border1" Width="699" BorderBrush="Black" BorderThickness="3" />
<ListBox Name="listBox1" ItemsSource="{Binding UpdateSourceTrigger=PropertyChanged}" ItemTemplate="{StaticResource listBoxTemplate}" IsSynchronizedWithCurrentItem="True" Height="470" Width="693" Canvas.Left="9" Canvas.Top="52" BorderThickness="0" />
<StackPanel Canvas.Left="12" Canvas.Top="25" Height="21" Name="stackPanel1" Width="693" Orientation="Horizontal">
<TextBlock Background="Black" FontFamily="Calibri" FontSize="14" FontWeight="Bold" Foreground="White" Height="20" Name="charHeader" Text="CHARACTER" TextAlignment="Center" Width="138" />
<Separator Height="20" Name="separator2" Width="5" Foreground="Transparent" Background="Transparent" />
<TextBlock Background="Black" FontFamily="Calibri" FontSize="14" FontWeight="Bold" Foreground="White" Height="20" Name="hpHeader" Text="HP" TextAlignment="Center" Width="55" />
<Separator Height="20" Name="separator3" Width="5" Background="Transparent" />
<TextBlock Background="Black" FontFamily="Calibri" FontSize="14" FontWeight="Bold" Foreground="White" Height="20" Name="iniHeader" Text="INI" TextAlignment="Center" Width="28" />
<Separator Height="20" Name="separator4" Width="5" Background="Transparent" />
<TextBlock Background="Black" FontFamily="Calibri" FontSize="14" FontWeight="Bold" Foreground="White" Height="20" Name="textBlock6" Text="AC" TextAlignment="Center" Width="28" />
<Separator Height="20" Name="separator6" Width="5" Background="Transparent" />
<TextBlock Background="Black" FontFamily="Calibri" FontSize="14" FontWeight="Bold" Foreground="White" Height="20" Name="textBlock7" Text="AB" TextAlignment="Center" Width="28" />
<Separator Height="20" Name="separator7" Width="5" Background="Transparent" />
<Separator Height="20" Name="separator9" Width="5" Background="Transparent" />
<TextBlock Background="Black" FontFamily="Calibri" FontSize="12" FontWeight="Bold" Foreground="White" Height="20" Name="textBlock8" Text="FORT" TextAlignment="Center" Width="30" />
<Separator Height="20" Name="separator10" Width="5" Background="Transparent" />
<TextBlock Background="Black" FontFamily="Calibri" FontSize="12" FontWeight="Bold" Foreground="White" Height="20" Name="textBlock9" Text="REF" TextAlignment="Center" Width="30" />
<Separator Height="20" Name="separator11" Width="5" Background="Transparent" />
<TextBlock Background="Black" FontFamily="Calibri" FontSize="12" FontWeight="Bold" Foreground="White" Height="20" Name="textBlock10" Text="WILL" TextAlignment="Center" Width="30" />
<Separator Height="20" Name="separator12" Width="5" Background="Transparent" />
<Separator Height="20" Name="separator13" Width="5" Background="Transparent" />
<TextBlock Background="Black" FontFamily="Calibri" FontSize="12" FontWeight="Bold" Foreground="White" Height="20" Name="textBlock11" Text="LISTEN" TextAlignment="Center" Width="36" />
<Separator Height="20" Name="separator15" Width="5" Background="Transparent" />
<TextBlock Background="Black" FontFamily="Calibri" FontSize="12" FontWeight="Bold" Foreground="White" Height="20" Name="textBlock12" Text="SENSE" TextAlignment="Center" Width="36" />
<Separator Height="20" Name="separator16" Width="5" Background="Transparent" />
<TextBlock Background="Black" FontFamily="Calibri" FontSize="12" FontWeight="Bold" Foreground="White" Height="20" Name="textBlock13" Text="SPOT" TextAlignment="Center" Width="36" />
<Separator Height="20" Name="separator1" Width="5" Background="Transparent" />
<Separator Height="20" Name="separatorextra1" Width="5" Background="Transparent" />
<TextBlock Background="Black" FontFamily="Calibri" FontSize="14" FontWeight="Bold" Foreground="White" Height="20" Name="fhpHeader" Text="Load" TextAlignment="Center" Width="39" />
<Separator Height="20" Name="separatorextra3" Width="5" Background="Transparent" />
<TextBlock Background="Black" FontFamily="Calibri" FontSize="14" FontWeight="Bold" Foreground="White" Height="20" Name="textBlock14" Text="GOLD" TextAlignment="Center" Width="45" />
<Separator Height="20" Name="separator5" Width="5" Background="Transparent" />
<TextBlock Background="Black" FontFamily="Calibri" FontSize="14" FontWeight="Bold" Foreground="White" Height="20" Name="textBlock15" Text="EXP" TextAlignment="Center" Width="45" />
</StackPanel>
<Border Canvas.Left="8" Canvas.Top="45" Height="7" Name="border2" Width="697" Background="Black" />
<GroupBox Canvas.Left="403" Canvas.Top="698" Header="Dice Rollers" Height="118" Name="groupBox3" Width="293">
<Canvas>
<Button Canvas.Left="21" Canvas.Top="8" Height="27" Name="d2" Width="40" Click="d2_Click">d2</Button>
<Button Canvas.Left="72" Canvas.Top="8" Height="27" Name="d6" Width="40" Click="d6_Click">d6</Button>
<Button Canvas.Left="21" Canvas.Top="36" Height="27" Name="d4" Width="40" Click="d4_Click">d4</Button>
<Button Canvas.Left="123" Canvas.Top="8" Height="27" Name="d10" Width="40" Click="d10_Click">d10</Button>
<Button Canvas.Left="72" Canvas.Top="36" Height="27" Name="d8" Width="40" Click="d8_Click">d8</Button>
<Button Canvas.Left="123" Canvas.Top="36" Height="27" Name="d12" Width="40" Click="d12_Click">d12</Button>
<Button Canvas.Left="175" Canvas.Top="8" Height="27" Name="d20" Width="40" Click="d20_Click">d20</Button>
<Button Canvas.Left="175" Canvas.Top="36" Height="27" Name="d100" Width="40" Click="d100_Click">d100</Button>
<TextBlock Canvas.Left="24" Canvas.Top="66" FontSize="14" Foreground="Black" Height="21" Name="textBlock23" Text="Result" Width="61.105" />
<TextBox Canvas.Left="77" Canvas.Top="65" Height="24
" Name="resultBox" Width="54.439">0</TextBox>
</Canvas>
</GroupBox>
<GroupBox Canvas.Left="403" Canvas.Top="538" Header="Changes on Combat Table" Height="160" Name="groupBox7" Width="221">
<Canvas>
<Button Canvas.Left="9.999" Canvas.Top="10.04" Command="New" Height="24" Name="addNewCombatant" Width="180">Add New Combatant</Button>
<Button Canvas.Left="9.999" Canvas.Top="39.04" Command="Delete" Height="24.04" Name="removeSelectedCombatant" Width="180" Content="Remove Selected"></Button>
<Button Canvas.Left="10" Canvas.Top="107" Height="24" Click="MoveCombatantUp" Name="moveCombatantUp" Width="87" Content="Move Up"></Button>
<Button Canvas.Left="102" Canvas.Top="107" Height="24" Click="MoveCombatantDown" Name="moveCombatantDown" Width="85" Content="Move Down"></Button>
<Button Canvas.Left="9.999" Canvas.Top="69" Height="24" Name="cloneSelectedCombatant" Width="180" Click="cloneSelectedCombatant_Click" Content="Clone Selected"></Button>
</Canvas>
</GroupBox>
<Canvas Canvas.Left="713" Canvas.Top="27" Height="789" Name="quickSheet" Width="440">
<Border Canvas.Left="-10" Canvas.Top="-4" Height="794" Name="border3" Width="455" BorderBrush="Black" BorderThickness="3">
<Canvas HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
<TextBox Canvas.Left="18" Canvas.Top="377" Height="24" HorizontalContentAlignment="Center" Name="textBox6" Text="{Binding Path=AbilitySTR}" TextAlignment="Center" Width="31" />
<TextBox Canvas.Left="51" Canvas.Top="377" Height="24" HorizontalContentAlignment="Center" Name="textBox7" Text="{Binding Path=AbilityDEX}" TextAlignment="Center" Width="31" />
<TextBox Canvas.Left="84" Canvas.Top="377" Height="24" HorizontalContentAlignment="Center" Name="textBox8" Text="{Binding Path=AbilityCON}" TextAlignment="Center" Width="31" />
<TextBox Canvas.Left="118" Canvas.Top="377" Height="24" HorizontalContentAlignment="Center" Name="textBox13" Text="{Binding Path=AbilityINT}" TextAlignment="Center" Width="31" />
<TextBox Canvas.Left="151" Canvas.Top="377" Height="24" HorizontalContentAlignment="Center" Name="textBox14" Text="{Binding Path=AbilityWIS}" TextAlignment="Center" Width="31" />
<TextBox Canvas.Left="184" Canvas.Top="377" Height="24" HorizontalContentAlignment="Center" Name="textBox15" Text="{Binding Path=AbilityCHA}" TextAlignment="Center" Width="31" />
<TextBlock Background="Black" Canvas.Left="18" Canvas.Top="356" FontFamily="Calibri" FontSize="16" FontWeight="Bold" Foreground="White" Height="22" Name="textBlock5" Text="STR" TextAlignment="Center" Width="31" />
<TextBlock Background="Black" Canvas.Left="51" Canvas.Top="356" FontFamily="Calibri" FontSize="16" FontWeight="Bold" Foreground="White" Height="22" Name="textBlock28" Text="DEX" TextAlignment="Center" Width="29" />
<TextBlock Background="Black" Canvas.Left="84" Canvas.Top="356" FontFamily="Calibri" FontSize="16" FontWeight="Bold" Foreground="White" Height="22" Name="textBlock38" Text="CON" TextAlignment="Center" Width="31" />
<TextBlock Background="Black" Canvas.Left="118" Canvas.Top="356" FontFamily="Calibri" FontSize="16" FontWeight="Bold" Foreground="White" Height="22" Name="textBlock39" Text="INT" TextAlignment="Center" Width="31" />
<TextBlock Background="Black" Canvas.Left="151" Canvas.Top="356" FontFamily="Calibri" FontSize="16" FontWeight="Bold" Foreground="White" Height="22" Name="textBlock40" Text="WIS" TextAlignment="Center" Width="31" />
<TextBlock Background="Black" Canvas.Left="184" Canvas.Top="356" FontFamily="Calibri" FontSize="16" FontWeight="Bold" Foreground="White" Height="22" Name="textBlock41" Text="CHA" TextAlignment="Center" Width="31" />
</Canvas>
</Border>
<TextBlock Canvas.Left="11" Canvas.Top="35" FontFamily="Cambria" FontWeight="Bold" Height="20" Name="textBlock16" Text="CHARACTER NAME" Width="104" />
<TextBox Canvas.Left="10" Canvas.Top="10" FontSize="14" Height="24" HorizontalContentAlignment="Center" Name="textBox1" Text="{Binding Path=CName}" TextAlignment="Left" Width="281" />
<TextBlock Background="Black" Canvas.Left="17" Canvas.Top="61" FontFamily="Calibri" FontSize="18" FontWeight="Bold" Foreground="White" Height="24" Name="textBlock34" Text="HP" TextAlignment="Center" Width="56" />
<TextBlock Background="Black" Canvas.Left="17" Canvas.Top="87" FontFamily="Calibri" FontSize="18" FontWeight="Bold" Foreground="White" Height="24" Name="textBlock35" Text="AC" TextAlignment="Center" Width="56" />
<TextBox Canvas.Left="79" Canvas.Top="62" Height="24" HorizontalContentAlignment="Center" Name="textBox9" Text="{Binding Path=HP}" TextAlignment="Center" Width="31" />
<TextBox Canvas.Left="79" Canvas.Top="88" Height="24" HorizontalContentAlignment="Center" Name="textBox10" Text="{Binding Path=AC}" TextAlignment="Center" Width="31" />
<TextBlock Background="Black" Canvas.Left="13" Canvas.Top="118" FontFamily="Calibri" FontSize="18" FontWeight="Bold" Foreground="White" Height="24" Name="textBlock36" Text="INIT MOD" TextAlignment="Center" Width="85" />
<TextBox Canvas.Left="105" Canvas.Top="118" Height="24" HorizontalContentAlignment="Center" Name="textBox11" Text="{Binding Path=InitMod}" TextAlignment="Center" Width="31" />
<TextBlock Canvas.Left="114" Canvas.Top="65" Height="23" Name="textBlock17" Text="/" />
<TextBox Canvas.Left="122" Canvas.Top="63" Height="24" HorizontalContentAlignment="Center" Name="textBox2" Text="{Binding Path=MaxHP}" TextAlignment="Center" Width="31" />
<TextBlock Background="Black" Canvas.Left="13" Canvas.Top="148" FontFamily="Calibri" FontSize="18" FontWeight="Bold" Foreground="White" Height="24" Name="textBlock18" Text="XP" TextAlignment="Center" Width="38" />
<TextBox Canvas.Left="57" Canvas.Top="148" Height="24" Name="textBox3" Text="{Binding Path=XP}" TextAlignment="Center" Width="76" GotFocus="textBox3_GotFocus" />
<TextBlock Background="Black" Canvas.Left="13" Canvas.Top="177" FontFamily="Calibri" FontSize="18" FontWeight="Bold" Foreground="White" Height="24" Name="textBlock19" Text="GOLD" TextAlignment="Center" Width="55" />
<TextBox Canvas.Left="77" Canvas.Top="177" Height="24" Name="textBox4" Text="{Binding Path=Gold}" TextAlignment="Center" Width="76" />
<TextBox Canvas.Left="116" Canvas.Top="226" FontSize="11" FontWeight="Normal" Height="24" HorizontalContentAlignment="Center" Name="textBox5" Text="{Binding Path=Fort}" TextAlignment="Center" Width="32" />
<TextBox Canvas.Left="116" Canvas.Top="252" FontSize="11" FontWeight="Normal" Height="24" HorizontalContentAlignment="Center" Name="textBlock26" Text="{Binding Path=Refl}" TextAlignment="Center" Width="32" />
<TextBox Canvas.Left="116" Canvas.Top="278" FontSize="11" FontWeight="Normal" Height="24" HorizontalContentAlignment="Center" Name="textBlock27" Text="{Binding Path=Will}" TextAlignment="Center" Width="32" />
<TextBlock Background="Black" Canvas.Left="13" Canvas.Top="226" FontFamily="Calibri" FontSize="18" FontWeight="Bold" Foreground="White" Height="24" Name="textBlock29" Text="FORTITUDE" TextAlignment="Center" Width="97" />
<TextBlock Canvas.Left="22" Canvas.Top="210" FontFamily="Cambria" FontWeight="Bold" Height="20" Name="textBlock30" Text="SAVING THROWS" Width="104" />
<TextBlock Background="Black" Canvas.Left="13" Canvas.Top="252" FontFamily="Calibri" FontSize="18" FontWeight="Bold" Foreground="White" Height="24" Name="textBlock31" Text="REFLEX" TextAlignment="Center" Width="97" />
<TextBlock Background="Black" Canvas.Left="13" Canvas.Top="278" FontFamily="Calibri" FontSize="18" FontWeight="Bold" Foreground="White" Height="24" Name="textBlock32" Text="WILL" TextAlignment="Center" Width="97" />
<TextBox Canvas.Left="65" Canvas.Top="308" Height="24" Name="textBlock20" Text="{Binding Path=AB}" TextAlignment="Center" Width="33" />
<TextBlock Background="Black" Canvas.Left="14" Canvas.Top="308" FontFamily="Calibri" FontSize="18" FontWeight="Bold" Foreground="White" Height="24" Name="textBlock33" Text="BAB" TextAlignment="Center" Width="49" />
<TextBox BorderBrush="Black" Canvas.Left="13" Canvas.Top="667" Height="106" Name="textBox12" Text="{Binding Path=Notes}" Width="193" />
<TextBlock Background="Black" Canvas.Left="13" Canvas.Top="639" FontFamily="Calibri" FontSize="18" FontWeight="Bold" Foreground="White" Height="24" Name="textBlock21" Text="NOTES" TextAlignment="Center" Width="69" />
<TextBlock Background="Black" Canvas.Left="182" Canvas.Top="48" FontFamily="Calibri" FontSize="18" FontWeight="Bold" Foreground="White" Height="24" Name="textBlock22" Text="ITEMS" TextAlignment="Center" Width="149" />
<ListBox Canvas.Left="182" Canvas.Top="78" Height="213" IsSynchronizedWithCurrentItem="True" ItemTemplate="{StaticResource itemBoxTemplate}" ItemsSource="{Binding Path=Items}" Name="itemListBox" Width="246" />
<Button Background="AntiqueWhite" BorderBrush="Black" Canvas.Left="183" Canvas.Top="298" Content="NEW" FontFamily="CALIBRI" FontSize="16" FontWeight="Bold" Height="23" Name="newItemButton" Padding="0" VerticalContentAlignment="Center" Width="122" Click="newItemButton_Click" />
<Button Background="AntiqueWhite" BorderBrush="Black" Canvas.Left="311" Canvas.Top="298" Content="REMOVE" FontFamily="CALIBRI" FontSize="16" FontWeight="Bold" Height="23" Name="removeItemButton" Padding="0" VerticalContentAlignment="Center" Width="118" Click="removeItemButton_Click" />
<TextBlock Background="Black" Canvas.Left="337" Canvas.Top="48" FontFamily="Calibri" FontSize="14" FontWeight="Bold" Foreground="White" Height="24" Name="textBlock24" Text="W" TextAlignment="Center" Width="29" />
<TextBlock Background="Black" Canvas.Left="372" Canvas.Top="48" FontFamily="Calibri" FontSize="14" FontWeight="Bold" Foreground="White" Height="24" Name="textBlock25" Text="Gold" TextAlignment="Center" Width="56" />
<CheckBox Canvas.Left="321" Canvas.Top="10" Content="NPC" Height="22" IsChecked="{Binding Path=IsNPC}" Name="isNPC" Width="74" />
<TextBlock Background="Black" Canvas.Left="14" Canvas.Top="420" FontFamily="Calibri" FontSize="18" FontWeight="Bold" Foreground="White" Height="24" Name="textBlock4" Text="FEATS" TextAlignment="Center" Width="191" />
<ListBox Canvas.Left="14" Canvas.Top="450" Height="148" IsSynchronizedWithCurrentItem="True" ItemsSource="{Binding Path=Feats}" Name="featListBox" Width="192" />
<Button Background="AntiqueWhite" BorderBrush="Black" Canvas.Left="14" Canvas.Top="603" Content="NEW" FontFamily="CALIBRI" FontSize="16" FontWeight="Bold" Height="23" Name="newFeatButton" Padding="0" VerticalContentAlignment="Center" Width="87" Click="newFeatButton_Click" />
<Button Background="AntiqueWhite" BorderBrush="Black" Canvas.Left="117" Canvas.Top="603" Content="REMOVE" FontFamily="CALIBRI" FontSize="16" FontWeight="Bold" Height="23" Name="removeFeatButton" Padding="0" VerticalContentAlignment="Center" Width="87" Click="removeFeatButton_Click" />
<TextBlock Background="Black" Canvas.Left="225" Canvas.Top="335" FontFamily="Calibri" FontSize="18" FontWeight="Bold" Foreground="White" Height="24" Name="textBlock37" Text="SKILLS" TextAlignment="Center" Width="209" />
<ListBox Canvas.Left="225" Canvas.Top="365" Height="413" IsSynchronizedWithCurrentItem="True" ItemTemplate="{StaticResource skillBoxTemplate}" ItemsSource="{Binding Path=Skills}" Name="skillListBox" Width="209" />
</Canvas>
<Menu Canvas.Left="0" Canvas.Top="1" Height="19" Name="titleMenu" Width="1168" Background="#FFF5F2F2">
<MenuItem Header="_File">
<MenuItem Header="_Open" Click="Load_Click" ToolTip="Open a new combat file"/>
<MenuItem Header="_Include" Click="Include_Click" ToolTip="Append a combat file to this current combat table"/>
<MenuItem Header="Save As" Click="SaveAs_Click" ToolTip="Save this current combat table as"/>
<MenuItem Header="_Save" Click="Save_Click" ToolTip="Save the changes is this combat table"/>
<MenuItem Header="Export Selected" Click="exportCharacter_Click" ToolTip="Create a combat file for this selected combatant"/>
<MenuItem Header="_Export All" Click="exportAll_Click" ToolTip="Create a separate combat file under /exported for each combatant"/>
</MenuItem>
<MenuItem Header="_MassEdit">
<MenuItem Header="Roll NPC init" Click="rollNPCInit_Click"/>
<MenuItem Header="Restore All HP" Click="restoreAllHP_Click"/>
<MenuItem Header="Restore NPC HP" Click="restoreNPCHP_Click"/>
<Separator/>
<MenuItem Header="Roll check for all">
<MenuItem Header="Fortitude" Click="rollCheck_Click"/>
<MenuItem Header="Reflex" Click="rollCheck_Click"/>
<MenuItem Header="Will" Click="rollCheck_Click"/>
<Separator/>
<MenuItem Header="Listen" Click="rollCheck_Click"/>
<MenuItem Header="Sense Motive" Click="rollCheck_Click"/>
<MenuItem Header="Spot" Click="rollCheck_Click"/>
</MenuItem>
</MenuItem>
<MenuItem Header="Tables">
<MenuItem Header="PHB General">
<MenuItem Header="Actions" Tag="actions" Click="openTable_Click"/>
<MenuItem Header="Aditional Spells" Tag="additional_spells" Click="openTable_Click"/>
<MenuItem Header="Combat Modifiers" Tag="combat_modifiers" Click="openTable_Click"/>
<MenuItem Header="Donning Armor" Tag="donning_armor" Click="openTable_Click"/>
<MenuItem Header="Light Sources" Tag="light_sources" Click="openTable_Click"/>
<MenuItem Header="Movement" Tag="movement" Click="openTable_Click"/>
<MenuItem Header="Objects AC,HP" Tag="objects_breaking" Click="openTable_Click"/>
<MenuItem Header="Size,Mod,Damage" Tag="size_modifiers" Click="openTable_Click" />
<MenuItem Header="Track" Tag="track" Click="openTable_Click"/>
</MenuItem>
<MenuItem Header="PHB Skills">
<MenuItem Header="Balance-Climb" Tag="balance-climb" Click="openTable_Click" />
<MenuItem Header="Concentration-Forgery" Tag="concentration-forgery" Click="openTable_Click"/>
<MenuItem Header="Heal-Search" Tag="heal-search" Click="openTable_Click"/>
<MenuItem Header="Spellcraft-Survival" Tag="spellcraft-survival" Click="openTable_Click"/>
<MenuItem Header="Tumble-UseRope" Tag="tumble-use_rope" Click="openTable_Click"/>
</MenuItem>
<MenuItem Header="DMG">
<MenuItem Header="Adventure Ideas A" Tag="adventure_ideas" Click="openTable_Click"/>
<MenuItem Header="Adventure Ideas B" Tag="adventure_ideas2" Click="openTable_Click"/>
<MenuItem Header="Diseases" Tag="diseases" Click="openTable_Click"/>
<MenuItem Header="Door" Tag="doors" Click="openTable_Click"/>
<MenuItem Header="Encounter CR" Tag="encounter_nd" Click="openTable_Click"/>
<MenuItem Header="NPC Traits" Tag="npc_traits" Click="openTable_Click"/>
<MenuItem Header="Poison" Tag="poisons" Click="openTable_Click"/>
<MenuItem Header="Random Doors" Tag="random_doors" Click="openTable_Click"/>
<MenuItem Header="Random Traps" Tag="random_traps" Click="openTable_Click"/>
<MenuItem Header="Walls" Tag="walls" Click="openTable_Click"/>
<MenuItem Header="XP Award" Tag="xp" Click="openTable_Click"/>
</MenuItem>
<MenuItem Header="Items">
<MenuItem Header="Art" Tag="art" Click="openTable_Click"/>
<MenuItem Header="Gems" Tag="gems" Click="openTable_Click" />
<MenuItem Header="Potions" Tag="potions" Click="openTable_Click"/>
</MenuItem>
</MenuItem>
<MenuItem Header="Spellbooks">
<MenuItem Header="Bard" Click="randomSpellbook_Click"/>
<MenuItem Header="Cleric" Click="randomSpellbook_Click" />
<MenuItem Header="Druid" Click="randomSpellbook_Click"/>
<MenuItem Header="Paladin" Click="randomSpellbook_Click"/>
<MenuItem Header="Ranger" Click="randomSpellbook_Click" />
<MenuItem Header="Wizard" Click="randomSpellbook_Click"/>
</MenuItem>
<MenuItem Header="Award Group">
<MenuItem Header="with Gold" Click="GiveGold_Click"/>
<MenuItem Header="with Exp" Click="GiveXP_Click" />
</MenuItem>
<MenuItem Header="About" />
</Menu>
<GroupBox Canvas.Left="187" Canvas.Top="538" Header="Changes on Selected Character" Height="268" Name="groupBox6" Width="207.757">
<Canvas>
<Button Canvas.Left="14.443" Canvas.Top="125" Height="24" Name="damageHeal" Width="55.55" Click="damageHeal_Click">Damage</Button>
<TextBlock Canvas.Left="46.662" Canvas.Top="155" Height="20" Name="textBlock1" Width="53.328" Text="Amount:" />
<TextBox Canvas.Left="96.657" Canvas.Top="153" Height="23" Name="damageHealBox" Width="58.883" />
<Button Canvas.Left="28.886" Canvas.Top="59" Height="25" Name="plus1Dmg" Width="32.219" Click="plus1Dmg_Click">+1</Button>
<Button Canvas.Left="64.438" Canvas.Top="59" Height="25" Name="plus3Dmg" Width="32.219" Click="plus3Dmg_Click">+3</Button>
<Button Canvas.Left="98.879" Canvas.Top="59" Height="25" Name="plus5Dmg" Width="32.219" Click="plus5Dmg_Click">+5</Button>
<Button Canvas.Left="134.431" Canvas.Top="59" Height="25" Name="plus10Dmg" Width="32.219" Click="plus10Dmg_Click">+10</Button>
<Button Canvas.Left="28.886" Canvas.Top="90" Height="25" Name="minus1Dmg" Width="32.219" Click="minus1Dmg_Click">-1</Button>
<Button Canvas.Left="64.438" Canvas.Top="90" Height="25" Name="minus2Dmg" Width="32.219" Click="minus2Dmg_Click">-3</Button>
<Button Canvas.Left="98.879" Canvas.Top="90" Height="25" Name="minus5Dmg" Width="32.219" Click="minus5Dmg_Click">-5</Button>
<Button Canvas.Left="134.431" Canvas.Top="90" Height="25" Name="minus10Dmg" Width="32.219" Click="minus10Dmg_Click">-10</Button>
<TextBlock Canvas.Left="26.664" Canvas.Top="41" Height="21" Text="Quick Change Selected Hp" Name="textBlock2" Width="147.763" />
<Button Canvas.Left="11.11" Canvas.Top="8" Height="24" Name="restoreSelectedHp" Width="175.538" Click="restoreSelectedHp_Click">Restore Selected HP</Button>
<Button Canvas.Left="11.11" Canvas.Top="183" Height="24" Name="button1" Width="175.538" Click="button1_Click">Set Selected Initiative</Button>
<TextBlock Canvas.Left="13.332" Canvas.Top="213" Height="20" Name="textBlock3" Text="Initiative:" Width="53.328" />
<TextBox Canvas.Left="63.327" Canvas.Top="211" Height="23" Name="initiativeBox" Width="32.219" />
<Button Canvas.Left="75.548" Canvas.Top="125" Height="24" Name="Gold" Width="55.55" Click="Gold_Click">Gold</Button>
<Button Canvas.Left="135.542" Canvas.Top="125" Height="24" Name="XP" Width="55.55" Click="XP_Click">XP</Button>
</Canvas>
</GroupBox>
</Canvas>
</Window>