-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathThingsToDo.xaml
54 lines (51 loc) · 3.71 KB
/
ThingsToDo.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
<Page x:Class="dbCon2.ThingsToDo"
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:dbCon2"
mc:Ignorable="d"
d:DesignHeight="722" d:DesignWidth="1422"
Title="ThingsToDo">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="400"/>
<RowDefinition/>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="353"/>
<ColumnDefinition/>
</Grid.ColumnDefinitions>
<Grid.Background>
<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
<GradientStop Color="#FFA8A4BE" Offset="0"/>
<GradientStop Color="White" Offset="1"/>
</LinearGradientBrush>
</Grid.Background>
<Grid Margin="10" Grid.ColumnSpan="2" Grid.Row="1">
<ListBox x:Name="ToDoList" Margin="10,10,350,10" SelectionChanged="ToDoList_SelectionChanged" FontFamily="Segoe Print" FontSize="16" FontWeight="Bold" SelectionMode="Extended"/>
<TextBlock x:Name="Description" Margin="0,10,10,0" TextWrapping="Wrap" VerticalAlignment="Top" Height="281" FontFamily="Segoe Print" FontSize="14" RenderTransformOrigin="0.5,0.5" HorizontalAlignment="Right" Width="335"/>
</Grid>
<Grid Margin="10">
<Calendar x:Name="ClndOfStuff" Margin="36,10,0,10" HorizontalAlignment="Left" Width="277" MouseDoubleClick="ClndOfStuff_MouseDoubleClick" DisplayDateChanged="ClndOfStuff_DisplayDateChanged" SelectionMode="MultipleRange" LostFocus="ClndOfStuff_LostFocus">
</Calendar>
</Grid>
<Grid Height="362" Margin="10,29,10,0" VerticalAlignment="Top" Grid.Column="1">
<Grid.RowDefinitions>
<RowDefinition Height="36*"/>
<RowDefinition Height="85*"/>
</Grid.RowDefinitions>
<StackPanel Margin="10,10,0,210" Grid.RowSpan="2" HorizontalAlignment="Left" Width="575">
<TextBox x:Name="DateTDBox" Height="29" TextWrapping="Wrap" Text="Date" MouseDoubleClick="DateTDBox_MouseDoubleClick"/>
<TextBox x:Name="TitleTDBox" Height="29" TextWrapping="Wrap" Text="Title"/>
<TextBox x:Name="CoWorkTDBox" Height="29" TextWrapping="Wrap" Text="Co-Worker"/>
<TextBox x:Name="DescriptionTDBox" Height="29" TextWrapping="Wrap" Text="Description"/>
</StackPanel>
<Button x:Name="SaveToDoButton" Content="Save" HorizontalAlignment="Left" Margin="10,44.5,0,0" VerticalAlignment="Top" Width="213" Click="SaveToDoButton_Click" Grid.Row="1" Visibility="Collapsed"/>
<Button x:Name="DeleteToDoButton" Content="Delete" HorizontalAlignment="Left" Margin="10,98.5,0,0" VerticalAlignment="Top" Width="213" Grid.Row="1" Click="DeleteToDoButton_Click" Visibility="Collapsed"/>
<Button x:Name="DoneButton" Content="Change Status" HorizontalAlignment="Left" Margin="372,44.5,0,0" VerticalAlignment="Top" Width="213" Grid.Row="1" Visibility="Collapsed" Click="DoneButton_Click"/>
<Button x:Name="MonthWiev" Content="Monthly View" HorizontalAlignment="Left" Margin="10,212,0,0" VerticalAlignment="Top" Width="213" Grid.Row="1" Click="MonthWiev_Click" Visibility="Collapsed"/>
<Button x:Name="EditButton" Content="Edit" HorizontalAlignment="Left" Margin="372,98,0,0" Grid.Row="1" VerticalAlignment="Top" Width="213" Click="EditButton_Click" Visibility="Collapsed"/>
</Grid>
</Grid>
</Page>