void init()
        {
            Width  = DeviceWidth;
            Height = DeviceHeight;

            initbar();

            //initGrid();
            initTextBlock();



            _title = new TextBlock()
            {
                Height          = 60,
                Width           = 800,
                RenderTransform = new TranslateTransform()
                {
                    X = 322, Y = 136
                },
                FontSize = 48,

                HorizontalAlignment = Windows.UI.Xaml.HorizontalAlignment.Left,
                VerticalAlignment   = Windows.UI.Xaml.VerticalAlignment.Top
            };
            Children.Add(_title);

            Background       = new SolidColorBrush(Colors.Transparent);
            ManipulationMode = ManipulationModes.All;


            borderimage1 = new AnimatedBorderImage();
            borderimage1.LoadComponent(276, 332, 250, 228, 10);
            Children.Add(borderimage1);

            borderimage2 = new AnimatedBorderImage();
            borderimage2.LoadComponent(276 + 320, 332, 250, 228, 10);
            Children.Add(borderimage2);

            borderimage3 = new AnimatedBorderImage();
            borderimage3.LoadComponent(276 + 640, 332, 250, 228, 10);
            Children.Add(borderimage3);

            borderimage1.BorderImageSelected += borderimage1_BorderImageSelected;
            borderimage1.BorderImageReleased += borderimage2_BorderImageReleased;

            borderimage2.BorderImageSelected += borderimage1_BorderImageSelected;
            borderimage2.BorderImageReleased += borderimage2_BorderImageReleased;

            borderimage3.BorderImageSelected += borderimage1_BorderImageSelected;
            borderimage3.BorderImageReleased += borderimage2_BorderImageReleased;
        }
        void init_1()
        {
            Width            = 1600.0;
            Height           = 900.0;
            Background       = new SolidColorBrush(Colors.Transparent);
            ManipulationMode = ManipulationModes.All;

            _borderimage = new AnimatedBorderImage();
            _borderimage.LoadComponent(998, 294, 374, 344, 14);
            _borderimage.BorderImageSelected += _borderimage_BorderImageSelected;
            _borderimage.BorderImageReleased += _borderimage_BorderImageReleased;
            Children.Add(_borderimage);
        }
        void init()
        {
            Width = DeviceWidth;
            Height = DeviceHeight;

            initbar();

            //initGrid();
            initTextBlock();

            

            _title = new TextBlock()
            {
                Height = 60,
                Width = 800,
                RenderTransform = new TranslateTransform() { X = 322, Y = 136 },
                FontSize = 48,

                HorizontalAlignment = Windows.UI.Xaml.HorizontalAlignment.Left,
                VerticalAlignment = Windows.UI.Xaml.VerticalAlignment.Top
            };
            Children.Add(_title);

            Background = new SolidColorBrush(Colors.Transparent);
            ManipulationMode = ManipulationModes.All;


            borderimage1 = new AnimatedBorderImage();
            borderimage1.LoadComponent(276, 332, 250, 228, 10);
            Children.Add(borderimage1);

            borderimage2 = new AnimatedBorderImage();
            borderimage2.LoadComponent(276 + 320, 332, 250, 228, 10);
            Children.Add(borderimage2);

            borderimage3 = new AnimatedBorderImage();
            borderimage3.LoadComponent(276 + 640, 332, 250, 228, 10);
            Children.Add(borderimage3);

            borderimage1.BorderImageSelected += borderimage1_BorderImageSelected;
            borderimage1.BorderImageReleased += borderimage2_BorderImageReleased;

            borderimage2.BorderImageSelected += borderimage1_BorderImageSelected;
            borderimage2.BorderImageReleased += borderimage2_BorderImageReleased;

            borderimage3.BorderImageSelected += borderimage1_BorderImageSelected;
            borderimage3.BorderImageReleased += borderimage2_BorderImageReleased;
        }
        void init_1()
        {
            Width = 1600.0;
            Height = 900.0;
            Background = new SolidColorBrush(Colors.Transparent);
            ManipulationMode = ManipulationModes.All;

            _borderimage = new AnimatedBorderImage();
            _borderimage.LoadComponent(998, 294, 374, 344, 14);
            _borderimage.BorderImageSelected += _borderimage_BorderImageSelected;
            _borderimage.BorderImageReleased += _borderimage_BorderImageReleased;
            Children.Add(_borderimage);
        }