MainForm.Designer.cs 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346
  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. ((System.ComponentModel.ISupportInitialize)(this.SongsTableView)).BeginInit();
  55. this.MainPanel.SuspendLayout();
  56. this.MenuStrip.SuspendLayout();
  57. this.ControlsPanel.SuspendLayout();
  58. ((System.ComponentModel.ISupportInitialize)(this.PositionTrackBar)).BeginInit();
  59. this.SuspendLayout();
  60. //
  61. // SongsTableView
  62. //
  63. this.SongsTableView.AllowUserToAddRows = false;
  64. this.SongsTableView.AllowUserToDeleteRows = false;
  65. this.SongsTableView.AllowUserToResizeRows = false;
  66. this.SongsTableView.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
  67. | System.Windows.Forms.AnchorStyles.Left)
  68. | System.Windows.Forms.AnchorStyles.Right)));
  69. this.SongsTableView.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
  70. this.SongsTableView.BackgroundColor = System.Drawing.SystemColors.Control;
  71. this.SongsTableView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
  72. this.SongsTableView.Location = new System.Drawing.Point(12, 153);
  73. this.SongsTableView.MultiSelect = false;
  74. this.SongsTableView.Name = "SongsTableView";
  75. this.SongsTableView.ReadOnly = true;
  76. this.SongsTableView.RowHeadersVisible = false;
  77. this.SongsTableView.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
  78. this.SongsTableView.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
  79. this.SongsTableView.Size = new System.Drawing.Size(760, 148);
  80. this.SongsTableView.TabIndex = 0;
  81. this.SongsTableView.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.SongsTableView_CellDoubleClick);
  82. //
  83. // GenreListBox
  84. //
  85. this.GenreListBox.BackColor = System.Drawing.SystemColors.Control;
  86. this.GenreListBox.FormattingEnabled = true;
  87. this.GenreListBox.Location = new System.Drawing.Point(12, 12);
  88. this.GenreListBox.Name = "GenreListBox";
  89. this.GenreListBox.Size = new System.Drawing.Size(124, 134);
  90. this.GenreListBox.Sorted = true;
  91. this.GenreListBox.TabIndex = 1;
  92. this.GenreListBox.SelectedIndexChanged += new System.EventHandler(this.GenreListBox_SelectedIndexChanged);
  93. //
  94. // AlbumListView
  95. //
  96. this.AlbumListView.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
  97. | System.Windows.Forms.AnchorStyles.Right)));
  98. this.AlbumListView.BackColor = System.Drawing.SystemColors.Control;
  99. this.AlbumListView.Location = new System.Drawing.Point(272, 12);
  100. this.AlbumListView.Name = "AlbumListView";
  101. this.AlbumListView.Size = new System.Drawing.Size(500, 134);
  102. this.AlbumListView.Sorting = System.Windows.Forms.SortOrder.Ascending;
  103. this.AlbumListView.TabIndex = 2;
  104. this.AlbumListView.UseCompatibleStateImageBehavior = false;
  105. this.AlbumListView.SelectedIndexChanged += new System.EventHandler(this.AlbumListView_SelectedIndexChanged);
  106. //
  107. // ArtistListBox
  108. //
  109. this.ArtistListBox.BackColor = System.Drawing.SystemColors.Control;
  110. this.ArtistListBox.FormattingEnabled = true;
  111. this.ArtistListBox.Location = new System.Drawing.Point(142, 12);
  112. this.ArtistListBox.Name = "ArtistListBox";
  113. this.ArtistListBox.Size = new System.Drawing.Size(124, 134);
  114. this.ArtistListBox.Sorted = true;
  115. this.ArtistListBox.TabIndex = 3;
  116. this.ArtistListBox.SelectedIndexChanged += new System.EventHandler(this.ArtistListBox_SelectedIndexChanged);
  117. //
  118. // MainPanel
  119. //
  120. this.MainPanel.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
  121. | System.Windows.Forms.AnchorStyles.Left)
  122. | System.Windows.Forms.AnchorStyles.Right)));
  123. this.MainPanel.BackColor = System.Drawing.SystemColors.Window;
  124. this.MainPanel.Controls.Add(this.GenreListBox);
  125. this.MainPanel.Controls.Add(this.ArtistListBox);
  126. this.MainPanel.Controls.Add(this.AlbumListView);
  127. this.MainPanel.Controls.Add(this.SongsTableView);
  128. this.MainPanel.Location = new System.Drawing.Point(0, 24);
  129. this.MainPanel.Name = "MainPanel";
  130. this.MainPanel.Size = new System.Drawing.Size(784, 313);
  131. this.MainPanel.TabIndex = 5;
  132. //
  133. // MenuStrip
  134. //
  135. this.MenuStrip.BackColor = System.Drawing.SystemColors.Window;
  136. this.MenuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
  137. this.fileToolStripMenuItem,
  138. this.viewToolStripMenuItem});
  139. this.MenuStrip.Location = new System.Drawing.Point(0, 0);
  140. this.MenuStrip.Name = "MenuStrip";
  141. this.MenuStrip.Size = new System.Drawing.Size(784, 24);
  142. this.MenuStrip.TabIndex = 6;
  143. this.MenuStrip.Text = "Menu";
  144. //
  145. // fileToolStripMenuItem
  146. //
  147. this.fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
  148. this.openToolStripMenuItem,
  149. this.saveToolStripMenuItem});
  150. this.fileToolStripMenuItem.Name = "fileToolStripMenuItem";
  151. this.fileToolStripMenuItem.Size = new System.Drawing.Size(37, 20);
  152. this.fileToolStripMenuItem.Text = "File";
  153. //
  154. // openToolStripMenuItem
  155. //
  156. this.openToolStripMenuItem.Name = "openToolStripMenuItem";
  157. this.openToolStripMenuItem.Size = new System.Drawing.Size(103, 22);
  158. this.openToolStripMenuItem.Text = "Open";
  159. //
  160. // saveToolStripMenuItem
  161. //
  162. this.saveToolStripMenuItem.Name = "saveToolStripMenuItem";
  163. this.saveToolStripMenuItem.Size = new System.Drawing.Size(103, 22);
  164. this.saveToolStripMenuItem.Text = "Save";
  165. //
  166. // viewToolStripMenuItem
  167. //
  168. this.viewToolStripMenuItem.Name = "viewToolStripMenuItem";
  169. this.viewToolStripMenuItem.Size = new System.Drawing.Size(44, 20);
  170. this.viewToolStripMenuItem.Text = "View";
  171. //
  172. // ControlsPanel
  173. //
  174. this.ControlsPanel.BackColor = System.Drawing.SystemColors.WindowFrame;
  175. this.ControlsPanel.Controls.Add(this.LabelTotalTime);
  176. this.ControlsPanel.Controls.Add(this.LabelCurrentTime);
  177. this.ControlsPanel.Controls.Add(this.PositionTrackBar);
  178. this.ControlsPanel.Controls.Add(this.PositionLabel);
  179. this.ControlsPanel.Controls.Add(this.BufferLabel);
  180. this.ControlsPanel.Controls.Add(this.PositionBar);
  181. this.ControlsPanel.Controls.Add(this.BufferBar);
  182. this.ControlsPanel.Controls.Add(this.StopButton);
  183. this.ControlsPanel.Controls.Add(this.PauseButton);
  184. this.ControlsPanel.Controls.Add(this.PlayButton);
  185. this.ControlsPanel.Dock = System.Windows.Forms.DockStyle.Bottom;
  186. this.ControlsPanel.Location = new System.Drawing.Point(0, 343);
  187. this.ControlsPanel.Name = "ControlsPanel";
  188. this.ControlsPanel.Size = new System.Drawing.Size(784, 119);
  189. this.ControlsPanel.TabIndex = 4;
  190. //
  191. // LabelTotalTime
  192. //
  193. this.LabelTotalTime.AutoSize = true;
  194. this.LabelTotalTime.Location = new System.Drawing.Point(693, 60);
  195. this.LabelTotalTime.Name = "LabelTotalTime";
  196. this.LabelTotalTime.Size = new System.Drawing.Size(49, 13);
  197. this.LabelTotalTime.TabIndex = 9;
  198. this.LabelTotalTime.Text = "00:00:00";
  199. //
  200. // LabelCurrentTime
  201. //
  202. this.LabelCurrentTime.AutoSize = true;
  203. this.LabelCurrentTime.Location = new System.Drawing.Point(358, 60);
  204. this.LabelCurrentTime.Name = "LabelCurrentTime";
  205. this.LabelCurrentTime.Size = new System.Drawing.Size(49, 13);
  206. this.LabelCurrentTime.TabIndex = 8;
  207. this.LabelCurrentTime.Text = "00:00:00";
  208. //
  209. // PositionTrackBar
  210. //
  211. this.PositionTrackBar.Location = new System.Drawing.Point(346, 13);
  212. this.PositionTrackBar.Maximum = 100;
  213. this.PositionTrackBar.Name = "PositionTrackBar";
  214. this.PositionTrackBar.Size = new System.Drawing.Size(426, 45);
  215. this.PositionTrackBar.TabIndex = 7;
  216. //
  217. // PositionLabel
  218. //
  219. this.PositionLabel.AutoSize = true;
  220. this.PositionLabel.Location = new System.Drawing.Point(285, 90);
  221. this.PositionLabel.Name = "PositionLabel";
  222. this.PositionLabel.Size = new System.Drawing.Size(44, 13);
  223. this.PositionLabel.TabIndex = 6;
  224. this.PositionLabel.Text = "Position";
  225. //
  226. // BufferLabel
  227. //
  228. this.BufferLabel.AutoSize = true;
  229. this.BufferLabel.Location = new System.Drawing.Point(285, 60);
  230. this.BufferLabel.Name = "BufferLabel";
  231. this.BufferLabel.Size = new System.Drawing.Size(35, 13);
  232. this.BufferLabel.TabIndex = 5;
  233. this.BufferLabel.Text = "Buffer";
  234. //
  235. // PositionBar
  236. //
  237. this.PositionBar.Location = new System.Drawing.Point(13, 90);
  238. this.PositionBar.Name = "PositionBar";
  239. this.PositionBar.Size = new System.Drawing.Size(265, 23);
  240. this.PositionBar.TabIndex = 4;
  241. //
  242. // BufferBar
  243. //
  244. this.BufferBar.Location = new System.Drawing.Point(13, 60);
  245. this.BufferBar.Name = "BufferBar";
  246. this.BufferBar.Size = new System.Drawing.Size(265, 23);
  247. this.BufferBar.TabIndex = 3;
  248. //
  249. // StopButton
  250. //
  251. this.StopButton.Location = new System.Drawing.Point(203, 13);
  252. this.StopButton.Name = "StopButton";
  253. this.StopButton.Size = new System.Drawing.Size(75, 23);
  254. this.StopButton.TabIndex = 2;
  255. this.StopButton.Text = "Stop";
  256. this.StopButton.UseVisualStyleBackColor = true;
  257. this.StopButton.Click += new System.EventHandler(this.StopButton_Click);
  258. //
  259. // PauseButton
  260. //
  261. this.PauseButton.Location = new System.Drawing.Point(108, 13);
  262. this.PauseButton.Name = "PauseButton";
  263. this.PauseButton.Size = new System.Drawing.Size(75, 23);
  264. this.PauseButton.TabIndex = 1;
  265. this.PauseButton.Text = "Pause";
  266. this.PauseButton.UseVisualStyleBackColor = true;
  267. this.PauseButton.Click += new System.EventHandler(this.PauseButton_Click);
  268. //
  269. // PlayButton
  270. //
  271. this.PlayButton.Location = new System.Drawing.Point(12, 13);
  272. this.PlayButton.Name = "PlayButton";
  273. this.PlayButton.Size = new System.Drawing.Size(75, 23);
  274. this.PlayButton.TabIndex = 0;
  275. this.PlayButton.Text = "Play";
  276. this.PlayButton.UseVisualStyleBackColor = true;
  277. this.PlayButton.Click += new System.EventHandler(this.PlayButton_Click);
  278. //
  279. // UpdateTimer
  280. //
  281. this.UpdateTimer.Interval = 600;
  282. this.UpdateTimer.Tick += new System.EventHandler(this.UpdateTimer_Tick);
  283. //
  284. // notifyIcon1
  285. //
  286. this.notifyIcon1.Icon = ((System.Drawing.Icon)(resources.GetObject("notifyIcon1.Icon")));
  287. this.notifyIcon1.Text = "notifyIcon1";
  288. this.notifyIcon1.Visible = true;
  289. this.notifyIcon1.Click += new System.EventHandler(this.notifyIcon1_Click);
  290. //
  291. // MainForm
  292. //
  293. this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
  294. this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
  295. this.ClientSize = new System.Drawing.Size(784, 462);
  296. this.Controls.Add(this.ControlsPanel);
  297. this.Controls.Add(this.MainPanel);
  298. this.Controls.Add(this.MenuStrip);
  299. this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
  300. this.MainMenuStrip = this.MenuStrip;
  301. this.MinimumSize = new System.Drawing.Size(800, 500);
  302. this.Name = "MainForm";
  303. this.Text = "YJMPD Music Player";
  304. this.Load += new System.EventHandler(this.MainForm_Load);
  305. ((System.ComponentModel.ISupportInitialize)(this.SongsTableView)).EndInit();
  306. this.MainPanel.ResumeLayout(false);
  307. this.MenuStrip.ResumeLayout(false);
  308. this.MenuStrip.PerformLayout();
  309. this.ControlsPanel.ResumeLayout(false);
  310. this.ControlsPanel.PerformLayout();
  311. ((System.ComponentModel.ISupportInitialize)(this.PositionTrackBar)).EndInit();
  312. this.ResumeLayout(false);
  313. this.PerformLayout();
  314. }
  315. #endregion
  316. public System.Windows.Forms.DataGridView SongsTableView;
  317. public System.Windows.Forms.ListBox GenreListBox;
  318. public System.Windows.Forms.ListView AlbumListView;
  319. public System.Windows.Forms.ListBox ArtistListBox;
  320. private System.Windows.Forms.Panel MainPanel;
  321. private System.Windows.Forms.MenuStrip MenuStrip;
  322. private System.Windows.Forms.ToolStripMenuItem fileToolStripMenuItem;
  323. private System.Windows.Forms.ToolStripMenuItem openToolStripMenuItem;
  324. private System.Windows.Forms.ToolStripMenuItem saveToolStripMenuItem;
  325. private System.Windows.Forms.ToolStripMenuItem viewToolStripMenuItem;
  326. private System.Windows.Forms.Panel ControlsPanel;
  327. private System.Windows.Forms.Button PlayButton;
  328. private System.Windows.Forms.Button StopButton;
  329. private System.Windows.Forms.Button PauseButton;
  330. private System.Windows.Forms.Label PositionLabel;
  331. private System.Windows.Forms.Label BufferLabel;
  332. private System.Windows.Forms.ProgressBar PositionBar;
  333. private System.Windows.Forms.ProgressBar BufferBar;
  334. private System.Windows.Forms.Timer UpdateTimer;
  335. private System.Windows.Forms.TrackBar PositionTrackBar;
  336. private System.Windows.Forms.Label LabelTotalTime;
  337. private System.Windows.Forms.Label LabelCurrentTime;
  338. private System.Windows.Forms.NotifyIcon notifyIcon1;
  339. }
  340. }