Esempio n. 1
0
 public PlayerWindow()
 {
     InitializeComponent();
     PlaylistWindow = new PlaylistWindow();
     NativeWindow natRef = new NativeWindow();
     natRef.AssignHandle(this.Handle);
     PlaylistWindow.Show(natRef);
     PlaylistWindow.Visible = false;
     Rectangle ScreenBounds = Screen.FromHandle(this.Handle).Bounds;
     Program.snappingManager.bounds[IntPtr.Zero] = ScreenBounds;
     trackBar1_ValueChanged(trackBar1, null);
 }
Esempio n. 2
0
        public PlayerWindow()
        {
            InitializeComponent();
            PlaylistWindow = new PlaylistWindow();
            NativeWindow natRef = new NativeWindow();

            natRef.AssignHandle(this.Handle);
            PlaylistWindow.Show(natRef);
            PlaylistWindow.Visible = false;
            Rectangle ScreenBounds = Screen.FromHandle(this.Handle).Bounds;

            Program.snappingManager.bounds[IntPtr.Zero] = ScreenBounds;
            trackBar1_ValueChanged(trackBar1, null);
        }