diff options
author | sr55 <[email protected]> | 2012-04-06 22:47:52 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2012-04-06 22:47:52 +0000 |
commit | 1908ceb760de50f2be2ea874926d9c7a0c28c9f5 (patch) | |
tree | ecef7436ac005dcc3d0cd8b2bcd182af28d51878 /win/CS/HandBrakeWPF/Views | |
parent | 5c536a641808812b493d185722729ff402cbb5b7 (diff) |
WinGui: (WPF) Initial Implementation of title specific scanning.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4582 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/HandBrakeWPF/Views')
-rw-r--r-- | win/CS/HandBrakeWPF/Views/MainView.xaml | 1 | ||||
-rw-r--r-- | win/CS/HandBrakeWPF/Views/MainView.xaml.cs | 1 | ||||
-rw-r--r-- | win/CS/HandBrakeWPF/Views/TitleSpecificView.xaml | 27 | ||||
-rw-r--r-- | win/CS/HandBrakeWPF/Views/TitleSpecificView.xaml.cs | 27 |
4 files changed, 55 insertions, 1 deletions
diff --git a/win/CS/HandBrakeWPF/Views/MainView.xaml b/win/CS/HandBrakeWPF/Views/MainView.xaml index 79cc340eb..15e01502a 100644 --- a/win/CS/HandBrakeWPF/Views/MainView.xaml +++ b/win/CS/HandBrakeWPF/Views/MainView.xaml @@ -121,6 +121,7 @@ <Label Content="Source" Margin="8,0,0,0" VerticalAlignment="Center" />
</StackPanel>
</MenuItem.Header>
+
</MenuItem>
</Menu>
diff --git a/win/CS/HandBrakeWPF/Views/MainView.xaml.cs b/win/CS/HandBrakeWPF/Views/MainView.xaml.cs index 057a35a5e..165e74923 100644 --- a/win/CS/HandBrakeWPF/Views/MainView.xaml.cs +++ b/win/CS/HandBrakeWPF/Views/MainView.xaml.cs @@ -9,7 +9,6 @@ namespace HandBrakeWPF.Views
{
- using System;
using System.Windows;
/// <summary>
diff --git a/win/CS/HandBrakeWPF/Views/TitleSpecificView.xaml b/win/CS/HandBrakeWPF/Views/TitleSpecificView.xaml new file mode 100644 index 000000000..4cb13468b --- /dev/null +++ b/win/CS/HandBrakeWPF/Views/TitleSpecificView.xaml @@ -0,0 +1,27 @@ +<Window x:Class="HandBrakeWPF.Views.TitleSpecificView"
+ 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:NumericUpDown="clr-namespace:EagleBoost.Wpf.Presentation.Controls.NumericUpDown;assembly=EagleBoost.Wpf.Presentation"
+ xmlns:cal="http://www.caliburnproject.org" mc:Ignorable="d" Title="Scan Title"
+ Width="210" Height="130"
+ >
+ <Grid Margin="10">
+ <Grid.RowDefinitions>
+ <RowDefinition Height="Auto" />
+ <RowDefinition Height="Auto" />
+ </Grid.RowDefinitions>
+
+ <StackPanel Orientation="Horizontal" Grid.Row="0" Margin="0,10,0,10">
+ <TextBlock Text="Scan title number:" />
+ <NumericUpDown:NumericUpDown Value="{Binding SelectedTitle, Mode=TwoWay}" Minimum="0" Maximum="1000" Width="60" Margin="10,0,0,0" />
+ </StackPanel>
+
+ <StackPanel Orientation="Horizontal" Grid.Row="1" HorizontalAlignment="Right">
+ <Button Name="Cancel" Content="Cancel" cal:Message.Attach="[Event Click] = [Action Cancel]" Margin="0,0,10,0" />
+ <Button Name="OpenTitle" Content="Open Title" cal:Message.Attach="[Event Click] = [Action Open]" />
+ </StackPanel>
+
+ </Grid>
+</Window>
diff --git a/win/CS/HandBrakeWPF/Views/TitleSpecificView.xaml.cs b/win/CS/HandBrakeWPF/Views/TitleSpecificView.xaml.cs new file mode 100644 index 000000000..1f60792be --- /dev/null +++ b/win/CS/HandBrakeWPF/Views/TitleSpecificView.xaml.cs @@ -0,0 +1,27 @@ +// --------------------------------------------------------------------------------------------------------------------
+// <copyright file="TitleSpecificView.xaml.cs" company="HandBrake Project (http://handbrake.fr)">
+// This file is part of the HandBrake source code - It may be used under the terms of the GNU General Public License.
+// </copyright>
+// <summary>
+// Interaction logic for TitleSpecificView.xaml
+// </summary>
+// --------------------------------------------------------------------------------------------------------------------
+
+namespace HandBrakeWPF.Views
+{
+ using System.Windows;
+
+ /// <summary>
+ /// Interaction logic for TitleSpecific.xaml
+ /// </summary>
+ public partial class TitleSpecificView : Window
+ {
+ /// <summary>
+ /// Initializes a new instance of the <see cref="TitleSpecificView"/> class.
+ /// </summary>
+ public TitleSpecificView()
+ {
+ this.InitializeComponent();
+ }
+ }
+}
|