Ejemplo 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);
 }
Ejemplo 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);
        }