namespace Bmp.WinForms { partial class MainForm { /// /// Required designer variable. /// private System.ComponentModel.IContainer components = null; /// /// Clean up any resources being used. /// /// true if managed resources should be disposed; otherwise, false. protected override void Dispose(bool disposing) { if (disposing && (components != null)) { components.Dispose(); } base.Dispose(disposing); } #region Windows Form Designer generated code /// /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// private void InitializeComponent() { components = new System.ComponentModel.Container(); ListViewItem listViewItem1 = new ListViewItem(new string[] { "1", "12:34:56" }, -1); ListViewItem listViewItem2 = new ListViewItem(new string[] { "2", "", "▶" }, -1); ListViewItem listViewItem3 = new ListViewItem("3"); ListViewItem listViewItem4 = new ListViewItem("4"); SeekTrackBar = new TrackBar(); StopButton = new Button(); PlayButton = new Button(); PauseButton = new Button(); PrevButton = new Button(); NextButton = new Button(); MainListView = new ListView(); TitleColumnHeader = new ColumnHeader(); DurColumnHeader = new ColumnHeader(); StateColumnHeader = new ColumnHeader(); MainContextMenu = new ContextMenuStrip(components); AlbumImageList = new ImageList(components); SettingButton = new Button(); UpdateTimer = new System.Windows.Forms.Timer(components); MainStatusBar = new StatusStrip(); SettingButtonToolTip = new ToolTip(components); PlaylistModeButton = new Button(); SeekTrackBarToolTip = new ToolTip(components); MainPanel = new TableLayoutPanel(); StatusBarLabel = new ToolStripStatusLabel(); ((System.ComponentModel.ISupportInitialize)SeekTrackBar).BeginInit(); MainStatusBar.SuspendLayout(); MainPanel.SuspendLayout(); SuspendLayout(); // // SeekTrackBar // SeekTrackBar.Dock = DockStyle.Fill; SeekTrackBar.LargeChange = 1; SeekTrackBar.Location = new Point(290, 2); SeekTrackBar.Margin = new Padding(2); SeekTrackBar.Name = "SeekTrackBar"; SeekTrackBar.Size = new Size(400, 49); SeekTrackBar.TabIndex = 6; SeekTrackBar.TickFrequency = 0; SeekTrackBar.TickStyle = TickStyle.Both; SeekTrackBar.ValueChanged += SeekTrackBar_ValueChanged; SeekTrackBar.MouseDown += SeekTrackBar_MouseDown; SeekTrackBar.MouseUp += SeekTrackBar_MouseUp; // // StopButton // StopButton.Dock = DockStyle.Fill; StopButton.Font = new Font("Microsoft YaHei UI", 19F); StopButton.Location = new Point(2, 2); StopButton.Margin = new Padding(2); StopButton.Name = "StopButton"; StopButton.Size = new Size(44, 49); StopButton.TabIndex = 0; StopButton.Text = "⏹️"; StopButton.UseVisualStyleBackColor = true; StopButton.Click += StopButton_Click; // // PlayButton // PlayButton.Dock = DockStyle.Fill; PlayButton.Font = new Font("Microsoft YaHei UI", 19F); PlayButton.Location = new Point(50, 2); PlayButton.Margin = new Padding(2); PlayButton.Name = "PlayButton"; PlayButton.Size = new Size(44, 49); PlayButton.TabIndex = 1; PlayButton.Text = "▶️"; PlayButton.UseVisualStyleBackColor = true; PlayButton.Click += PlayButton_Click; // // PauseButton // PauseButton.Dock = DockStyle.Fill; PauseButton.Font = new Font("Microsoft YaHei UI", 19F); PauseButton.Location = new Point(98, 2); PauseButton.Margin = new Padding(2); PauseButton.Name = "PauseButton"; PauseButton.Size = new Size(44, 49); PauseButton.TabIndex = 2; PauseButton.Text = "⏸"; PauseButton.UseVisualStyleBackColor = true; PauseButton.Click += PauseButton_Click; // // PrevButton // PrevButton.Dock = DockStyle.Fill; PrevButton.Font = new Font("Microsoft YaHei UI", 19F); PrevButton.Location = new Point(146, 2); PrevButton.Margin = new Padding(2); PrevButton.Name = "PrevButton"; PrevButton.Size = new Size(44, 49); PrevButton.TabIndex = 3; PrevButton.Text = "⏮"; PrevButton.UseVisualStyleBackColor = true; PrevButton.Click += PrevButton_Click; // // NextButton // NextButton.Dock = DockStyle.Fill; NextButton.Font = new Font("Microsoft YaHei UI", 19F); NextButton.Location = new Point(194, 2); NextButton.Margin = new Padding(2); NextButton.Name = "NextButton"; NextButton.Size = new Size(44, 49); NextButton.TabIndex = 4; NextButton.Text = "⏭"; NextButton.UseVisualStyleBackColor = true; NextButton.Click += NextButton_Click; // // MainListView // MainListView.AllowDrop = true; MainListView.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right; MainListView.Columns.AddRange(new ColumnHeader[] { TitleColumnHeader, DurColumnHeader, StateColumnHeader }); MainPanel.SetColumnSpan(MainListView, 8); MainListView.ContextMenuStrip = MainContextMenu; MainListView.FullRowSelect = true; MainListView.GroupImageList = AlbumImageList; MainListView.Items.AddRange(new ListViewItem[] { listViewItem1, listViewItem2, listViewItem3, listViewItem4 }); MainListView.Location = new Point(2, 55); MainListView.Margin = new Padding(2); MainListView.Name = "MainListView"; MainListView.ShowItemToolTips = true; MainListView.Size = new Size(736, 369); MainListView.TabIndex = 8; MainListView.UseCompatibleStateImageBehavior = false; MainListView.View = View.Details; MainListView.ColumnWidthChanging += MainListView_ColumnWidthChanging; MainListView.ItemActivate += MainListView_ItemActivate; MainListView.ItemDrag += MainListView_ItemDrag; MainListView.SizeChanged += MainListView_SizeChanged; MainListView.DragDrop += MainListView_DragDrop; MainListView.DragEnter += MainListView_DragEnter; MainListView.DragOver += MainListView_DragOver; MainListView.DragLeave += MainListView_DragLeave; MainListView.KeyDown += MainListView_KeyDown; // // TitleColumnHeader // TitleColumnHeader.DisplayIndex = 1; TitleColumnHeader.Text = "标题"; TitleColumnHeader.Width = 600; // // DurColumnHeader // DurColumnHeader.DisplayIndex = 2; DurColumnHeader.Text = "时长"; DurColumnHeader.TextAlign = HorizontalAlignment.Right; DurColumnHeader.Width = 120; // // StateColumnHeader // StateColumnHeader.DisplayIndex = 0; StateColumnHeader.Text = ""; StateColumnHeader.Width = 40; // // MainContextMenu // MainContextMenu.ImageScalingSize = new Size(24, 24); MainContextMenu.Name = "MainContextMenu"; MainContextMenu.Size = new Size(61, 4); MainContextMenu.Opening += MainContextMenu_Opening; // // AlbumImageList // AlbumImageList.ColorDepth = ColorDepth.Depth32Bit; AlbumImageList.ImageSize = new Size(48, 48); AlbumImageList.TransparentColor = Color.Transparent; // // SettingButton // SettingButton.Dock = DockStyle.Fill; SettingButton.Font = new Font("Microsoft YaHei UI", 19F); SettingButton.Location = new Point(694, 2); SettingButton.Margin = new Padding(2); SettingButton.Name = "SettingButton"; SettingButton.Size = new Size(44, 49); SettingButton.TabIndex = 7; SettingButton.Text = "🛠️"; SettingButton.UseVisualStyleBackColor = true; SettingButton.Click += SettingButton_Click; // // UpdateTimer // UpdateTimer.Enabled = true; UpdateTimer.Interval = 50; UpdateTimer.Tick += UpdateTimer_Tick; // // MainStatusBar // MainStatusBar.GripStyle = ToolStripGripStyle.Visible; MainStatusBar.ImageScalingSize = new Size(25, 25); MainStatusBar.Items.AddRange(new ToolStripItem[] { StatusBarLabel }); MainStatusBar.Location = new Point(4, 430); MainStatusBar.Name = "MainStatusBar"; MainStatusBar.Padding = new Padding(1, 0, 9, 0); MainStatusBar.Size = new Size(740, 22); MainStatusBar.TabIndex = 7; MainStatusBar.Text = "statusStrip1"; // // SettingButtonToolTip // SettingButtonToolTip.IsBalloon = true; SettingButtonToolTip.ShowAlways = true; // // PlaylistModeButton // PlaylistModeButton.Dock = DockStyle.Fill; PlaylistModeButton.Font = new Font("Microsoft YaHei UI", 19F); PlaylistModeButton.Location = new Point(242, 2); PlaylistModeButton.Margin = new Padding(2); PlaylistModeButton.Name = "PlaylistModeButton"; PlaylistModeButton.Size = new Size(44, 49); PlaylistModeButton.TabIndex = 5; PlaylistModeButton.Text = "⇶"; PlaylistModeButton.UseVisualStyleBackColor = true; PlaylistModeButton.Click += PlaylistModeButton_Click; PlaylistModeButton.Paint += PlaylistModeButton_Paint; // // SeekTrackBarToolTip // SeekTrackBarToolTip.ShowAlways = true; // // MainPanel // MainPanel.ColumnCount = 8; MainPanel.ColumnStyles.Add(new ColumnStyle(SizeType.Absolute, 48F)); MainPanel.ColumnStyles.Add(new ColumnStyle(SizeType.Absolute, 48F)); MainPanel.ColumnStyles.Add(new ColumnStyle(SizeType.Absolute, 48F)); MainPanel.ColumnStyles.Add(new ColumnStyle(SizeType.Absolute, 48F)); MainPanel.ColumnStyles.Add(new ColumnStyle(SizeType.Absolute, 48F)); MainPanel.ColumnStyles.Add(new ColumnStyle(SizeType.Absolute, 48F)); MainPanel.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 100F)); MainPanel.ColumnStyles.Add(new ColumnStyle(SizeType.Absolute, 48F)); MainPanel.Controls.Add(MainListView, 0, 1); MainPanel.Controls.Add(SeekTrackBar, 6, 0); MainPanel.Controls.Add(SettingButton, 7, 0); MainPanel.Controls.Add(StopButton, 0, 0); MainPanel.Controls.Add(PlayButton, 1, 0); MainPanel.Controls.Add(PauseButton, 2, 0); MainPanel.Controls.Add(PlaylistModeButton, 5, 0); MainPanel.Controls.Add(PrevButton, 3, 0); MainPanel.Controls.Add(NextButton, 4, 0); MainPanel.Dock = DockStyle.Fill; MainPanel.Location = new Point(4, 4); MainPanel.Margin = new Padding(2); MainPanel.Name = "MainPanel"; MainPanel.RowCount = 2; MainPanel.RowStyles.Add(new RowStyle(SizeType.Absolute, 53F)); MainPanel.RowStyles.Add(new RowStyle(SizeType.Percent, 100F)); MainPanel.Size = new Size(740, 426); MainPanel.TabIndex = 9; // // StatusBarLabel // StatusBarLabel.BorderStyle = Border3DStyle.SunkenOuter; StatusBarLabel.DisplayStyle = ToolStripItemDisplayStyle.Text; StatusBarLabel.Name = "StatusBarLabel"; StatusBarLabel.Size = new Size(300, 17); StatusBarLabel.Text = "Status Bar Label Brr Brr Brr Brr Brr Brr Brr Brr Brr"; StatusBarLabel.TextAlign = ContentAlignment.MiddleLeft; // // MainForm // AutoScaleDimensions = new SizeF(7F, 17F); AutoScaleMode = AutoScaleMode.Font; ClientSize = new Size(748, 456); Controls.Add(MainPanel); Controls.Add(MainStatusBar); Margin = new Padding(2); Name = "MainForm"; Padding = new Padding(4); FormClosed += MainForm_FormClosed; Shown += MainForm_Shown; ((System.ComponentModel.ISupportInitialize)SeekTrackBar).EndInit(); MainStatusBar.ResumeLayout(false); MainStatusBar.PerformLayout(); MainPanel.ResumeLayout(false); MainPanel.PerformLayout(); ResumeLayout(false); PerformLayout(); } #endregion private TrackBar SeekTrackBar; private Button StopButton; private Button PlayButton; private Button PauseButton; private Button PrevButton; private Button NextButton; private ListView MainListView; private ColumnHeader TitleColumnHeader; private ColumnHeader DurColumnHeader; private ImageList AlbumImageList; private ColumnHeader StateColumnHeader; private Button SettingButton; private System.Windows.Forms.Timer UpdateTimer; private StatusStrip MainStatusBar; private ContextMenuStrip MainContextMenu; private ToolTip SettingButtonToolTip; private Panel panel1; private ToolTip SeekTrackBarToolTip; private Button PlaylistModeButton; private TableLayoutPanel MainPanel; private ToolStripStatusLabel StatusBarLabel; } }