Files
Docker/uniapp/Google Chrome/VideoListForm.Designer.cs
T
2026-11-06 16:14:51 +08:00

102 lines
3.5 KiB
C#

namespace WinFormsApp3
{
partial class VideoListForm
{
private System.ComponentModel.IContainer components = null;
protected override void Dispose(bool disposing)
{
if (disposing)
{
components?.Dispose();
}
base.Dispose(disposing);
}
private void InitializeComponent()
{
components = new System.ComponentModel.Container();
pnlVideos = new Panel();
panelBottom = new Panel();
lblHint = new Label();
flowButtons = new FlowLayoutPanel();
btnDownload = new Button();
btnCancel = new Button();
SuspendLayout();
//
// pnlVideos
//
pnlVideos.AutoScroll = true;
pnlVideos.Dock = DockStyle.Fill;
pnlVideos.Name = "pnlVideos";
//
// panelBottom
//
panelBottom.Controls.Add(flowButtons);
panelBottom.Controls.Add(lblHint);
panelBottom.Dock = DockStyle.Bottom;
panelBottom.Height = 48;
panelBottom.Name = "panelBottom";
//
// lblHint
//
lblHint.AutoSize = true;
lblHint.Location = new Point(12, 15);
lblHint.Name = "lblHint";
lblHint.Text = "正在生成预览截图…";
//
// flowButtons
// 用从右往左的流式布局放按钮,避免 Anchor+固定坐标在初始化时被锚点公式推出窗外
//
flowButtons.Controls.Add(btnCancel);
flowButtons.Controls.Add(btnDownload);
flowButtons.Dock = DockStyle.Right;
flowButtons.FlowDirection = FlowDirection.RightToLeft;
flowButtons.Location = new Point(600, 0);
flowButtons.Name = "flowButtons";
flowButtons.Size = new Size(300, 48);
flowButtons.WrapContents = false;
//
// btnDownload
//
btnDownload.Margin = new Padding(0, 9, 8, 9);
btnDownload.Name = "btnDownload";
btnDownload.Size = new Size(150, 30);
btnDownload.Text = "下载选中 (0)";
btnDownload.UseVisualStyleBackColor = true;
btnDownload.Click += btnDownload_Click;
//
// btnCancel
//
btnCancel.DialogResult = DialogResult.Cancel;
btnCancel.Margin = new Padding(0, 9, 4, 9);
btnCancel.Name = "btnCancel";
btnCancel.Size = new Size(88, 30);
btnCancel.Text = "取消";
btnCancel.UseVisualStyleBackColor = true;
//
// VideoListForm
//
CancelButton = btnCancel;
AcceptButton = btnDownload;
ClientSize = new Size(900, 640);
Controls.Add(pnlVideos);
Controls.Add(panelBottom);
MinimumSize = new Size(640, 400);
Name = "VideoListForm";
StartPosition = FormStartPosition.CenterParent;
Text = "本页视频列表(截图预览,勾选后批量下载)";
panelBottom.ResumeLayout(false);
panelBottom.PerformLayout();
ResumeLayout(false);
}
private Panel pnlVideos;
private Panel panelBottom;
private Label lblHint;
private FlowLayoutPanel flowButtons;
private Button btnDownload;
private Button btnCancel;
}
}