Interaction logic for WindowColorPicker.xaml
Inheritance: System.Windows.Window
        public UcColorPreview(Color color)
        {
            InitializeComponent();

            Color = color;

            BorderColor_Main.MouseDown += (sender, args) =>
            {
                var dialog = new WindowColorPicker(Owner, Color);
                dialog.ShowDialog();
                if (dialog.Saved)
                {
                    Color = dialog.Color;
                }
            };
        }
        public UcColorPreview(Color color)
        {
            InitializeComponent();

            Color = color;

            BorderColor_Main.MouseDown += (sender, args) =>
            {
                var dialog = new WindowColorPicker(Owner, Color);
                dialog.ShowDialog();
                if (dialog.Saved)
                {
                    Color = dialog.Color;
                }
            };
        }