Exemple #1
0
        public void f_active()
        {
            this.TopMost = true;
            this.Width   = app.m_player_width;
            this.Height  = app.m_player_height;
            this.Top     = (Screen.PrimaryScreen.WorkingArea.Height - app.m_player_height) / 2;
            this.Left    = (Screen.PrimaryScreen.WorkingArea.Width - app.m_player_width) / 2;


            m_media.settings.volume = 100;
            m_media.uiMode          = "none";
            m_modal.Size            = new Size(this.Width, this.Height);

            m_resize.Location = new Point(this.Width - m_resize.Width, this.Height - m_resize.Height);


            m_modal.BringToFront();

            btn_exit.Location = new Point(this.Width - (btn_exit.Width - 5), 0);
            btn_exit.BringToFront();

            m_resize.BringToFront();

            //f_play(url, title);
            isOpening = true;
        }
Exemple #2
0
 void f_brow_onBeforeBrowse()
 {
     brow_Transparent.crossThreadPerformSafely(() => brow_Transparent.BringToFront());
 }