2007-01-05

C#模仿QQ截图功能

来源: CSDN 作者:往事随风 评论 0 条
 
{
this.area=Rectangle.Empty;
this.Invalidate();
tiptext.Text = noselectString;
}
else if(e.KeyData == Keys.Escape)
{this.Close();}
}

private void tiptext_MouseMove(object sender, System.Windows.Forms.MouseEventArgs e)
{
if (tiptext.Location.X == 10 && tiptext.Location.Y == 10)
{
Point formloc = new Point((Screen.PrimaryScreen.Bounds.Width - 176),10) ;
tiptext.Location = formloc;
}
else
{tiptext.Location = new Point(10,10);}
}

private void MouseCaptureForm_Load(object sender, System.EventArgs e)
{
tiptext.Text = noselectString;
}
}
}


共8页: 上一页 [1] [2] [3] [4] [5] [6] [7] 8 下一页
(本文仅表明作者个人观点,不代表本站及其管理员立场.) 推荐 收藏 投稿 打印 返回 关闭
上一篇:Java应用web开发备用工具  
下一篇:详细讲述Java中的克隆
    评论加载中…
 推荐文章
     

网站首页  -  网站地图 -   站长论坛  -  网站投稿  -    -  网站管理
Copyright © 2008 芜湖站长站 All Rights Reserved 皖ICP备07500611号