MainForm.Designer.cs 42 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759
  1. using System;
  2. namespace MusicPlayer
  3. {
  4. partial class MainForm
  5. {
  6. /// <summary>
  7. /// Required designer variable.
  8. /// </summary>
  9. private System.ComponentModel.IContainer components = null;
  10. /// <summary>
  11. /// Clean up any resources being used.
  12. /// </summary>
  13. /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
  14. protected override void Dispose(bool disposing)
  15. {
  16. if (disposing && (components != null))
  17. {
  18. components.Dispose();
  19. }
  20. base.Dispose(disposing);
  21. }
  22. #region Windows Form Designer generated code
  23. bool clicked = false;
  24. /// <summary>
  25. /// Required method for Designer support - do not modify
  26. /// the contents of this method with the code editor.
  27. /// </summary>
  28. private void InitializeComponent()
  29. {
  30. this.components = new System.ComponentModel.Container();
  31. System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
  32. System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm));
  33. this.SongsTableView = new System.Windows.Forms.DataGridView();
  34. this.GenreListBox = new System.Windows.Forms.ListBox();
  35. this.AlbumListView = new System.Windows.Forms.ListView();
  36. this.ArtistListBox = new System.Windows.Forms.ListBox();
  37. this.MainPanel = new System.Windows.Forms.Panel();
  38. this.SplitContainer = new System.Windows.Forms.SplitContainer();
  39. this.PlaylistBox = new System.Windows.Forms.ListBox();
  40. this.PlaylistListLabel = new System.Windows.Forms.Label();
  41. this.AlbumListLabel = new System.Windows.Forms.Label();
  42. this.ArtistListLabel = new System.Windows.Forms.Label();
  43. this.GenreListLabel = new System.Windows.Forms.Label();
  44. this.MenuStrip = new System.Windows.Forms.MenuStrip();
  45. this.fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
  46. this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
  47. this.exitToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
  48. this.viewToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
  49. this.overviewToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
  50. this.playlistsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
  51. this.toolStripSeparator4 = new System.Windows.Forms.ToolStripSeparator();
  52. this.ViewCurrentPlaylistButton = new System.Windows.Forms.ToolStripMenuItem();
  53. this.playbackToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
  54. this.PlayNextSongButton = new System.Windows.Forms.ToolStripMenuItem();
  55. this.LoopSongButton = new System.Windows.Forms.ToolStripMenuItem();
  56. this.ShuffleSongButton = new System.Windows.Forms.ToolStripMenuItem();
  57. this.playlistToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
  58. this.makeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
  59. this.searchToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
  60. this.SearchGenresToolStripLabel = new System.Windows.Forms.ToolStripMenuItem();
  61. this.SearchGenresTextBox = new System.Windows.Forms.ToolStripTextBox();
  62. this.ClearGenreSearchButton = new System.Windows.Forms.ToolStripMenuItem();
  63. this.SearchArtistToolStripLabel = new System.Windows.Forms.ToolStripMenuItem();
  64. this.SearchArtistsTextBox = new System.Windows.Forms.ToolStripTextBox();
  65. this.ClearArtistSearchButton = new System.Windows.Forms.ToolStripMenuItem();
  66. this.ControlsPanel = new System.Windows.Forms.Panel();
  67. this.NextButton = new System.Windows.Forms.Button();
  68. this.PreviousButton = new System.Windows.Forms.Button();
  69. this.CurrentSongLabel = new System.Windows.Forms.Label();
  70. this.LabelTotalTime = new System.Windows.Forms.Label();
  71. this.LabelCurrentTime = new System.Windows.Forms.Label();
  72. this.PositionTrackBar = new System.Windows.Forms.TrackBar();
  73. this.BufferLabel = new System.Windows.Forms.Label();
  74. this.BufferBar = new System.Windows.Forms.ProgressBar();
  75. this.StopButton = new System.Windows.Forms.Button();
  76. this.PauseButton = new System.Windows.Forms.Button();
  77. this.PlayButton = new System.Windows.Forms.Button();
  78. this.UpdateTimer = new System.Windows.Forms.Timer(this.components);
  79. this.NotifyIcon = new System.Windows.Forms.NotifyIcon(this.components);
  80. this.NotifyMenuStrip = new System.Windows.Forms.ContextMenuStrip(this.components);
  81. this.NotifyMenuStripPlayingLabel = new System.Windows.Forms.ToolStripMenuItem();
  82. this.NotifyMenuStripPlayingSongLabel = new System.Windows.Forms.ToolStripMenuItem();
  83. this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
  84. this.NotifyMenuStripPlayButton = new System.Windows.Forms.ToolStripMenuItem();
  85. this.NotifyMenuStripPauseButton = new System.Windows.Forms.ToolStripMenuItem();
  86. this.NotifyMenuStripStopButton = new System.Windows.Forms.ToolStripMenuItem();
  87. this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator();
  88. this.NotifyMenuStripNextButton = new System.Windows.Forms.ToolStripMenuItem();
  89. this.NotifyMenuStripPreviousButton = new System.Windows.Forms.ToolStripMenuItem();
  90. ((System.ComponentModel.ISupportInitialize)(this.SongsTableView)).BeginInit();
  91. this.MainPanel.SuspendLayout();
  92. ((System.ComponentModel.ISupportInitialize)(this.SplitContainer)).BeginInit();
  93. this.SplitContainer.Panel1.SuspendLayout();
  94. this.SplitContainer.Panel2.SuspendLayout();
  95. this.SplitContainer.SuspendLayout();
  96. this.MenuStrip.SuspendLayout();
  97. this.ControlsPanel.SuspendLayout();
  98. ((System.ComponentModel.ISupportInitialize)(this.PositionTrackBar)).BeginInit();
  99. this.NotifyMenuStrip.SuspendLayout();
  100. this.SuspendLayout();
  101. //
  102. // SongsTableView
  103. //
  104. this.SongsTableView.AllowUserToAddRows = false;
  105. this.SongsTableView.AllowUserToDeleteRows = false;
  106. this.SongsTableView.AllowUserToResizeRows = false;
  107. this.SongsTableView.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
  108. this.SongsTableView.BackgroundColor = System.Drawing.SystemColors.Control;
  109. dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
  110. dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.ControlLight;
  111. dataGridViewCellStyle1.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
  112. dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.WindowText;
  113. dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
  114. dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
  115. dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
  116. this.SongsTableView.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1;
  117. this.SongsTableView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
  118. this.SongsTableView.Dock = System.Windows.Forms.DockStyle.Fill;
  119. this.SongsTableView.Location = new System.Drawing.Point(0, 0);
  120. this.SongsTableView.MultiSelect = false;
  121. this.SongsTableView.Name = "SongsTableView";
  122. this.SongsTableView.ReadOnly = true;
  123. this.SongsTableView.RowHeadersVisible = false;
  124. this.SongsTableView.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
  125. this.SongsTableView.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
  126. this.SongsTableView.Size = new System.Drawing.Size(760, 174);
  127. this.SongsTableView.TabIndex = 0;
  128. this.SongsTableView.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.SongsTableView_CellDoubleClick);
  129. //
  130. // GenreListBox
  131. //
  132. this.GenreListBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
  133. | System.Windows.Forms.AnchorStyles.Left)));
  134. this.GenreListBox.BackColor = System.Drawing.SystemColors.Control;
  135. this.GenreListBox.FormattingEnabled = true;
  136. this.GenreListBox.Location = new System.Drawing.Point(3, 3);
  137. this.GenreListBox.Name = "GenreListBox";
  138. this.GenreListBox.Size = new System.Drawing.Size(150, 121);
  139. this.GenreListBox.Sorted = true;
  140. this.GenreListBox.TabIndex = 1;
  141. this.GenreListBox.SelectedIndexChanged += new System.EventHandler(this.GenreListBox_SelectedIndexChanged);
  142. //
  143. // AlbumListView
  144. //
  145. this.AlbumListView.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
  146. | System.Windows.Forms.AnchorStyles.Left)
  147. | System.Windows.Forms.AnchorStyles.Right)));
  148. this.AlbumListView.BackColor = System.Drawing.SystemColors.Control;
  149. this.AlbumListView.Location = new System.Drawing.Point(309, 3);
  150. this.AlbumListView.MultiSelect = false;
  151. this.AlbumListView.Name = "AlbumListView";
  152. this.AlbumListView.Size = new System.Drawing.Size(451, 121);
  153. this.AlbumListView.Sorting = System.Windows.Forms.SortOrder.Ascending;
  154. this.AlbumListView.TabIndex = 2;
  155. this.AlbumListView.TileSize = new System.Drawing.Size(140, 30);
  156. this.AlbumListView.UseCompatibleStateImageBehavior = false;
  157. this.AlbumListView.View = System.Windows.Forms.View.Tile;
  158. this.AlbumListView.SelectedIndexChanged += new System.EventHandler(this.AlbumListView_SelectedIndexChanged);
  159. //
  160. // ArtistListBox
  161. //
  162. this.ArtistListBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
  163. | System.Windows.Forms.AnchorStyles.Left)));
  164. this.ArtistListBox.BackColor = System.Drawing.SystemColors.Control;
  165. this.ArtistListBox.FormattingEnabled = true;
  166. this.ArtistListBox.Location = new System.Drawing.Point(156, 3);
  167. this.ArtistListBox.Name = "ArtistListBox";
  168. this.ArtistListBox.Size = new System.Drawing.Size(150, 121);
  169. this.ArtistListBox.Sorted = true;
  170. this.ArtistListBox.TabIndex = 3;
  171. this.ArtistListBox.SelectedIndexChanged += new System.EventHandler(this.ArtistListBox_SelectedIndexChanged);
  172. //
  173. // MainPanel
  174. //
  175. this.MainPanel.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
  176. | System.Windows.Forms.AnchorStyles.Left)
  177. | System.Windows.Forms.AnchorStyles.Right)));
  178. this.MainPanel.BackColor = System.Drawing.SystemColors.Window;
  179. this.MainPanel.Controls.Add(this.SplitContainer);
  180. this.MainPanel.Controls.Add(this.PlaylistListLabel);
  181. this.MainPanel.Controls.Add(this.AlbumListLabel);
  182. this.MainPanel.Controls.Add(this.ArtistListLabel);
  183. this.MainPanel.Controls.Add(this.GenreListLabel);
  184. this.MainPanel.Location = new System.Drawing.Point(0, 24);
  185. this.MainPanel.Name = "MainPanel";
  186. this.MainPanel.Size = new System.Drawing.Size(784, 351);
  187. this.MainPanel.TabIndex = 5;
  188. //
  189. // SplitContainer
  190. //
  191. this.SplitContainer.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
  192. | System.Windows.Forms.AnchorStyles.Left)
  193. | System.Windows.Forms.AnchorStyles.Right)));
  194. this.SplitContainer.Location = new System.Drawing.Point(12, 25);
  195. this.SplitContainer.Name = "SplitContainer";
  196. this.SplitContainer.Orientation = System.Windows.Forms.Orientation.Horizontal;
  197. //
  198. // SplitContainer.Panel1
  199. //
  200. this.SplitContainer.Panel1.Controls.Add(this.AlbumListView);
  201. this.SplitContainer.Panel1.Controls.Add(this.ArtistListBox);
  202. this.SplitContainer.Panel1.Controls.Add(this.GenreListBox);
  203. this.SplitContainer.Panel1.Controls.Add(this.PlaylistBox);
  204. //
  205. // SplitContainer.Panel2
  206. //
  207. this.SplitContainer.Panel2.Controls.Add(this.SongsTableView);
  208. this.SplitContainer.Size = new System.Drawing.Size(760, 313);
  209. this.SplitContainer.SplitterDistance = 131;
  210. this.SplitContainer.SplitterWidth = 8;
  211. this.SplitContainer.TabIndex = 9;
  212. //
  213. // PlaylistBox
  214. //
  215. this.PlaylistBox.Dock = System.Windows.Forms.DockStyle.Fill;
  216. this.PlaylistBox.FormattingEnabled = true;
  217. this.PlaylistBox.Location = new System.Drawing.Point(0, 0);
  218. this.PlaylistBox.Name = "PlaylistBox";
  219. this.PlaylistBox.Size = new System.Drawing.Size(760, 131);
  220. this.PlaylistBox.TabIndex = 4;
  221. this.PlaylistBox.Visible = false;
  222. this.PlaylistBox.SelectedIndexChanged += new System.EventHandler(this.PlaylistBox_SelectedIndexChanged);
  223. //
  224. // PlaylistListLabel
  225. //
  226. this.PlaylistListLabel.AutoSize = true;
  227. this.PlaylistListLabel.Location = new System.Drawing.Point(12, 8);
  228. this.PlaylistListLabel.Name = "PlaylistListLabel";
  229. this.PlaylistListLabel.Size = new System.Drawing.Size(39, 13);
  230. this.PlaylistListLabel.TabIndex = 7;
  231. this.PlaylistListLabel.Text = "Playlist";
  232. this.PlaylistListLabel.Visible = false;
  233. //
  234. // AlbumListLabel
  235. //
  236. this.AlbumListLabel.AutoSize = true;
  237. this.AlbumListLabel.Location = new System.Drawing.Point(321, 9);
  238. this.AlbumListLabel.Name = "AlbumListLabel";
  239. this.AlbumListLabel.Size = new System.Drawing.Size(36, 13);
  240. this.AlbumListLabel.TabIndex = 6;
  241. this.AlbumListLabel.Text = "Album";
  242. //
  243. // ArtistListLabel
  244. //
  245. this.ArtistListLabel.AutoSize = true;
  246. this.ArtistListLabel.Location = new System.Drawing.Point(165, 9);
  247. this.ArtistListLabel.Name = "ArtistListLabel";
  248. this.ArtistListLabel.Size = new System.Drawing.Size(30, 13);
  249. this.ArtistListLabel.TabIndex = 5;
  250. this.ArtistListLabel.Text = "Artist";
  251. //
  252. // GenreListLabel
  253. //
  254. this.GenreListLabel.AutoSize = true;
  255. this.GenreListLabel.Location = new System.Drawing.Point(12, 9);
  256. this.GenreListLabel.Name = "GenreListLabel";
  257. this.GenreListLabel.Size = new System.Drawing.Size(36, 13);
  258. this.GenreListLabel.TabIndex = 4;
  259. this.GenreListLabel.Text = "Genre";
  260. //
  261. // MenuStrip
  262. //
  263. this.MenuStrip.BackColor = System.Drawing.SystemColors.WindowFrame;
  264. this.MenuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
  265. this.fileToolStripMenuItem,
  266. this.viewToolStripMenuItem,
  267. this.playbackToolStripMenuItem,
  268. this.playlistToolStripMenuItem,
  269. this.searchToolStripMenuItem});
  270. this.MenuStrip.Location = new System.Drawing.Point(0, 0);
  271. this.MenuStrip.Name = "MenuStrip";
  272. this.MenuStrip.Size = new System.Drawing.Size(784, 24);
  273. this.MenuStrip.TabIndex = 6;
  274. this.MenuStrip.Text = "Menu";
  275. //
  276. // fileToolStripMenuItem
  277. //
  278. this.fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
  279. this.toolStripSeparator1,
  280. this.exitToolStripMenuItem});
  281. this.fileToolStripMenuItem.Name = "fileToolStripMenuItem";
  282. this.fileToolStripMenuItem.Size = new System.Drawing.Size(37, 20);
  283. this.fileToolStripMenuItem.Text = "File";
  284. //
  285. // toolStripSeparator1
  286. //
  287. this.toolStripSeparator1.Name = "toolStripSeparator1";
  288. this.toolStripSeparator1.Size = new System.Drawing.Size(89, 6);
  289. //
  290. // exitToolStripMenuItem
  291. //
  292. this.exitToolStripMenuItem.Name = "exitToolStripMenuItem";
  293. this.exitToolStripMenuItem.Size = new System.Drawing.Size(92, 22);
  294. this.exitToolStripMenuItem.Text = "Exit";
  295. this.exitToolStripMenuItem.Click += new System.EventHandler(this.exitToolStripMenuItem_Click);
  296. //
  297. // viewToolStripMenuItem
  298. //
  299. this.viewToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
  300. this.overviewToolStripMenuItem,
  301. this.playlistsToolStripMenuItem,
  302. this.toolStripSeparator4,
  303. this.ViewCurrentPlaylistButton});
  304. this.viewToolStripMenuItem.Name = "viewToolStripMenuItem";
  305. this.viewToolStripMenuItem.Size = new System.Drawing.Size(44, 20);
  306. this.viewToolStripMenuItem.Text = "View";
  307. //
  308. // overviewToolStripMenuItem
  309. //
  310. this.overviewToolStripMenuItem.Name = "overviewToolStripMenuItem";
  311. this.overviewToolStripMenuItem.Size = new System.Drawing.Size(154, 22);
  312. this.overviewToolStripMenuItem.Text = "Overview";
  313. this.overviewToolStripMenuItem.Click += new System.EventHandler(this.overviewToolStripMenuItem_Click);
  314. //
  315. // playlistsToolStripMenuItem
  316. //
  317. this.playlistsToolStripMenuItem.Name = "playlistsToolStripMenuItem";
  318. this.playlistsToolStripMenuItem.Size = new System.Drawing.Size(154, 22);
  319. this.playlistsToolStripMenuItem.Text = "Playlists";
  320. this.playlistsToolStripMenuItem.Click += new System.EventHandler(this.playlistsToolStripMenuItem_Click);
  321. //
  322. // toolStripSeparator4
  323. //
  324. this.toolStripSeparator4.Name = "toolStripSeparator4";
  325. this.toolStripSeparator4.Size = new System.Drawing.Size(151, 6);
  326. //
  327. // ViewCurrentPlaylistButton
  328. //
  329. this.ViewCurrentPlaylistButton.Name = "ViewCurrentPlaylistButton";
  330. this.ViewCurrentPlaylistButton.Size = new System.Drawing.Size(154, 22);
  331. this.ViewCurrentPlaylistButton.Text = "Current Playlist";
  332. this.ViewCurrentPlaylistButton.Click += new System.EventHandler(this.ViewCurrentPlaylistButton_Click);
  333. //
  334. // playbackToolStripMenuItem
  335. //
  336. this.playbackToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
  337. this.PlayNextSongButton,
  338. this.LoopSongButton,
  339. this.ShuffleSongButton});
  340. this.playbackToolStripMenuItem.Name = "playbackToolStripMenuItem";
  341. this.playbackToolStripMenuItem.Size = new System.Drawing.Size(66, 20);
  342. this.playbackToolStripMenuItem.Text = "Playback";
  343. //
  344. // PlayNextSongButton
  345. //
  346. this.PlayNextSongButton.Checked = true;
  347. this.PlayNextSongButton.CheckOnClick = true;
  348. this.PlayNextSongButton.CheckState = System.Windows.Forms.CheckState.Checked;
  349. this.PlayNextSongButton.Name = "PlayNextSongButton";
  350. this.PlayNextSongButton.Size = new System.Drawing.Size(123, 22);
  351. this.PlayNextSongButton.Text = "Play Next";
  352. //
  353. // LoopSongButton
  354. //
  355. this.LoopSongButton.Checked = true;
  356. this.LoopSongButton.CheckOnClick = true;
  357. this.LoopSongButton.CheckState = System.Windows.Forms.CheckState.Checked;
  358. this.LoopSongButton.Name = "LoopSongButton";
  359. this.LoopSongButton.Size = new System.Drawing.Size(123, 22);
  360. this.LoopSongButton.Text = "Loop";
  361. //
  362. // ShuffleSongButton
  363. //
  364. this.ShuffleSongButton.CheckOnClick = true;
  365. this.ShuffleSongButton.Enabled = false;
  366. this.ShuffleSongButton.Name = "ShuffleSongButton";
  367. this.ShuffleSongButton.Size = new System.Drawing.Size(123, 22);
  368. this.ShuffleSongButton.Text = "Shuffle";
  369. //
  370. // playlistToolStripMenuItem
  371. //
  372. this.playlistToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
  373. this.makeToolStripMenuItem});
  374. this.playlistToolStripMenuItem.Name = "playlistToolStripMenuItem";
  375. this.playlistToolStripMenuItem.Size = new System.Drawing.Size(56, 20);
  376. this.playlistToolStripMenuItem.Text = "Playlist";
  377. //
  378. // makeToolStripMenuItem
  379. //
  380. this.makeToolStripMenuItem.Name = "makeToolStripMenuItem";
  381. this.makeToolStripMenuItem.Size = new System.Drawing.Size(139, 22);
  382. this.makeToolStripMenuItem.Text = "Create / Edit";
  383. this.makeToolStripMenuItem.Click += new System.EventHandler(this.makeToolStripMenuItem_Click);
  384. //
  385. // searchToolStripMenuItem
  386. //
  387. this.searchToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
  388. this.SearchGenresToolStripLabel,
  389. this.SearchArtistToolStripLabel});
  390. this.searchToolStripMenuItem.Name = "searchToolStripMenuItem";
  391. this.searchToolStripMenuItem.Size = new System.Drawing.Size(54, 20);
  392. this.searchToolStripMenuItem.Text = "Search";
  393. //
  394. // SearchGenresToolStripLabel
  395. //
  396. this.SearchGenresToolStripLabel.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
  397. this.SearchGenresTextBox,
  398. this.ClearGenreSearchButton});
  399. this.SearchGenresToolStripLabel.Name = "SearchGenresToolStripLabel";
  400. this.SearchGenresToolStripLabel.Size = new System.Drawing.Size(110, 22);
  401. this.SearchGenresToolStripLabel.Text = "Genres";
  402. //
  403. // SearchGenresTextBox
  404. //
  405. this.SearchGenresTextBox.Name = "SearchGenresTextBox";
  406. this.SearchGenresTextBox.Size = new System.Drawing.Size(100, 23);
  407. this.SearchGenresTextBox.KeyUp += new System.Windows.Forms.KeyEventHandler(this.SearchGenresTextBox_KeyUp);
  408. //
  409. // ClearGenreSearchButton
  410. //
  411. this.ClearGenreSearchButton.Enabled = false;
  412. this.ClearGenreSearchButton.Name = "ClearGenreSearchButton";
  413. this.ClearGenreSearchButton.Size = new System.Drawing.Size(160, 22);
  414. this.ClearGenreSearchButton.Text = "Clear Search";
  415. this.ClearGenreSearchButton.Click += new System.EventHandler(this.ClearGenreSearchButton_Click);
  416. //
  417. // SearchArtistToolStripLabel
  418. //
  419. this.SearchArtistToolStripLabel.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
  420. this.SearchArtistsTextBox,
  421. this.ClearArtistSearchButton});
  422. this.SearchArtistToolStripLabel.Name = "SearchArtistToolStripLabel";
  423. this.SearchArtistToolStripLabel.Size = new System.Drawing.Size(110, 22);
  424. this.SearchArtistToolStripLabel.Text = "Artists";
  425. //
  426. // SearchArtistsTextBox
  427. //
  428. this.SearchArtistsTextBox.Name = "SearchArtistsTextBox";
  429. this.SearchArtistsTextBox.Size = new System.Drawing.Size(100, 23);
  430. this.SearchArtistsTextBox.KeyUp += new System.Windows.Forms.KeyEventHandler(this.SearchArtistsTextBox_KeyUp);
  431. //
  432. // ClearArtistSearchButton
  433. //
  434. this.ClearArtistSearchButton.Enabled = false;
  435. this.ClearArtistSearchButton.Name = "ClearArtistSearchButton";
  436. this.ClearArtistSearchButton.Size = new System.Drawing.Size(160, 22);
  437. this.ClearArtistSearchButton.Text = "Clear Search";
  438. this.ClearArtistSearchButton.Click += new System.EventHandler(this.ClearArtistSearchButton_Click);
  439. //
  440. // ControlsPanel
  441. //
  442. this.ControlsPanel.BackColor = System.Drawing.SystemColors.WindowFrame;
  443. this.ControlsPanel.Controls.Add(this.NextButton);
  444. this.ControlsPanel.Controls.Add(this.PreviousButton);
  445. this.ControlsPanel.Controls.Add(this.CurrentSongLabel);
  446. this.ControlsPanel.Controls.Add(this.LabelTotalTime);
  447. this.ControlsPanel.Controls.Add(this.LabelCurrentTime);
  448. this.ControlsPanel.Controls.Add(this.PositionTrackBar);
  449. this.ControlsPanel.Controls.Add(this.BufferLabel);
  450. this.ControlsPanel.Controls.Add(this.BufferBar);
  451. this.ControlsPanel.Controls.Add(this.StopButton);
  452. this.ControlsPanel.Controls.Add(this.PauseButton);
  453. this.ControlsPanel.Controls.Add(this.PlayButton);
  454. this.ControlsPanel.Dock = System.Windows.Forms.DockStyle.Bottom;
  455. this.ControlsPanel.Location = new System.Drawing.Point(0, 378);
  456. this.ControlsPanel.Name = "ControlsPanel";
  457. this.ControlsPanel.Size = new System.Drawing.Size(784, 83);
  458. this.ControlsPanel.TabIndex = 4;
  459. //
  460. // NextButton
  461. //
  462. this.NextButton.Location = new System.Drawing.Point(214, 51);
  463. this.NextButton.Name = "NextButton";
  464. this.NextButton.Size = new System.Drawing.Size(31, 23);
  465. this.NextButton.TabIndex = 13;
  466. this.NextButton.Text = ">";
  467. this.NextButton.UseVisualStyleBackColor = true;
  468. this.NextButton.Click += new System.EventHandler(this.NextButton_Click);
  469. //
  470. // PreviousButton
  471. //
  472. this.PreviousButton.Location = new System.Drawing.Point(177, 51);
  473. this.PreviousButton.Name = "PreviousButton";
  474. this.PreviousButton.Size = new System.Drawing.Size(31, 23);
  475. this.PreviousButton.TabIndex = 12;
  476. this.PreviousButton.Text = "<";
  477. this.PreviousButton.UseVisualStyleBackColor = true;
  478. this.PreviousButton.Click += new System.EventHandler(this.PreviousButton_Click);
  479. //
  480. // CurrentSongLabel
  481. //
  482. this.CurrentSongLabel.AutoSize = true;
  483. this.CurrentSongLabel.Location = new System.Drawing.Point(256, 56);
  484. this.CurrentSongLabel.Name = "CurrentSongLabel";
  485. this.CurrentSongLabel.Size = new System.Drawing.Size(111, 13);
  486. this.CurrentSongLabel.TabIndex = 11;
  487. this.CurrentSongLabel.Text = "Not playing any songs";
  488. //
  489. // LabelTotalTime
  490. //
  491. this.LabelTotalTime.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
  492. this.LabelTotalTime.AutoSize = true;
  493. this.LabelTotalTime.Location = new System.Drawing.Point(723, 26);
  494. this.LabelTotalTime.Name = "LabelTotalTime";
  495. this.LabelTotalTime.Size = new System.Drawing.Size(49, 13);
  496. this.LabelTotalTime.TabIndex = 9;
  497. this.LabelTotalTime.Text = "00:00:00";
  498. //
  499. // LabelCurrentTime
  500. //
  501. this.LabelCurrentTime.AutoSize = true;
  502. this.LabelCurrentTime.Location = new System.Drawing.Point(12, 26);
  503. this.LabelCurrentTime.Name = "LabelCurrentTime";
  504. this.LabelCurrentTime.Size = new System.Drawing.Size(49, 13);
  505. this.LabelCurrentTime.TabIndex = 8;
  506. this.LabelCurrentTime.Text = "00:00:00";
  507. //
  508. // PositionTrackBar
  509. //
  510. this.PositionTrackBar.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
  511. | System.Windows.Forms.AnchorStyles.Right)));
  512. this.PositionTrackBar.Enabled = false;
  513. this.PositionTrackBar.Location = new System.Drawing.Point(3, 3);
  514. this.PositionTrackBar.Maximum = 1000;
  515. this.PositionTrackBar.Name = "PositionTrackBar";
  516. this.PositionTrackBar.Size = new System.Drawing.Size(778, 45);
  517. this.PositionTrackBar.TabIndex = 7;
  518. this.PositionTrackBar.TickStyle = System.Windows.Forms.TickStyle.None;
  519. this.PositionTrackBar.MouseDown += new System.Windows.Forms.MouseEventHandler(this.PositionTrackBar_MouseDown);
  520. //
  521. // BufferLabel
  522. //
  523. this.BufferLabel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
  524. this.BufferLabel.AutoSize = true;
  525. this.BufferLabel.Location = new System.Drawing.Point(601, 56);
  526. this.BufferLabel.Name = "BufferLabel";
  527. this.BufferLabel.Size = new System.Drawing.Size(35, 13);
  528. this.BufferLabel.TabIndex = 5;
  529. this.BufferLabel.Text = "Buffer";
  530. //
  531. // BufferBar
  532. //
  533. this.BufferBar.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
  534. this.BufferBar.Location = new System.Drawing.Point(642, 51);
  535. this.BufferBar.Name = "BufferBar";
  536. this.BufferBar.Size = new System.Drawing.Size(130, 23);
  537. this.BufferBar.TabIndex = 3;
  538. //
  539. // StopButton
  540. //
  541. this.StopButton.Enabled = false;
  542. this.StopButton.Location = new System.Drawing.Point(122, 51);
  543. this.StopButton.Name = "StopButton";
  544. this.StopButton.Size = new System.Drawing.Size(49, 23);
  545. this.StopButton.TabIndex = 2;
  546. this.StopButton.Text = "Stop";
  547. this.StopButton.UseVisualStyleBackColor = true;
  548. this.StopButton.Click += new System.EventHandler(this.StopButton_Click);
  549. //
  550. // PauseButton
  551. //
  552. this.PauseButton.Enabled = false;
  553. this.PauseButton.Location = new System.Drawing.Point(67, 51);
  554. this.PauseButton.Name = "PauseButton";
  555. this.PauseButton.Size = new System.Drawing.Size(49, 23);
  556. this.PauseButton.TabIndex = 1;
  557. this.PauseButton.Text = "Pause";
  558. this.PauseButton.UseVisualStyleBackColor = true;
  559. this.PauseButton.Click += new System.EventHandler(this.PauseButton_Click);
  560. //
  561. // PlayButton
  562. //
  563. this.PlayButton.Location = new System.Drawing.Point(12, 51);
  564. this.PlayButton.Name = "PlayButton";
  565. this.PlayButton.Size = new System.Drawing.Size(49, 23);
  566. this.PlayButton.TabIndex = 0;
  567. this.PlayButton.Text = "Play";
  568. this.PlayButton.UseVisualStyleBackColor = true;
  569. this.PlayButton.Click += new System.EventHandler(this.PlayButton_Click);
  570. //
  571. // UpdateTimer
  572. //
  573. this.UpdateTimer.Interval = 200;
  574. this.UpdateTimer.Tick += new System.EventHandler(this.UpdateTimer_Tick);
  575. //
  576. // NotifyIcon
  577. //
  578. this.NotifyIcon.ContextMenuStrip = this.NotifyMenuStrip;
  579. this.NotifyIcon.Icon = ((System.Drawing.Icon)(resources.GetObject("NotifyIcon.Icon")));
  580. this.NotifyIcon.Text = "NotifyIcon";
  581. this.NotifyIcon.Visible = true;
  582. this.NotifyIcon.MouseUp += new System.Windows.Forms.MouseEventHandler(this.NotifyIcon_Click);
  583. //
  584. // NotifyMenuStrip
  585. //
  586. this.NotifyMenuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
  587. this.NotifyMenuStripPlayingLabel,
  588. this.toolStripSeparator2,
  589. this.NotifyMenuStripPlayButton,
  590. this.NotifyMenuStripPauseButton,
  591. this.NotifyMenuStripStopButton,
  592. this.toolStripSeparator3,
  593. this.NotifyMenuStripNextButton,
  594. this.NotifyMenuStripPreviousButton});
  595. this.NotifyMenuStrip.Name = "NotifyMenuStrip";
  596. this.NotifyMenuStrip.Size = new System.Drawing.Size(120, 148);
  597. //
  598. // NotifyMenuStripPlayingLabel
  599. //
  600. this.NotifyMenuStripPlayingLabel.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
  601. this.NotifyMenuStripPlayingSongLabel});
  602. this.NotifyMenuStripPlayingLabel.Enabled = false;
  603. this.NotifyMenuStripPlayingLabel.Name = "NotifyMenuStripPlayingLabel";
  604. this.NotifyMenuStripPlayingLabel.Size = new System.Drawing.Size(119, 22);
  605. this.NotifyMenuStripPlayingLabel.Text = "Stopped";
  606. //
  607. // NotifyMenuStripPlayingSongLabel
  608. //
  609. this.NotifyMenuStripPlayingSongLabel.Enabled = false;
  610. this.NotifyMenuStripPlayingSongLabel.Name = "NotifyMenuStripPlayingSongLabel";
  611. this.NotifyMenuStripPlayingSongLabel.Size = new System.Drawing.Size(118, 22);
  612. this.NotifyMenuStripPlayingSongLabel.Text = "Stopped";
  613. this.NotifyMenuStripPlayingSongLabel.Visible = false;
  614. //
  615. // toolStripSeparator2
  616. //
  617. this.toolStripSeparator2.Name = "toolStripSeparator2";
  618. this.toolStripSeparator2.Size = new System.Drawing.Size(116, 6);
  619. //
  620. // NotifyMenuStripPlayButton
  621. //
  622. this.NotifyMenuStripPlayButton.Name = "NotifyMenuStripPlayButton";
  623. this.NotifyMenuStripPlayButton.Size = new System.Drawing.Size(119, 22);
  624. this.NotifyMenuStripPlayButton.Text = "Play";
  625. this.NotifyMenuStripPlayButton.Click += new System.EventHandler(this.NotifyMenuStripPlayButton_Click);
  626. //
  627. // NotifyMenuStripPauseButton
  628. //
  629. this.NotifyMenuStripPauseButton.Enabled = false;
  630. this.NotifyMenuStripPauseButton.Name = "NotifyMenuStripPauseButton";
  631. this.NotifyMenuStripPauseButton.Size = new System.Drawing.Size(119, 22);
  632. this.NotifyMenuStripPauseButton.Text = "Pause";
  633. this.NotifyMenuStripPauseButton.Click += new System.EventHandler(this.NotifyMenuStripPauseButton_Click);
  634. //
  635. // NotifyMenuStripStopButton
  636. //
  637. this.NotifyMenuStripStopButton.Enabled = false;
  638. this.NotifyMenuStripStopButton.Name = "NotifyMenuStripStopButton";
  639. this.NotifyMenuStripStopButton.Size = new System.Drawing.Size(119, 22);
  640. this.NotifyMenuStripStopButton.Text = "Stop";
  641. this.NotifyMenuStripStopButton.Click += new System.EventHandler(this.NotifyMenuStripStopButton_Click);
  642. //
  643. // toolStripSeparator3
  644. //
  645. this.toolStripSeparator3.Name = "toolStripSeparator3";
  646. this.toolStripSeparator3.Size = new System.Drawing.Size(116, 6);
  647. //
  648. // NotifyMenuStripNextButton
  649. //
  650. this.NotifyMenuStripNextButton.Name = "NotifyMenuStripNextButton";
  651. this.NotifyMenuStripNextButton.Size = new System.Drawing.Size(119, 22);
  652. this.NotifyMenuStripNextButton.Text = "Next";
  653. this.NotifyMenuStripNextButton.Click += new System.EventHandler(this.NotifyMenuStripNextButton_Click);
  654. //
  655. // NotifyMenuStripPreviousButton
  656. //
  657. this.NotifyMenuStripPreviousButton.Name = "NotifyMenuStripPreviousButton";
  658. this.NotifyMenuStripPreviousButton.Size = new System.Drawing.Size(119, 22);
  659. this.NotifyMenuStripPreviousButton.Text = "Previous";
  660. this.NotifyMenuStripPreviousButton.Click += new System.EventHandler(this.NotifyMenuStripPreviousButton_Click);
  661. //
  662. // MainForm
  663. //
  664. this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
  665. this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
  666. this.ClientSize = new System.Drawing.Size(784, 461);
  667. this.Controls.Add(this.ControlsPanel);
  668. this.Controls.Add(this.MainPanel);
  669. this.Controls.Add(this.MenuStrip);
  670. this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
  671. this.MainMenuStrip = this.MenuStrip;
  672. this.MinimumSize = new System.Drawing.Size(800, 500);
  673. this.Name = "MainForm";
  674. this.Text = "YJMPD Music Player";
  675. this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.MainForm_FormClosing);
  676. this.Load += new System.EventHandler(this.MainForm_Load);
  677. ((System.ComponentModel.ISupportInitialize)(this.SongsTableView)).EndInit();
  678. this.MainPanel.ResumeLayout(false);
  679. this.MainPanel.PerformLayout();
  680. this.SplitContainer.Panel1.ResumeLayout(false);
  681. this.SplitContainer.Panel2.ResumeLayout(false);
  682. ((System.ComponentModel.ISupportInitialize)(this.SplitContainer)).EndInit();
  683. this.SplitContainer.ResumeLayout(false);
  684. this.MenuStrip.ResumeLayout(false);
  685. this.MenuStrip.PerformLayout();
  686. this.ControlsPanel.ResumeLayout(false);
  687. this.ControlsPanel.PerformLayout();
  688. ((System.ComponentModel.ISupportInitialize)(this.PositionTrackBar)).EndInit();
  689. this.NotifyMenuStrip.ResumeLayout(false);
  690. this.ResumeLayout(false);
  691. this.PerformLayout();
  692. }
  693. #endregion
  694. public System.Windows.Forms.DataGridView SongsTableView;
  695. public System.Windows.Forms.ListBox GenreListBox;
  696. public System.Windows.Forms.ListView AlbumListView;
  697. public System.Windows.Forms.ListBox ArtistListBox;
  698. private System.Windows.Forms.Panel MainPanel;
  699. private System.Windows.Forms.MenuStrip MenuStrip;
  700. private System.Windows.Forms.ToolStripMenuItem fileToolStripMenuItem;
  701. private System.Windows.Forms.ToolStripMenuItem viewToolStripMenuItem;
  702. private System.Windows.Forms.Panel ControlsPanel;
  703. private System.Windows.Forms.Button PlayButton;
  704. private System.Windows.Forms.Button StopButton;
  705. private System.Windows.Forms.Button PauseButton;
  706. private System.Windows.Forms.Label BufferLabel;
  707. private System.Windows.Forms.ProgressBar BufferBar;
  708. private System.Windows.Forms.Timer UpdateTimer;
  709. private System.Windows.Forms.TrackBar PositionTrackBar;
  710. private System.Windows.Forms.Label LabelTotalTime;
  711. private System.Windows.Forms.Label LabelCurrentTime;
  712. private System.Windows.Forms.NotifyIcon NotifyIcon;
  713. private System.Windows.Forms.Label CurrentSongLabel;
  714. private System.Windows.Forms.Label AlbumListLabel;
  715. private System.Windows.Forms.Label ArtistListLabel;
  716. private System.Windows.Forms.Label GenreListLabel;
  717. private System.Windows.Forms.ToolStripMenuItem playlistsToolStripMenuItem;
  718. private System.Windows.Forms.ToolStripMenuItem overviewToolStripMenuItem;
  719. public System.Windows.Forms.ListBox PlaylistBox;
  720. private System.Windows.Forms.Label PlaylistListLabel;
  721. private System.Windows.Forms.ToolStripMenuItem exitToolStripMenuItem;
  722. private System.Windows.Forms.ToolStripMenuItem playlistToolStripMenuItem;
  723. private System.Windows.Forms.ToolStripSeparator toolStripSeparator1;
  724. private System.Windows.Forms.ContextMenuStrip NotifyMenuStrip;
  725. private System.Windows.Forms.ToolStripMenuItem NotifyMenuStripPlayButton;
  726. private System.Windows.Forms.ToolStripMenuItem NotifyMenuStripPauseButton;
  727. private System.Windows.Forms.ToolStripMenuItem NotifyMenuStripStopButton;
  728. private System.Windows.Forms.ToolStripMenuItem NotifyMenuStripPlayingLabel;
  729. private System.Windows.Forms.ToolStripSeparator toolStripSeparator2;
  730. private System.Windows.Forms.ToolStripMenuItem NotifyMenuStripPlayingSongLabel;
  731. private System.Windows.Forms.SplitContainer SplitContainer;
  732. private System.Windows.Forms.ToolStripMenuItem makeToolStripMenuItem;
  733. private System.Windows.Forms.ToolStripMenuItem searchToolStripMenuItem;
  734. private System.Windows.Forms.ToolStripMenuItem SearchArtistToolStripLabel;
  735. private System.Windows.Forms.ToolStripTextBox SearchArtistsTextBox;
  736. private System.Windows.Forms.ToolStripMenuItem SearchGenresToolStripLabel;
  737. private System.Windows.Forms.ToolStripTextBox SearchGenresTextBox;
  738. private System.Windows.Forms.ToolStripMenuItem ClearArtistSearchButton;
  739. private System.Windows.Forms.ToolStripMenuItem ClearGenreSearchButton;
  740. private System.Windows.Forms.ToolStripMenuItem playbackToolStripMenuItem;
  741. private System.Windows.Forms.ToolStripMenuItem ShuffleSongButton;
  742. private System.Windows.Forms.ToolStripMenuItem LoopSongButton;
  743. private System.Windows.Forms.ToolStripMenuItem PlayNextSongButton;
  744. private System.Windows.Forms.Button NextButton;
  745. private System.Windows.Forms.Button PreviousButton;
  746. private System.Windows.Forms.ToolStripSeparator toolStripSeparator3;
  747. private System.Windows.Forms.ToolStripMenuItem NotifyMenuStripNextButton;
  748. private System.Windows.Forms.ToolStripMenuItem NotifyMenuStripPreviousButton;
  749. private System.Windows.Forms.ToolStripSeparator toolStripSeparator4;
  750. private System.Windows.Forms.ToolStripMenuItem ViewCurrentPlaylistButton;
  751. }
  752. }