diff --git a/WPFCatalog/App.xaml b/WPFCatalog/App.xaml index b17e4a8..33082dc 100644 --- a/WPFCatalog/App.xaml +++ b/WPFCatalog/App.xaml @@ -1,5 +1,20 @@ - + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/WPFCatalog/Controls/GeneralSettingsControl.xaml b/WPFCatalog/Controls/GeneralSettingsControl.xaml new file mode 100644 index 0000000..337df08 --- /dev/null +++ b/WPFCatalog/Controls/GeneralSettingsControl.xaml @@ -0,0 +1,155 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/WPFCatalog/Controls/GeneralSettingsControl.xaml.cs b/WPFCatalog/Controls/GeneralSettingsControl.xaml.cs new file mode 100644 index 0000000..af3e0aa --- /dev/null +++ b/WPFCatalog/Controls/GeneralSettingsControl.xaml.cs @@ -0,0 +1,28 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows; +using System.Windows.Controls; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Input; +using System.Windows.Media; +using System.Windows.Media.Imaging; +using System.Windows.Navigation; +using System.Windows.Shapes; + +namespace WPFCatalog.Controls +{ + /// + /// Interaction logic for GeneralSettingsControl.xaml + /// + public partial class GeneralSettingsControl : UserControl + { + public GeneralSettingsControl() + { + InitializeComponent(); + } + } +} diff --git a/WPFCatalog/Controls/TextSettingsControl.xaml b/WPFCatalog/Controls/TextSettingsControl.xaml new file mode 100644 index 0000000..530d830 --- /dev/null +++ b/WPFCatalog/Controls/TextSettingsControl.xaml @@ -0,0 +1,166 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/WPFCatalog/Controls/TextSettingsControl.xaml.cs b/WPFCatalog/Controls/TextSettingsControl.xaml.cs new file mode 100644 index 0000000..2c29c51 --- /dev/null +++ b/WPFCatalog/Controls/TextSettingsControl.xaml.cs @@ -0,0 +1,28 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows; +using System.Windows.Controls; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Input; +using System.Windows.Media; +using System.Windows.Media.Imaging; +using System.Windows.Navigation; +using System.Windows.Shapes; + +namespace WPFCatalog.Controls +{ + /// + /// Interaction logic for TextSettingsControl.xaml + /// + public partial class TextSettingsControl : UserControl + { + public TextSettingsControl() + { + InitializeComponent(); + } + } +} diff --git a/WPFCatalog/Converters/MaddoColorConverter.cs b/WPFCatalog/Converters/MaddoColorConverter.cs index d26a440..2248484 100644 --- a/WPFCatalog/Converters/MaddoColorConverter.cs +++ b/WPFCatalog/Converters/MaddoColorConverter.cs @@ -14,7 +14,7 @@ namespace WPFCatalog { public class MaddoColorConverter : IValueConverter { - private DependencyObject _dummy = new DependencyObject(); + private static readonly DependencyObject _dummy = new DependencyObject(); public object Convert(object value, Type targetType, object parameter, CultureInfo culture) { diff --git a/WPFCatalog/MainWindow.xaml b/WPFCatalog/MainWindow.xaml index d13b68f..bb589ae 100644 --- a/WPFCatalog/MainWindow.xaml +++ b/WPFCatalog/MainWindow.xaml @@ -1,10 +1,13 @@ - - - + - - - - - - - - - + + + + + + + + + + - - - - - - - - - + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + - - - - - - - - - - - - - - - - - - - - - + + + + + + + - - - - - - - - - - - - - - + + + + + - - - - + + + + - - - - + + - + + + + + + + + + + + - + + + - - - + + + + + + + + + + + + + + + + + + + + + + + +