Beta2的ScreenSaver

作者:袖梨 2022-07-02
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;

相关文章

精彩推荐