2024-02-29 12:14:23 +04:00
|
|
|
<Window x:Class="ТСЧМИ.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:ТСЧМИ"
|
|
|
|
mc:Ignorable="d"
|
|
|
|
Title="MainWindow" Height="450" Width="800">
|
2024-03-14 15:12:29 +04:00
|
|
|
<Window.Resources>
|
|
|
|
<Style TargetType="Button">
|
|
|
|
<Setter Property="FontSize" Value="10" />
|
|
|
|
<Setter Property="FontFamily" Value="Times New Roman" />
|
|
|
|
<Setter Property="Background" Value="Gray" />
|
|
|
|
</Style>
|
|
|
|
</Window.Resources>
|
2024-03-13 17:32:23 +04:00
|
|
|
<Grid ShowGridLines="True">
|
2024-02-29 12:14:23 +04:00
|
|
|
<Grid.ColumnDefinitions>
|
2024-02-29 15:03:05 +04:00
|
|
|
<ColumnDefinition Width ="*" />
|
|
|
|
<ColumnDefinition Width ="*" />
|
2024-02-29 12:14:23 +04:00
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
<Grid.RowDefinitions>
|
2024-02-29 15:03:05 +04:00
|
|
|
<RowDefinition Height="3*" />
|
|
|
|
<RowDefinition Height="*" />
|
2024-02-29 12:14:23 +04:00
|
|
|
</Grid.RowDefinitions>
|
2024-02-29 14:36:39 +04:00
|
|
|
<GridSplitter Grid.Column="1" Grid.Row="0" ShowsPreview="False" Width="3" HorizontalAlignment="Left" VerticalAlignment="Stretch" />
|
2024-02-29 12:14:23 +04:00
|
|
|
<GridSplitter Grid.Row="1" Grid.ColumnSpan="3" Height="3" HorizontalAlignment="Stretch" VerticalAlignment="Top" />
|
|
|
|
<Grid Grid.Row="0" Grid.Column="2" ShowGridLines="True">
|
|
|
|
<Grid.ColumnDefinitions>
|
2024-02-29 15:03:05 +04:00
|
|
|
<ColumnDefinition Width="*" />
|
2024-02-29 14:36:39 +04:00
|
|
|
<ColumnDefinition Width="*"/>
|
2024-02-29 12:14:23 +04:00
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
<Grid.RowDefinitions>
|
2024-02-29 15:03:05 +04:00
|
|
|
<RowDefinition Height="*" />
|
|
|
|
<RowDefinition Height="2*" />
|
2024-02-29 12:14:23 +04:00
|
|
|
</Grid.RowDefinitions>
|
2024-03-14 15:12:29 +04:00
|
|
|
|
2024-03-13 17:58:41 +04:00
|
|
|
<GroupBox Header="Настройка даты">
|
|
|
|
<StackPanel>
|
2024-03-14 15:12:29 +04:00
|
|
|
<RadioButton x:Name="radioLater" Content="Отложенный старт" MinHeight="30" VerticalAlignment="Center" HorizontalAlignment="Center"/>
|
|
|
|
<RadioButton x:Name="radioNow" Content="Выложить сразу" MinHeight="30" VerticalAlignment="Center" HorizontalAlignment="Center"/>
|
|
|
|
<DatePicker x:Name="dateChoosen" HorizontalAlignment="Center" VerticalAlignment="Top"/>
|
2024-03-13 17:58:41 +04:00
|
|
|
</StackPanel>
|
|
|
|
</GroupBox>
|
2024-03-14 15:12:29 +04:00
|
|
|
<ListView x:Name="listView" Grid.Row="1" d:ItemsSource="{d:SampleData ItemCount=5}">
|
2024-03-13 17:32:23 +04:00
|
|
|
<ListView.View>
|
|
|
|
<GridView>
|
|
|
|
<GridViewColumn/>
|
|
|
|
</GridView>
|
|
|
|
</ListView.View>
|
|
|
|
</ListView>
|
2024-03-14 15:12:29 +04:00
|
|
|
<Button x:Name="buttonCreate" Grid.Column="1" Grid.Row="0" Content="Создать видео" Click="buttonCreate_Click"/>
|
|
|
|
<Button x:Name="buttonChoose" Grid.Column="1" Content="Выбрать видео" HorizontalAlignment="Center" Grid.Row="1" VerticalAlignment="Top" Click="buttonChoose_Click"/>
|
|
|
|
<Border BorderBrush="Black" BorderThickness="1" Grid.Column="1" Grid.Row="1" Margin="0,24,0,0" >
|
|
|
|
<Image x:Name="ImageC1" Source="/Images/good.png" />
|
2024-03-13 18:06:01 +04:00
|
|
|
</Border>
|
2024-02-29 12:14:23 +04:00
|
|
|
</Grid>
|
2024-03-14 15:12:29 +04:00
|
|
|
<TextBox x:Name="textBoxTitle" HorizontalAlignment="Left" Margin="115,10,0,0" Grid.Row="1" TextWrapping="Wrap" Text="" VerticalAlignment="Top" MaxLength="30" MinWidth="120" MaxWidth="250" Grid.Column="1"/>
|
2024-03-13 17:32:23 +04:00
|
|
|
<TextBlock HorizontalAlignment="Left" Margin="10,10,0,0" Grid.Row="1" TextWrapping="Wrap" Text="Название видео" VerticalAlignment="Top" Grid.Column="1"/>
|
2024-03-14 15:12:29 +04:00
|
|
|
<TextBox x:Name="textBoxDescription" HorizontalAlignment="Left" Margin="115,38,0,0" Grid.Row="1" TextWrapping="Wrap" Text="" VerticalAlignment="Top" MaxLength="120" MinWidth="120" MaxWidth="250" Grid.Column="1"/>
|
2024-03-13 17:32:23 +04:00
|
|
|
<TextBlock HorizontalAlignment="Left" Margin="10,38,0,0" Grid.Row="1" TextWrapping="Wrap" Text="Описание видео" VerticalAlignment="Top" Grid.Column="1"/>
|
2024-03-13 17:58:41 +04:00
|
|
|
<Grid Grid.Row="1" Grid.Column="0">
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
<ColumnDefinition Width="*" />
|
|
|
|
<ColumnDefinition Width="*" />
|
|
|
|
<ColumnDefinition Width="*" />
|
|
|
|
</Grid.ColumnDefinitions>
|
2024-03-14 15:12:29 +04:00
|
|
|
<Button x:Name="buttonPause" Content="Пауза" Grid.Column="0" Click="Pause_Click"/>
|
|
|
|
<Button x:Name="buttonStart" Content="Запуск" Grid.Column="1" Command="Play"/>
|
|
|
|
<Button x:Name="buttonRestart" Content="Рестарт" Grid.Column="2" Click="Restart_Click"/>
|
2024-03-13 17:58:41 +04:00
|
|
|
</Grid>
|
2024-03-14 15:12:29 +04:00
|
|
|
<MediaElement x:Name="media" Source="Videos/nap.mp4" LoadedBehavior="Manual"/>
|
2024-02-29 12:14:23 +04:00
|
|
|
</Grid>
|
|
|
|
</Window>
|