Example #1
0
        public LiveLocationIcon()
        {
            InitializeComponent();

            Loaded += (sender, args) =>
            {
                Storyboard1.Begin();
                Storyboard2.Begin();
            };

            Unloaded += (sender, args) =>
            {
                Storyboard1.Stop();
                Storyboard2.Stop();
            };
        }
        public UploadingControl()
        {
            InitializeComponent();

            Loaded += (sender, args) =>
            {
                Storyboard1.Begin();
                Storyboard2.Begin();
                Storyboard3.Begin();
            };

            Unloaded += (sender, args) =>
            {
                Storyboard1.Stop();
                Storyboard2.Stop();
                Storyboard3.Stop();
            };
        }