|
@@ -129,6 +129,9 @@ namespace MusicPlayer
|
|
|
this.SongsTableView.Size = new System.Drawing.Size(760, 174);
|
|
this.SongsTableView.Size = new System.Drawing.Size(760, 174);
|
|
|
this.SongsTableView.TabIndex = 0;
|
|
this.SongsTableView.TabIndex = 0;
|
|
|
this.SongsTableView.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.SongsTableView_CellDoubleClick);
|
|
this.SongsTableView.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.SongsTableView_CellDoubleClick);
|
|
|
|
|
+ this.SongsTableView.MouseDown += new System.Windows.Forms.MouseEventHandler(this.SongsTableView_MouseDown);
|
|
|
|
|
+ this.SongsTableView.MouseMove += new System.Windows.Forms.MouseEventHandler(this.SongsTableView_MouseMove);
|
|
|
|
|
+ this.SongsTableView.MouseUp += new System.Windows.Forms.MouseEventHandler(this.SongsTableView_MouseUp);
|
|
|
//
|
|
//
|
|
|
// GenreListBox
|
|
// GenreListBox
|
|
|
//
|
|
//
|
|
@@ -136,7 +139,7 @@ namespace MusicPlayer
|
|
|
| System.Windows.Forms.AnchorStyles.Left)));
|
|
| System.Windows.Forms.AnchorStyles.Left)));
|
|
|
this.GenreListBox.BackColor = System.Drawing.SystemColors.Control;
|
|
this.GenreListBox.BackColor = System.Drawing.SystemColors.Control;
|
|
|
this.GenreListBox.FormattingEnabled = true;
|
|
this.GenreListBox.FormattingEnabled = true;
|
|
|
- this.GenreListBox.Location = new System.Drawing.Point(3, 3);
|
|
|
|
|
|
|
+ this.GenreListBox.Location = new System.Drawing.Point(148, 3);
|
|
|
this.GenreListBox.Name = "GenreListBox";
|
|
this.GenreListBox.Name = "GenreListBox";
|
|
|
this.GenreListBox.Size = new System.Drawing.Size(150, 121);
|
|
this.GenreListBox.Size = new System.Drawing.Size(150, 121);
|
|
|
this.GenreListBox.Sorted = true;
|
|
this.GenreListBox.Sorted = true;
|
|
@@ -149,10 +152,10 @@ namespace MusicPlayer
|
|
|
| System.Windows.Forms.AnchorStyles.Left)
|
|
| System.Windows.Forms.AnchorStyles.Left)
|
|
|
| System.Windows.Forms.AnchorStyles.Right)));
|
|
| System.Windows.Forms.AnchorStyles.Right)));
|
|
|
this.AlbumListView.BackColor = System.Drawing.SystemColors.Control;
|
|
this.AlbumListView.BackColor = System.Drawing.SystemColors.Control;
|
|
|
- this.AlbumListView.Location = new System.Drawing.Point(309, 3);
|
|
|
|
|
|
|
+ this.AlbumListView.Location = new System.Drawing.Point(460, 3);
|
|
|
this.AlbumListView.MultiSelect = false;
|
|
this.AlbumListView.MultiSelect = false;
|
|
|
this.AlbumListView.Name = "AlbumListView";
|
|
this.AlbumListView.Name = "AlbumListView";
|
|
|
- this.AlbumListView.Size = new System.Drawing.Size(451, 121);
|
|
|
|
|
|
|
+ this.AlbumListView.Size = new System.Drawing.Size(286, 121);
|
|
|
this.AlbumListView.Sorting = System.Windows.Forms.SortOrder.Ascending;
|
|
this.AlbumListView.Sorting = System.Windows.Forms.SortOrder.Ascending;
|
|
|
this.AlbumListView.TabIndex = 2;
|
|
this.AlbumListView.TabIndex = 2;
|
|
|
this.AlbumListView.TileSize = new System.Drawing.Size(140, 30);
|
|
this.AlbumListView.TileSize = new System.Drawing.Size(140, 30);
|
|
@@ -166,7 +169,7 @@ namespace MusicPlayer
|
|
|
| System.Windows.Forms.AnchorStyles.Left)));
|
|
| System.Windows.Forms.AnchorStyles.Left)));
|
|
|
this.ArtistListBox.BackColor = System.Drawing.SystemColors.Control;
|
|
this.ArtistListBox.BackColor = System.Drawing.SystemColors.Control;
|
|
|
this.ArtistListBox.FormattingEnabled = true;
|
|
this.ArtistListBox.FormattingEnabled = true;
|
|
|
- this.ArtistListBox.Location = new System.Drawing.Point(156, 3);
|
|
|
|
|
|
|
+ this.ArtistListBox.Location = new System.Drawing.Point(304, 3);
|
|
|
this.ArtistListBox.Name = "ArtistListBox";
|
|
this.ArtistListBox.Name = "ArtistListBox";
|
|
|
this.ArtistListBox.Size = new System.Drawing.Size(150, 121);
|
|
this.ArtistListBox.Size = new System.Drawing.Size(150, 121);
|
|
|
this.ArtistListBox.Sorted = true;
|
|
this.ArtistListBox.Sorted = true;
|
|
@@ -200,10 +203,10 @@ namespace MusicPlayer
|
|
|
//
|
|
//
|
|
|
// SplitContainer.Panel1
|
|
// SplitContainer.Panel1
|
|
|
//
|
|
//
|
|
|
|
|
+ this.SplitContainer.Panel1.Controls.Add(this.PlaylistBox);
|
|
|
this.SplitContainer.Panel1.Controls.Add(this.AlbumListView);
|
|
this.SplitContainer.Panel1.Controls.Add(this.AlbumListView);
|
|
|
this.SplitContainer.Panel1.Controls.Add(this.ArtistListBox);
|
|
this.SplitContainer.Panel1.Controls.Add(this.ArtistListBox);
|
|
|
this.SplitContainer.Panel1.Controls.Add(this.GenreListBox);
|
|
this.SplitContainer.Panel1.Controls.Add(this.GenreListBox);
|
|
|
- this.SplitContainer.Panel1.Controls.Add(this.PlaylistBox);
|
|
|
|
|
//
|
|
//
|
|
|
// SplitContainer.Panel2
|
|
// SplitContainer.Panel2
|
|
|
//
|
|
//
|
|
@@ -215,29 +218,28 @@ namespace MusicPlayer
|
|
|
//
|
|
//
|
|
|
// PlaylistBox
|
|
// PlaylistBox
|
|
|
//
|
|
//
|
|
|
- this.PlaylistBox.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
|
|
|
|
|
+ this.PlaylistBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
|
|
|
|
+ | System.Windows.Forms.AnchorStyles.Left)));
|
|
|
this.PlaylistBox.FormattingEnabled = true;
|
|
this.PlaylistBox.FormattingEnabled = true;
|
|
|
- this.PlaylistBox.Location = new System.Drawing.Point(0, 0);
|
|
|
|
|
|
|
+ this.PlaylistBox.Location = new System.Drawing.Point(3, 3);
|
|
|
this.PlaylistBox.Name = "PlaylistBox";
|
|
this.PlaylistBox.Name = "PlaylistBox";
|
|
|
- this.PlaylistBox.Size = new System.Drawing.Size(760, 131);
|
|
|
|
|
|
|
+ this.PlaylistBox.Size = new System.Drawing.Size(139, 121);
|
|
|
this.PlaylistBox.TabIndex = 4;
|
|
this.PlaylistBox.TabIndex = 4;
|
|
|
- this.PlaylistBox.Visible = false;
|
|
|
|
|
this.PlaylistBox.SelectedIndexChanged += new System.EventHandler(this.PlaylistBox_SelectedIndexChanged);
|
|
this.PlaylistBox.SelectedIndexChanged += new System.EventHandler(this.PlaylistBox_SelectedIndexChanged);
|
|
|
//
|
|
//
|
|
|
// PlaylistListLabel
|
|
// PlaylistListLabel
|
|
|
//
|
|
//
|
|
|
this.PlaylistListLabel.AutoSize = true;
|
|
this.PlaylistListLabel.AutoSize = true;
|
|
|
- this.PlaylistListLabel.Location = new System.Drawing.Point(12, 8);
|
|
|
|
|
|
|
+ this.PlaylistListLabel.Location = new System.Drawing.Point(12, 9);
|
|
|
this.PlaylistListLabel.Name = "PlaylistListLabel";
|
|
this.PlaylistListLabel.Name = "PlaylistListLabel";
|
|
|
this.PlaylistListLabel.Size = new System.Drawing.Size(39, 13);
|
|
this.PlaylistListLabel.Size = new System.Drawing.Size(39, 13);
|
|
|
this.PlaylistListLabel.TabIndex = 7;
|
|
this.PlaylistListLabel.TabIndex = 7;
|
|
|
this.PlaylistListLabel.Text = "Playlist";
|
|
this.PlaylistListLabel.Text = "Playlist";
|
|
|
- this.PlaylistListLabel.Visible = false;
|
|
|
|
|
//
|
|
//
|
|
|
// AlbumListLabel
|
|
// AlbumListLabel
|
|
|
//
|
|
//
|
|
|
this.AlbumListLabel.AutoSize = true;
|
|
this.AlbumListLabel.AutoSize = true;
|
|
|
- this.AlbumListLabel.Location = new System.Drawing.Point(321, 9);
|
|
|
|
|
|
|
+ this.AlbumListLabel.Location = new System.Drawing.Point(483, 8);
|
|
|
this.AlbumListLabel.Name = "AlbumListLabel";
|
|
this.AlbumListLabel.Name = "AlbumListLabel";
|
|
|
this.AlbumListLabel.Size = new System.Drawing.Size(36, 13);
|
|
this.AlbumListLabel.Size = new System.Drawing.Size(36, 13);
|
|
|
this.AlbumListLabel.TabIndex = 6;
|
|
this.AlbumListLabel.TabIndex = 6;
|
|
@@ -246,7 +248,7 @@ namespace MusicPlayer
|
|
|
// ArtistListLabel
|
|
// ArtistListLabel
|
|
|
//
|
|
//
|
|
|
this.ArtistListLabel.AutoSize = true;
|
|
this.ArtistListLabel.AutoSize = true;
|
|
|
- this.ArtistListLabel.Location = new System.Drawing.Point(165, 9);
|
|
|
|
|
|
|
+ this.ArtistListLabel.Location = new System.Drawing.Point(327, 8);
|
|
|
this.ArtistListLabel.Name = "ArtistListLabel";
|
|
this.ArtistListLabel.Name = "ArtistListLabel";
|
|
|
this.ArtistListLabel.Size = new System.Drawing.Size(30, 13);
|
|
this.ArtistListLabel.Size = new System.Drawing.Size(30, 13);
|
|
|
this.ArtistListLabel.TabIndex = 5;
|
|
this.ArtistListLabel.TabIndex = 5;
|
|
@@ -255,7 +257,7 @@ namespace MusicPlayer
|
|
|
// GenreListLabel
|
|
// GenreListLabel
|
|
|
//
|
|
//
|
|
|
this.GenreListLabel.AutoSize = true;
|
|
this.GenreListLabel.AutoSize = true;
|
|
|
- this.GenreListLabel.Location = new System.Drawing.Point(12, 9);
|
|
|
|
|
|
|
+ this.GenreListLabel.Location = new System.Drawing.Point(174, 8);
|
|
|
this.GenreListLabel.Name = "GenreListLabel";
|
|
this.GenreListLabel.Name = "GenreListLabel";
|
|
|
this.GenreListLabel.Size = new System.Drawing.Size(36, 13);
|
|
this.GenreListLabel.Size = new System.Drawing.Size(36, 13);
|
|
|
this.GenreListLabel.TabIndex = 4;
|
|
this.GenreListLabel.TabIndex = 4;
|