C#在窗体中设计滚动字幕的方法
namespace _188
{
partial class Form1
{
///
/// 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();
button1 = new Button();
button2 = new Button();
button3 = new Button();
timer1 = new System.Windows.Forms.Timer(components);
label1 = new Label();
SuspendLayout();
//
// button1
//
button1.Location = new Point(267, 73);
button1.Name = "button1";
button1.Size = new Size(75, 23);
button1.TabIndex = 0;
button1.Text = "演示";
button1.UseVisualStyleBackColor = true;
button1.Click += Button1_Click;
//
// button2
//
button2.Location = new Point(267, 102);
button2.Name = "button2";
button2.Size = new Size(75, 23);
button2.TabIndex = 1;
button2.Text = "停止";
button2.UseVisualStyleBackColor = true;
button2.Click += Button2_Click;
//
// button3
//
button3.Location = new Point(267, 131);
button3.Name = "button3";
button3.Size = new Size(75, 23);
button3.TabIndex = 2;
button3.Text = "关闭";
button3.UseVisualStyleBackColor = true;
button3.Click += Button3_Click;
//
// timer1
//
timer1.Tick += Timer1_Tick;
//
// label1
//
label1.AutoSize = true;
label1.Font = new Font("Microsoft YaHei UI", 18F);
label1.ForeColor = Color.Red;
label1.Location = new Point(1, 221);
label1.Name = "label1";
label1.Size = new Size(470, 31);
label1.TabIndex = 3;
label1.Text = "好消息:本店让利大酬宾,所有商品八折。";
//
// Form1
//
AutoScaleDimensions = new SizeF(7F, 17F);
AutoScaleMode = AutoScaleMode.Font;
BackgroundImage = Properties.Resources._05;
BackgroundImageLayout = ImageLayout.Stretch;
ClientSize = new Size(354, 267);
Controls.Add(label1);
Controls.Add(button3);
Controls.Add(button2);
Controls.Add(button1);
Name = "Form1";
StartPosition = FormStartPosition.CenterScreen;
Text = "窗体中滚动字幕";
ResumeLayout(false);
PerformLayout();
}
#endregion
private Button button1;
private Button button2;
private Button button3;
private System.Windows.Forms.Timer timer1;
private Label label1;
}
}
- .NET Core系列之MemoryCache 初识
- 007手机一键Root(安机网一键Root) v3.0 官方最新版 一键ROOT您的Android手机
- 12306密码被盗了怎么办?12306密码外泄解决方法
- 12个字的qq网名
- 150M迷你型无线路由器怎么设置?
- 192.168.1.1打不开怎么办?路由器192.168.1.1打不开的原因以及解决办法
- 2011年电子报合订本 电子报 编辑部 中文 PDF版 [84M]
- 2015年1月15日小米新旗舰发布会现场图文直播
- 2016.3.1vivo Xplay5新品发布会现场视频直播 优酷直播
- 2016华为P9发布会视频直播地址 4月15日华为P9国行发布会直播