Exemplo n.º 1
0
        public Controls(Example1 Parent)
        {
            parent = Parent;

            InitializeComponent();

            PlayButton.Click += PlayButton_Click;
            StopButton.Click += StopButton_Click;
        }
Exemplo n.º 2
0
        public Controls(Example1 Parent)
        {
            parent = Parent;

            InitializeComponent();

            // we need the VideoView to be fully loaded before setting a MediaPlayer on it.
            parent.VideoView.Loaded += VideoView_Loaded;
            PlayButton.Click        += PlayButton_Click;
            StopButton.Click        += StopButton_Click;
        }
Exemplo n.º 3
0
        void Example1Btn_Click(object sender, RoutedEventArgs e)
        {
            var window = new Example1();

            window.Show();
        }