谁做过系统消息提醒功能的啊 分享下啊 有谁用过.net、C#做过消息提醒功能的啊 ,比如我设定有了每天要做的工作,然后当我打开工作网站时就提醒我今天要做的事,和那个QQ邮件到达提醒可能有点相近。 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Windows.Forms;namespace StockWorkClient{ public partial class FormMsgTip : Form { public FormMsgTip() { InitializeComponent(); m_screenHeight = Screen.PrimaryScreen.Bounds.Height; m_screenWidth = Screen.PrimaryScreen.Bounds.Width; //设置提示窗口坐标在屏幕可显示区域之外 this.Location = new Point(m_screenWidth - Width, m_screenHeight); this.timer1.Enabled = true; } private int m_screenWidth;//屏幕宽度 private int m_screenHeight;//屏幕高度 private bool m_finished = false;//是否完全显示提示窗口 private void timer1_Tick(object sender, EventArgs e) { if (!m_finished)//如果提示窗口没有完全显示 { //如果提示窗口的纵坐标与提示窗口的高度之和大于屏幕高度 if (this.Location.Y + Height + 30 >= m_screenHeight) { this.Location = new Point(this.Location.X, Location.Y - 8); } } else//如果提示窗口已经完成了显示,并且点击了确定按钮 { //如果提示窗口没有完全从屏幕上消失 if (this.Location.Y < m_screenHeight) { this.Location = new Point(this.Location.X, Location.Y + 8); } else//如果已经消失,则关闭 { this.Close(); } m_finished = true; } } private void button1_Click(object sender, EventArgs e) { } private void button2_Click(object sender, EventArgs e) { this.m_finished = true; //StockClient.Current. } }}窗体显示代码。业务逻辑方面,你设置一个数据库,输入事务和时间,设置timer , 检查到时间然后出上面的窗体。 有没有关于web的啊,还没研究出来呢?希望能指导一下 serialPort如何让目标机执行程序呢? 求助:帮忙完成CRC8校验代码,附功能函数 C#里窗体的默认度量单位是什么?怎么改它? 求一个正则表达式 URLRewriter(有时出现NullReferenceException: 未将对象引用设置到对象的实例) 转换一段C的程序,移位等逻辑运算 初學者的問題 各位大哥幫忙解決一下 一个棘手的问题,C#获取word文档表格中的格式文本,获取不到编号,内。 关于属性中使用索引符 C#窗口最小化后,无法监控剪贴板??? [winform]关于datagridview绑定list<T>数据后不能刷新显示的问题 C#按指定的长度读取TXT文件
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;namespace StockWorkClient
{
public partial class FormMsgTip : Form
{
public FormMsgTip()
{
InitializeComponent(); m_screenHeight = Screen.PrimaryScreen.Bounds.Height; m_screenWidth = Screen.PrimaryScreen.Bounds.Width; //设置提示窗口坐标在屏幕可显示区域之外 this.Location = new Point(m_screenWidth - Width, m_screenHeight);
this.timer1.Enabled = true;
} private int m_screenWidth;//屏幕宽度 private int m_screenHeight;//屏幕高度 private bool m_finished = false;//是否完全显示提示窗口 private void timer1_Tick(object sender, EventArgs e)
{ if (!m_finished)//如果提示窗口没有完全显示
{ //如果提示窗口的纵坐标与提示窗口的高度之和大于屏幕高度 if (this.Location.Y + Height + 30 >= m_screenHeight)
{ this.Location = new Point(this.Location.X, Location.Y - 8); } } else//如果提示窗口已经完成了显示,并且点击了确定按钮
{ //如果提示窗口没有完全从屏幕上消失 if (this.Location.Y < m_screenHeight)
{ this.Location = new Point(this.Location.X, Location.Y + 8); }
else//如果已经消失,则关闭
{
this.Close();
}
m_finished = true; } } private void button1_Click(object sender, EventArgs e)
{ } private void button2_Click(object sender, EventArgs e)
{
this.m_finished = true;
//StockClient.Current.
} }
}
窗体显示代码。业务逻辑方面,你设置一个数据库,输入事务和时间,设置timer , 检查到时间然后出上面的窗体。