01-窗体技巧/滚动字幕/FollCaption/Form1.Designer.cs
(开头部分) 5KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
namespace FollCaption
{
partial class Form1
{
/// <summary>
/// 必需的设计器变量。
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// 清理所有正在使用的资源。
/// </summary>
/// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows 窗体设计器生成的代码
/// <summary>
/// 设计器支持所需的方法 - 不要
/// 使用代码编辑器修改此方法的内容。
/// </summary>
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
this.listBox1 = new System.Windows.Forms.ListBox();
this.timer1 = new System.Windows.Forms.Timer(this.components);
this.SuspendLayout();
//
// listBox1
//
this.listBox1.BackColor = System.Drawing.SystemColors.WindowText;
this.listBox1.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.listBox1.ForeColor = System.Drawing.SystemColors.InactiveCaption;
this.listBox1.FormattingEnabled = true;
this.listBox1.ItemHeight = 12;
this.listBox1.Items.AddRange(new object[] {
"/// <summary>",
"/// 在显示预览和屏保前,对窗体中的各控件进行设置",
"/// </summary>",
"/// <param panel =\"Control\">设置父级控件</param>",
"public void multimedia(Control panel)",
"{",
" LabelVisible(true);\t\t\t\t\t\t\t\t\t//显示要移动的文本",
" if (panel.Name == \"form1\")\t\t\t\t\t\t\t\t//如果父级窗体是当前窗体",
" {",
" isbool = false;\t\t\t\t\t\t\t\t\t//隐藏",
" fontSize = 20;\t\t\t\t\t\t\t\t\t//设置字体大小",
" }",
" else",
" {",
" isbool = true;\t\t\t\t\t\t\t\t\t\t//显示",
" fontSize = 10;\t\t\t\t\t\t\t\t\t//设置字体大小",
" }",
后面还有 55 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读 AI
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
