diff --git a/MPF/UserControls/UserInput.xaml b/MPF/UserControls/UserInput.xaml new file mode 100644 index 00000000..e7797b8c --- /dev/null +++ b/MPF/UserControls/UserInput.xaml @@ -0,0 +1,18 @@ + + + + + + + + + diff --git a/MPF/UserControls/UserInput.xaml.cs b/MPF/UserControls/UserInput.xaml.cs new file mode 100644 index 00000000..9ed92778 --- /dev/null +++ b/MPF/UserControls/UserInput.xaml.cs @@ -0,0 +1,20 @@ +using System.Windows.Controls; + +namespace MPF.UserControls +{ + /// + /// Interaction logic for UserInput.xaml + /// + public partial class UserInput : UserControl + { + public string Label { get; set; } + public string Text { get; set; } + public bool Tab { get; set; } = false; + + public UserInput() + { + InitializeComponent(); + DataContext = this; + } + } +} diff --git a/MPF/Windows/DiscInformationWindow.xaml b/MPF/Windows/DiscInformationWindow.xaml index 7a070cfb..51d47464 100644 --- a/MPF/Windows/DiscInformationWindow.xaml +++ b/MPF/Windows/DiscInformationWindow.xaml @@ -4,6 +4,7 @@ xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:local="clr-namespace:MPF" + xmlns:controls="clr-namespace:MPF.UserControls" mc:Ignorable="d" Title="Disc Information" Height="733" Width="515.132" ResizeMode="NoResize" Closed="OnClosed"> @@ -47,17 +48,10 @@ -