MainForm.Designer.cs 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291
  1. namespace Bmp.WinForms
  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. /// <summary>
  23. /// Required method for Designer support - do not modify
  24. /// the contents of this method with the code editor.
  25. /// </summary>
  26. private void InitializeComponent()
  27. {
  28. components = new System.ComponentModel.Container();
  29. ListViewItem listViewItem1 = new ListViewItem(new string[] { "1", "12:34:56" }, -1);
  30. ListViewItem listViewItem2 = new ListViewItem(new string[] { "2", "", "▶" }, -1);
  31. ListViewItem listViewItem3 = new ListViewItem("3");
  32. ListViewItem listViewItem4 = new ListViewItem("4");
  33. SeekTrackBar = new TrackBar();
  34. StopButton = new Button();
  35. PlayButton = new Button();
  36. PauseButton = new Button();
  37. PrevButton = new Button();
  38. NextButton = new Button();
  39. MainListView = new ListView();
  40. TitleColumnHeader = new ColumnHeader();
  41. DurColumnHeader = new ColumnHeader();
  42. StateColumnHeader = new ColumnHeader();
  43. MainContextMenu = new ContextMenuStrip(components);
  44. AlbumImageList = new ImageList(components);
  45. SettingButton = new Button();
  46. UpdateTimer = new System.Windows.Forms.Timer(components);
  47. MainStatusBar = new StatusStrip();
  48. StatusBarLabel = new ToolStripStatusLabel();
  49. SettingButtonToolTip = new ToolTip(components);
  50. MainPanel = new Panel();
  51. SeekTrackBarToolTip = new ToolTip(components);
  52. ((System.ComponentModel.ISupportInitialize)SeekTrackBar).BeginInit();
  53. MainStatusBar.SuspendLayout();
  54. MainPanel.SuspendLayout();
  55. SuspendLayout();
  56. //
  57. // SeekTrackBar
  58. //
  59. SeekTrackBar.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
  60. SeekTrackBar.LargeChange = 1;
  61. SeekTrackBar.Location = new Point(407, 12);
  62. SeekTrackBar.Name = "SeekTrackBar";
  63. SeekTrackBar.Size = new Size(546, 69);
  64. SeekTrackBar.TabIndex = 5;
  65. SeekTrackBar.TickFrequency = 0;
  66. SeekTrackBar.TickStyle = TickStyle.Both;
  67. SeekTrackBar.ValueChanged += SeekTrackBar_ValueChanged;
  68. SeekTrackBar.MouseDown += SeekTrackBar_MouseDown;
  69. SeekTrackBar.MouseUp += SeekTrackBar_MouseUp;
  70. //
  71. // StopButton
  72. //
  73. StopButton.Font = new Font("Microsoft YaHei UI", 19F);
  74. StopButton.Location = new Point(12, 12);
  75. StopButton.Name = "StopButton";
  76. StopButton.Size = new Size(73, 69);
  77. StopButton.TabIndex = 0;
  78. StopButton.Text = "⏹️";
  79. StopButton.UseVisualStyleBackColor = true;
  80. StopButton.Click += StopButton_Click;
  81. //
  82. // PlayButton
  83. //
  84. PlayButton.Font = new Font("Microsoft YaHei UI", 19F);
  85. PlayButton.Location = new Point(91, 12);
  86. PlayButton.Name = "PlayButton";
  87. PlayButton.Size = new Size(73, 69);
  88. PlayButton.TabIndex = 1;
  89. PlayButton.Text = "▶️";
  90. PlayButton.UseVisualStyleBackColor = true;
  91. PlayButton.Click += PlayButton_Click;
  92. //
  93. // PauseButton
  94. //
  95. PauseButton.Font = new Font("Microsoft YaHei UI", 19F);
  96. PauseButton.Location = new Point(170, 12);
  97. PauseButton.Name = "PauseButton";
  98. PauseButton.Size = new Size(73, 69);
  99. PauseButton.TabIndex = 2;
  100. PauseButton.Text = "⏸";
  101. PauseButton.UseVisualStyleBackColor = true;
  102. PauseButton.Click += PauseButton_Click;
  103. //
  104. // PrevButton
  105. //
  106. PrevButton.Font = new Font("Microsoft YaHei UI", 19F);
  107. PrevButton.Location = new Point(249, 12);
  108. PrevButton.Name = "PrevButton";
  109. PrevButton.Size = new Size(73, 69);
  110. PrevButton.TabIndex = 3;
  111. PrevButton.Text = "⏮";
  112. PrevButton.UseVisualStyleBackColor = true;
  113. PrevButton.Click += PrevButton_Click;
  114. //
  115. // NextButton
  116. //
  117. NextButton.Font = new Font("Microsoft YaHei UI", 19F);
  118. NextButton.Location = new Point(328, 12);
  119. NextButton.Name = "NextButton";
  120. NextButton.Size = new Size(73, 69);
  121. NextButton.TabIndex = 4;
  122. NextButton.Text = "⏭";
  123. NextButton.UseVisualStyleBackColor = true;
  124. NextButton.Click += NextButton_Click;
  125. //
  126. // MainListView
  127. //
  128. MainListView.AllowDrop = true;
  129. MainListView.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
  130. MainListView.Columns.AddRange(new ColumnHeader[] { TitleColumnHeader, DurColumnHeader, StateColumnHeader });
  131. MainListView.ContextMenuStrip = MainContextMenu;
  132. MainListView.FullRowSelect = true;
  133. MainListView.GroupImageList = AlbumImageList;
  134. MainListView.Items.AddRange(new ListViewItem[] { listViewItem1, listViewItem2, listViewItem3, listViewItem4 });
  135. MainListView.Location = new Point(12, 87);
  136. MainListView.Name = "MainListView";
  137. MainListView.ShowItemToolTips = true;
  138. MainListView.Size = new Size(1020, 609);
  139. MainListView.TabIndex = 7;
  140. MainListView.UseCompatibleStateImageBehavior = false;
  141. MainListView.View = View.Details;
  142. MainListView.ColumnWidthChanging += MainListView_ColumnWidthChanging;
  143. MainListView.ItemActivate += MainListView_ItemActivate;
  144. MainListView.ItemDrag += MainListView_ItemDrag;
  145. MainListView.SizeChanged += MainListView_SizeChanged;
  146. MainListView.DragDrop += MainListView_DragDrop;
  147. MainListView.DragEnter += MainListView_DragEnter;
  148. MainListView.DragOver += MainListView_DragOver;
  149. MainListView.DragLeave += MainListView_DragLeave;
  150. MainListView.KeyDown += MainListView_KeyDown;
  151. //
  152. // TitleColumnHeader
  153. //
  154. TitleColumnHeader.DisplayIndex = 1;
  155. TitleColumnHeader.Text = "标题";
  156. TitleColumnHeader.Width = 600;
  157. //
  158. // DurColumnHeader
  159. //
  160. DurColumnHeader.DisplayIndex = 2;
  161. DurColumnHeader.Text = "时长";
  162. DurColumnHeader.TextAlign = HorizontalAlignment.Right;
  163. DurColumnHeader.Width = 120;
  164. //
  165. // StateColumnHeader
  166. //
  167. StateColumnHeader.DisplayIndex = 0;
  168. StateColumnHeader.Text = "";
  169. StateColumnHeader.Width = 40;
  170. //
  171. // MainContextMenu
  172. //
  173. MainContextMenu.ImageScalingSize = new Size(24, 24);
  174. MainContextMenu.Name = "MainContextMenu";
  175. MainContextMenu.Size = new Size(61, 4);
  176. MainContextMenu.Opening += MainContextMenu_Opening;
  177. //
  178. // AlbumImageList
  179. //
  180. AlbumImageList.ColorDepth = ColorDepth.Depth32Bit;
  181. AlbumImageList.ImageSize = new Size(48, 48);
  182. AlbumImageList.TransparentColor = Color.Transparent;
  183. //
  184. // SettingButton
  185. //
  186. SettingButton.Anchor = AnchorStyles.Top | AnchorStyles.Right;
  187. SettingButton.Font = new Font("Microsoft YaHei UI", 19F);
  188. SettingButton.Location = new Point(959, 12);
  189. SettingButton.Name = "SettingButton";
  190. SettingButton.Size = new Size(73, 69);
  191. SettingButton.TabIndex = 6;
  192. SettingButton.Text = "🛠️";
  193. SettingButton.UseVisualStyleBackColor = true;
  194. SettingButton.Click += SettingButton_Click;
  195. //
  196. // UpdateTimer
  197. //
  198. UpdateTimer.Enabled = true;
  199. UpdateTimer.Interval = 50;
  200. UpdateTimer.Tick += UpdateTimer_Tick;
  201. //
  202. // MainStatusBar
  203. //
  204. MainStatusBar.GripStyle = ToolStripGripStyle.Visible;
  205. MainStatusBar.ImageScalingSize = new Size(24, 24);
  206. MainStatusBar.Items.AddRange(new ToolStripItem[] { StatusBarLabel });
  207. MainStatusBar.Location = new Point(0, 699);
  208. MainStatusBar.Name = "MainStatusBar";
  209. MainStatusBar.Size = new Size(1044, 31);
  210. MainStatusBar.TabIndex = 7;
  211. MainStatusBar.Text = "statusStrip1";
  212. //
  213. // StatusBarLabel
  214. //
  215. StatusBarLabel.Name = "StatusBarLabel";
  216. StatusBarLabel.Size = new Size(1029, 24);
  217. StatusBarLabel.Spring = true;
  218. StatusBarLabel.Text = "Status Bar Label Brr Brr Brr Brr Brr Brr Brr Brr Brr";
  219. StatusBarLabel.TextAlign = ContentAlignment.MiddleLeft;
  220. //
  221. // SettingButtonToolTip
  222. //
  223. SettingButtonToolTip.IsBalloon = true;
  224. SettingButtonToolTip.ShowAlways = true;
  225. //
  226. // MainPanel
  227. //
  228. MainPanel.Controls.Add(StopButton);
  229. MainPanel.Controls.Add(SeekTrackBar);
  230. MainPanel.Controls.Add(MainListView);
  231. MainPanel.Controls.Add(PlayButton);
  232. MainPanel.Controls.Add(SettingButton);
  233. MainPanel.Controls.Add(PauseButton);
  234. MainPanel.Controls.Add(NextButton);
  235. MainPanel.Controls.Add(PrevButton);
  236. MainPanel.Dock = DockStyle.Fill;
  237. MainPanel.Location = new Point(0, 0);
  238. MainPanel.Name = "MainPanel";
  239. MainPanel.Size = new Size(1044, 699);
  240. MainPanel.TabIndex = 8;
  241. //
  242. // SeekTrackBarToolTip
  243. //
  244. SeekTrackBarToolTip.ShowAlways = true;
  245. //
  246. // MainForm
  247. //
  248. AutoScaleDimensions = new SizeF(11F, 24F);
  249. AutoScaleMode = AutoScaleMode.Font;
  250. ClientSize = new Size(1044, 730);
  251. Controls.Add(MainPanel);
  252. Controls.Add(MainStatusBar);
  253. Name = "MainForm";
  254. FormClosed += MainForm_FormClosed;
  255. Shown += MainForm_Shown;
  256. ((System.ComponentModel.ISupportInitialize)SeekTrackBar).EndInit();
  257. MainStatusBar.ResumeLayout(false);
  258. MainStatusBar.PerformLayout();
  259. MainPanel.ResumeLayout(false);
  260. MainPanel.PerformLayout();
  261. ResumeLayout(false);
  262. PerformLayout();
  263. }
  264. #endregion
  265. private TrackBar SeekTrackBar;
  266. private Button StopButton;
  267. private Button PlayButton;
  268. private Button PauseButton;
  269. private Button PrevButton;
  270. private Button NextButton;
  271. private ListView MainListView;
  272. private ColumnHeader TitleColumnHeader;
  273. private ColumnHeader DurColumnHeader;
  274. private ImageList AlbumImageList;
  275. private ColumnHeader StateColumnHeader;
  276. private Button SettingButton;
  277. private System.Windows.Forms.Timer UpdateTimer;
  278. private StatusStrip MainStatusBar;
  279. private ToolStripStatusLabel StatusBarLabel;
  280. private ContextMenuStrip MainContextMenu;
  281. private ToolTip SettingButtonToolTip;
  282. private Panel panel1;
  283. private Panel MainPanel;
  284. private ToolTip SeekTrackBarToolTip;
  285. }
  286. }