MainForm.Designer.cs 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380
  1. namespace MusicPlayer
  2. {
  3. partial class MainForm
  4. {
  5. /// <summary>
  6. /// Required designer variable.
  7. /// </summary>
  8. private System.ComponentModel.IContainer components = null;
  9. /// <summary>
  10. /// Clean up any resources being used.
  11. /// </summary>
  12. /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
  13. protected override void Dispose(bool disposing)
  14. {
  15. if (disposing && (components != null))
  16. {
  17. components.Dispose();
  18. }
  19. base.Dispose(disposing);
  20. }
  21. #region Windows Form Designer generated code
  22. bool clicked = false;
  23. /// <summary>
  24. /// Required method for Designer support - do not modify
  25. /// the contents of this method with the code editor.
  26. /// </summary>
  27. private void InitializeComponent()
  28. {
  29. this.components = new System.ComponentModel.Container();
  30. System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm));
  31. this.SongsTableView = new System.Windows.Forms.DataGridView();
  32. this.GenreListBox = new System.Windows.Forms.ListBox();
  33. this.AlbumListView = new System.Windows.Forms.ListView();
  34. this.ArtistListBox = new System.Windows.Forms.ListBox();
  35. this.MainPanel = new System.Windows.Forms.Panel();
  36. this.MenuStrip = new System.Windows.Forms.MenuStrip();
  37. this.fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
  38. this.openToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
  39. this.saveToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
  40. this.viewToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
  41. this.ControlsPanel = new System.Windows.Forms.Panel();
  42. this.LabelTotalTime = new System.Windows.Forms.Label();
  43. this.LabelCurrentTime = new System.Windows.Forms.Label();
  44. this.PositionTrackBar = new System.Windows.Forms.TrackBar();
  45. this.PositionLabel = new System.Windows.Forms.Label();
  46. this.BufferLabel = new System.Windows.Forms.Label();
  47. this.PositionBar = new System.Windows.Forms.ProgressBar();
  48. this.BufferBar = new System.Windows.Forms.ProgressBar();
  49. this.StopButton = new System.Windows.Forms.Button();
  50. this.PauseButton = new System.Windows.Forms.Button();
  51. this.PlayButton = new System.Windows.Forms.Button();
  52. this.UpdateTimer = new System.Windows.Forms.Timer(this.components);
  53. this.notifyIcon1 = new System.Windows.Forms.NotifyIcon(this.components);
  54. this.playlistsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
  55. this.overviewToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
  56. this.PlaylistBox = new System.Windows.Forms.ListBox();
  57. ((System.ComponentModel.ISupportInitialize)(this.SongsTableView)).BeginInit();
  58. this.MainPanel.SuspendLayout();
  59. this.MenuStrip.SuspendLayout();
  60. this.ControlsPanel.SuspendLayout();
  61. ((System.ComponentModel.ISupportInitialize)(this.PositionTrackBar)).BeginInit();
  62. this.SuspendLayout();
  63. //
  64. // SongsTableView
  65. //
  66. this.SongsTableView.AllowUserToAddRows = false;
  67. this.SongsTableView.AllowUserToDeleteRows = false;
  68. this.SongsTableView.AllowUserToResizeRows = false;
  69. this.SongsTableView.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
  70. | System.Windows.Forms.AnchorStyles.Left)
  71. | System.Windows.Forms.AnchorStyles.Right)));
  72. this.SongsTableView.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
  73. this.SongsTableView.BackgroundColor = System.Drawing.SystemColors.Control;
  74. this.SongsTableView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
  75. this.SongsTableView.Location = new System.Drawing.Point(12, 153);
  76. this.SongsTableView.MultiSelect = false;
  77. this.SongsTableView.Name = "SongsTableView";
  78. this.SongsTableView.ReadOnly = true;
  79. this.SongsTableView.RowHeadersVisible = false;
  80. this.SongsTableView.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
  81. this.SongsTableView.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
  82. this.SongsTableView.Size = new System.Drawing.Size(760, 148);
  83. this.SongsTableView.TabIndex = 0;
  84. this.SongsTableView.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.SongsTableView_CellDoubleClick);
  85. //
  86. // GenreListBox
  87. //
  88. this.GenreListBox.BackColor = System.Drawing.SystemColors.Control;
  89. this.GenreListBox.FormattingEnabled = true;
  90. this.GenreListBox.Location = new System.Drawing.Point(12, 12);
  91. this.GenreListBox.Name = "GenreListBox";
  92. this.GenreListBox.Size = new System.Drawing.Size(124, 134);
  93. this.GenreListBox.Sorted = true;
  94. this.GenreListBox.TabIndex = 1;
  95. this.GenreListBox.SelectedIndexChanged += new System.EventHandler(this.GenreListBox_SelectedIndexChanged);
  96. //
  97. // AlbumListView
  98. //
  99. this.AlbumListView.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
  100. | System.Windows.Forms.AnchorStyles.Right)));
  101. this.AlbumListView.BackColor = System.Drawing.SystemColors.Control;
  102. this.AlbumListView.Location = new System.Drawing.Point(272, 12);
  103. this.AlbumListView.Name = "AlbumListView";
  104. this.AlbumListView.Size = new System.Drawing.Size(500, 134);
  105. this.AlbumListView.Sorting = System.Windows.Forms.SortOrder.Ascending;
  106. this.AlbumListView.TabIndex = 2;
  107. this.AlbumListView.UseCompatibleStateImageBehavior = false;
  108. this.AlbumListView.SelectedIndexChanged += new System.EventHandler(this.AlbumListView_SelectedIndexChanged);
  109. //
  110. // ArtistListBox
  111. //
  112. this.ArtistListBox.BackColor = System.Drawing.SystemColors.Control;
  113. this.ArtistListBox.FormattingEnabled = true;
  114. this.ArtistListBox.Location = new System.Drawing.Point(142, 12);
  115. this.ArtistListBox.Name = "ArtistListBox";
  116. this.ArtistListBox.Size = new System.Drawing.Size(124, 134);
  117. this.ArtistListBox.Sorted = true;
  118. this.ArtistListBox.TabIndex = 3;
  119. this.ArtistListBox.SelectedIndexChanged += new System.EventHandler(this.ArtistListBox_SelectedIndexChanged);
  120. //
  121. // MainPanel
  122. //
  123. this.MainPanel.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
  124. | System.Windows.Forms.AnchorStyles.Left)
  125. | System.Windows.Forms.AnchorStyles.Right)));
  126. this.MainPanel.BackColor = System.Drawing.SystemColors.Window;
  127. this.MainPanel.Controls.Add(this.PlaylistBox);
  128. this.MainPanel.Controls.Add(this.GenreListBox);
  129. this.MainPanel.Controls.Add(this.ArtistListBox);
  130. this.MainPanel.Controls.Add(this.AlbumListView);
  131. this.MainPanel.Controls.Add(this.SongsTableView);
  132. this.MainPanel.Location = new System.Drawing.Point(0, 24);
  133. this.MainPanel.Name = "MainPanel";
  134. this.MainPanel.Size = new System.Drawing.Size(784, 313);
  135. this.MainPanel.TabIndex = 5;
  136. //
  137. // MenuStrip
  138. //
  139. this.MenuStrip.BackColor = System.Drawing.SystemColors.Window;
  140. this.MenuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
  141. this.fileToolStripMenuItem,
  142. this.viewToolStripMenuItem});
  143. this.MenuStrip.Location = new System.Drawing.Point(0, 0);
  144. this.MenuStrip.Name = "MenuStrip";
  145. this.MenuStrip.Size = new System.Drawing.Size(784, 24);
  146. this.MenuStrip.TabIndex = 6;
  147. this.MenuStrip.Text = "Menu";
  148. //
  149. // fileToolStripMenuItem
  150. //
  151. this.fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
  152. this.openToolStripMenuItem,
  153. this.saveToolStripMenuItem});
  154. this.fileToolStripMenuItem.Name = "fileToolStripMenuItem";
  155. this.fileToolStripMenuItem.Size = new System.Drawing.Size(37, 20);
  156. this.fileToolStripMenuItem.Text = "File";
  157. //
  158. // openToolStripMenuItem
  159. //
  160. this.openToolStripMenuItem.Name = "openToolStripMenuItem";
  161. this.openToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
  162. this.openToolStripMenuItem.Text = "Open";
  163. //
  164. // saveToolStripMenuItem
  165. //
  166. this.saveToolStripMenuItem.Name = "saveToolStripMenuItem";
  167. this.saveToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
  168. this.saveToolStripMenuItem.Text = "Save";
  169. //
  170. // viewToolStripMenuItem
  171. //
  172. this.viewToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
  173. this.playlistsToolStripMenuItem,
  174. this.overviewToolStripMenuItem});
  175. this.viewToolStripMenuItem.Name = "viewToolStripMenuItem";
  176. this.viewToolStripMenuItem.Size = new System.Drawing.Size(44, 20);
  177. this.viewToolStripMenuItem.Text = "View";
  178. //
  179. // ControlsPanel
  180. //
  181. this.ControlsPanel.BackColor = System.Drawing.SystemColors.WindowFrame;
  182. this.ControlsPanel.Controls.Add(this.LabelTotalTime);
  183. this.ControlsPanel.Controls.Add(this.LabelCurrentTime);
  184. this.ControlsPanel.Controls.Add(this.PositionTrackBar);
  185. this.ControlsPanel.Controls.Add(this.PositionLabel);
  186. this.ControlsPanel.Controls.Add(this.BufferLabel);
  187. this.ControlsPanel.Controls.Add(this.PositionBar);
  188. this.ControlsPanel.Controls.Add(this.BufferBar);
  189. this.ControlsPanel.Controls.Add(this.StopButton);
  190. this.ControlsPanel.Controls.Add(this.PauseButton);
  191. this.ControlsPanel.Controls.Add(this.PlayButton);
  192. this.ControlsPanel.Dock = System.Windows.Forms.DockStyle.Bottom;
  193. this.ControlsPanel.Location = new System.Drawing.Point(0, 343);
  194. this.ControlsPanel.Name = "ControlsPanel";
  195. this.ControlsPanel.Size = new System.Drawing.Size(784, 119);
  196. this.ControlsPanel.TabIndex = 4;
  197. //
  198. // LabelTotalTime
  199. //
  200. this.LabelTotalTime.AutoSize = true;
  201. this.LabelTotalTime.Location = new System.Drawing.Point(693, 60);
  202. this.LabelTotalTime.Name = "LabelTotalTime";
  203. this.LabelTotalTime.Size = new System.Drawing.Size(49, 13);
  204. this.LabelTotalTime.TabIndex = 9;
  205. this.LabelTotalTime.Text = "00:00:00";
  206. //
  207. // LabelCurrentTime
  208. //
  209. this.LabelCurrentTime.AutoSize = true;
  210. this.LabelCurrentTime.Location = new System.Drawing.Point(358, 60);
  211. this.LabelCurrentTime.Name = "LabelCurrentTime";
  212. this.LabelCurrentTime.Size = new System.Drawing.Size(49, 13);
  213. this.LabelCurrentTime.TabIndex = 8;
  214. this.LabelCurrentTime.Text = "00:00:00";
  215. //
  216. // PositionTrackBar
  217. //
  218. this.PositionTrackBar.Enabled = false;
  219. this.PositionTrackBar.Location = new System.Drawing.Point(346, 13);
  220. this.PositionTrackBar.Maximum = 100;
  221. this.PositionTrackBar.Name = "PositionTrackBar";
  222. this.PositionTrackBar.Size = new System.Drawing.Size(426, 45);
  223. this.PositionTrackBar.TabIndex = 7;
  224. //
  225. // PositionLabel
  226. //
  227. this.PositionLabel.AutoSize = true;
  228. this.PositionLabel.Location = new System.Drawing.Point(285, 90);
  229. this.PositionLabel.Name = "PositionLabel";
  230. this.PositionLabel.Size = new System.Drawing.Size(44, 13);
  231. this.PositionLabel.TabIndex = 6;
  232. this.PositionLabel.Text = "Position";
  233. //
  234. // BufferLabel
  235. //
  236. this.BufferLabel.AutoSize = true;
  237. this.BufferLabel.Location = new System.Drawing.Point(285, 60);
  238. this.BufferLabel.Name = "BufferLabel";
  239. this.BufferLabel.Size = new System.Drawing.Size(35, 13);
  240. this.BufferLabel.TabIndex = 5;
  241. this.BufferLabel.Text = "Buffer";
  242. //
  243. // PositionBar
  244. //
  245. this.PositionBar.Location = new System.Drawing.Point(13, 90);
  246. this.PositionBar.Name = "PositionBar";
  247. this.PositionBar.Size = new System.Drawing.Size(265, 23);
  248. this.PositionBar.TabIndex = 4;
  249. //
  250. // BufferBar
  251. //
  252. this.BufferBar.Location = new System.Drawing.Point(13, 60);
  253. this.BufferBar.Name = "BufferBar";
  254. this.BufferBar.Size = new System.Drawing.Size(265, 23);
  255. this.BufferBar.TabIndex = 3;
  256. //
  257. // StopButton
  258. //
  259. this.StopButton.Location = new System.Drawing.Point(203, 13);
  260. this.StopButton.Name = "StopButton";
  261. this.StopButton.Size = new System.Drawing.Size(75, 23);
  262. this.StopButton.TabIndex = 2;
  263. this.StopButton.Text = "Stop";
  264. this.StopButton.UseVisualStyleBackColor = true;
  265. this.StopButton.Click += new System.EventHandler(this.StopButton_Click);
  266. //
  267. // PauseButton
  268. //
  269. this.PauseButton.Location = new System.Drawing.Point(108, 13);
  270. this.PauseButton.Name = "PauseButton";
  271. this.PauseButton.Size = new System.Drawing.Size(75, 23);
  272. this.PauseButton.TabIndex = 1;
  273. this.PauseButton.Text = "Pause";
  274. this.PauseButton.UseVisualStyleBackColor = true;
  275. this.PauseButton.Click += new System.EventHandler(this.PauseButton_Click);
  276. //
  277. // PlayButton
  278. //
  279. this.PlayButton.Location = new System.Drawing.Point(12, 13);
  280. this.PlayButton.Name = "PlayButton";
  281. this.PlayButton.Size = new System.Drawing.Size(75, 23);
  282. this.PlayButton.TabIndex = 0;
  283. this.PlayButton.Text = "Play";
  284. this.PlayButton.UseVisualStyleBackColor = true;
  285. this.PlayButton.Click += new System.EventHandler(this.PlayButton_Click);
  286. //
  287. // UpdateTimer
  288. //
  289. this.UpdateTimer.Interval = 150;
  290. this.UpdateTimer.Tick += new System.EventHandler(this.UpdateTimer_Tick);
  291. //
  292. // notifyIcon1
  293. //
  294. this.notifyIcon1.Icon = ((System.Drawing.Icon)(resources.GetObject("notifyIcon1.Icon")));
  295. this.notifyIcon1.Text = "notifyIcon1";
  296. this.notifyIcon1.Visible = true;
  297. this.notifyIcon1.Click += new System.EventHandler(this.notifyIcon1_Click);
  298. //
  299. // playlistsToolStripMenuItem
  300. //
  301. this.playlistsToolStripMenuItem.Name = "playlistsToolStripMenuItem";
  302. this.playlistsToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
  303. this.playlistsToolStripMenuItem.Text = "Playlists";
  304. this.playlistsToolStripMenuItem.Click += new System.EventHandler(this.playlistsToolStripMenuItem_Click);
  305. //
  306. // overviewToolStripMenuItem
  307. //
  308. this.overviewToolStripMenuItem.Name = "overviewToolStripMenuItem";
  309. this.overviewToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
  310. this.overviewToolStripMenuItem.Text = "Overview";
  311. this.overviewToolStripMenuItem.Click += new System.EventHandler(this.overviewToolStripMenuItem_Click);
  312. //
  313. // PlaylistBox
  314. //
  315. this.PlaylistBox.FormattingEnabled = true;
  316. this.PlaylistBox.Location = new System.Drawing.Point(12, 12);
  317. this.PlaylistBox.Name = "PlaylistBox";
  318. this.PlaylistBox.Size = new System.Drawing.Size(377, 134);
  319. this.PlaylistBox.TabIndex = 4;
  320. this.PlaylistBox.Visible = false;
  321. //
  322. // MainForm
  323. //
  324. this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
  325. this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
  326. this.ClientSize = new System.Drawing.Size(784, 462);
  327. this.Controls.Add(this.ControlsPanel);
  328. this.Controls.Add(this.MainPanel);
  329. this.Controls.Add(this.MenuStrip);
  330. this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
  331. this.MainMenuStrip = this.MenuStrip;
  332. this.MinimumSize = new System.Drawing.Size(800, 500);
  333. this.Name = "MainForm";
  334. this.Text = "YJMPD Music Player";
  335. this.Load += new System.EventHandler(this.MainForm_Load);
  336. ((System.ComponentModel.ISupportInitialize)(this.SongsTableView)).EndInit();
  337. this.MainPanel.ResumeLayout(false);
  338. this.MenuStrip.ResumeLayout(false);
  339. this.MenuStrip.PerformLayout();
  340. this.ControlsPanel.ResumeLayout(false);
  341. this.ControlsPanel.PerformLayout();
  342. ((System.ComponentModel.ISupportInitialize)(this.PositionTrackBar)).EndInit();
  343. this.ResumeLayout(false);
  344. this.PerformLayout();
  345. }
  346. #endregion
  347. public System.Windows.Forms.DataGridView SongsTableView;
  348. public System.Windows.Forms.ListBox GenreListBox;
  349. public System.Windows.Forms.ListView AlbumListView;
  350. public System.Windows.Forms.ListBox ArtistListBox;
  351. private System.Windows.Forms.Panel MainPanel;
  352. private System.Windows.Forms.MenuStrip MenuStrip;
  353. private System.Windows.Forms.ToolStripMenuItem fileToolStripMenuItem;
  354. private System.Windows.Forms.ToolStripMenuItem openToolStripMenuItem;
  355. private System.Windows.Forms.ToolStripMenuItem saveToolStripMenuItem;
  356. private System.Windows.Forms.ToolStripMenuItem viewToolStripMenuItem;
  357. private System.Windows.Forms.Panel ControlsPanel;
  358. private System.Windows.Forms.Button PlayButton;
  359. private System.Windows.Forms.Button StopButton;
  360. private System.Windows.Forms.Button PauseButton;
  361. private System.Windows.Forms.Label PositionLabel;
  362. private System.Windows.Forms.Label BufferLabel;
  363. private System.Windows.Forms.ProgressBar PositionBar;
  364. private System.Windows.Forms.ProgressBar BufferBar;
  365. private System.Windows.Forms.Timer UpdateTimer;
  366. private System.Windows.Forms.TrackBar PositionTrackBar;
  367. private System.Windows.Forms.Label LabelTotalTime;
  368. private System.Windows.Forms.Label LabelCurrentTime;
  369. private System.Windows.Forms.NotifyIcon notifyIcon1;
  370. private System.Windows.Forms.ToolStripMenuItem playlistsToolStripMenuItem;
  371. private System.Windows.Forms.ToolStripMenuItem overviewToolStripMenuItem;
  372. private System.Windows.Forms.ListBox PlaylistBox;
  373. }
  374. }