基本信息
源码名称:钉钉打卡提示小程序
源码大小:75.90M
文件格式:.zip
开发语言:C#
更新时间:2021-11-18
友情提示:(无需注册或充值,赞助后即可获取资源下载链接)
嘿,亲!知识可是无价之宝呢,但咱这精心整理的资料也耗费了不少心血呀。小小地破费一下,绝对物超所值哦!如有下载和支付问题,请联系我们QQ(微信同号):78630559
本次赞助数额为: 2 元×
微信扫码支付:2 元
×
请留下您的邮箱,我们将在2小时内将文件发到您的邮箱
源码介绍
就是两个简单的从左到右,从下到上无窗口的小动画,有音效,在Windows任务计划程序库里,定时就可以,(不会查百度)。程序定时20多秒,自动关闭,不占用系统。有两个,一个上班提示,一个下班提示。定位不准的话,是分辨率不同,可在代码中可自行修改。
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Media;
namespace 下班提示
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void Form1_Load(object sender, EventArgs e)
{
SoundPlayer soundPlayer = new SoundPlayer(global::下班提示.Properties.Resources.下班声效);
soundPlayer.PlayLooping();
this.BackColor = Color.Blue;
this.TransparencyKey = Color.Blue;
this.Opacity = 1;
int x = System.Windows.Forms.Screen.PrimaryScreen.WorkingArea.Size.Width -850;
int y = System.Windows.Forms.Screen.PrimaryScreen.WorkingArea.Size.Height - 350;
this.SetDesktopLocation(x, y);
}
private void timer1_Tick_1(object sender, EventArgs e)
{
pictureBox1.Top -= 6;
if (pictureBox1.Top <= 230)
{
timer1.Stop();
pictureBox1.Top = 230;
}
}
private void timer2_Tick_1(object sender, EventArgs e)
{
timer3.Start();
}
private void timer3_Tick_1(object sender, EventArgs e)
{
pictureBox1.Top = 6;
if (pictureBox1.Top >= 330)
{
timer3.Stop();
pictureBox1.Top = 330;
}
}
private void timer4_Tick_1(object sender, EventArgs e)
{
this.Close();
}
}
}
就是两个简单的从左到右,从下到上无窗口的小动画,有音效,在Windows任务计划程序库里,定时就可以,(不会查百度)。程序定时20多秒,自动关闭,不占用系统。有两个,一个上班提示,一个下班提示。定位不准的话,是分辨率不同,可在代码中可自行修改。
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Media;
namespace 下班提示
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void Form1_Load(object sender, EventArgs e)
{
SoundPlayer soundPlayer = new SoundPlayer(global::下班提示.Properties.Resources.下班声效);
soundPlayer.PlayLooping();
this.BackColor = Color.Blue;
this.TransparencyKey = Color.Blue;
this.Opacity = 1;
int x = System.Windows.Forms.Screen.PrimaryScreen.WorkingArea.Size.Width -850;
int y = System.Windows.Forms.Screen.PrimaryScreen.WorkingArea.Size.Height - 350;
this.SetDesktopLocation(x, y);
}
private void timer1_Tick_1(object sender, EventArgs e)
{
pictureBox1.Top -= 6;
if (pictureBox1.Top <= 230)
{
timer1.Stop();
pictureBox1.Top = 230;
}
}
private void timer2_Tick_1(object sender, EventArgs e)
{
timer3.Start();
}
private void timer3_Tick_1(object sender, EventArgs e)
{
pictureBox1.Top = 6;
if (pictureBox1.Top >= 330)
{
timer3.Stop();
pictureBox1.Top = 330;
}
}
private void timer4_Tick_1(object sender, EventArgs e)
{
this.Close();
}
}
}