最新下载
热门教程
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
Beta2的ScreenSaver
时间:2022-07-02 11:37:42 编辑:袖梨 来源:一聚教程网
namespace Screen_Saver
{
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
//using System.WinForms;
using System.Windows.Forms;
using System.Data;
///
/// Summary description for Form1.
///
public class ScreenSaver : System.Windows.Forms.Form
{
///
/// Required designer variable.
///
private System.ComponentModel.Container components;
//private System.WinForms.Timer timerSaver;
private System.Windows.Forms.Timer timerSaver;
//private System.WinForms.Label lblMarquee;
private System.Windows.Forms.Label lblMarquee;
private int iSpeed = 2;
private string strMarqueeText="C Sharp Screen Saver";
private System.Drawing.Font fontMarquee = new System.Drawing.Font ("Arial", 20, System.Drawing.FontStyle.Bold);
private Color colorMarquee = System.Drawing.Color.FromArgb(255,255,255);
private int iDistance;
{
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
//using System.WinForms;
using System.Windows.Forms;
using System.Data;
///
/// Summary description for Form1.
///
public class ScreenSaver : System.Windows.Forms.Form
{
///
/// Required designer variable.
///
private System.ComponentModel.Container components;
//private System.WinForms.Timer timerSaver;
private System.Windows.Forms.Timer timerSaver;
//private System.WinForms.Label lblMarquee;
private System.Windows.Forms.Label lblMarquee;
private int iSpeed = 2;
private string strMarqueeText="C Sharp Screen Saver";
private System.Drawing.Font fontMarquee = new System.Drawing.Font ("Arial", 20, System.Drawing.FontStyle.Bold);
private Color colorMarquee = System.Drawing.Color.FromArgb(255,255,255);
private int iDistance;