C#能在“显示器上”画图吗?请大家给一点提示 大家都知道现在很多游戏都是全屏游戏我希望能在其它程序占用了全屏幕的情况下 在它上面(屏幕上)显示一些数据请问C#能不能做到呢 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 用XNA吧调用DX画研究一下在别的程序采用了全屏独占模式下,你怎么才能去抢它的全屏并且还不干扰它... 把一个窗边设置为None,然后最大后就是全屏的了,你想画什么都可以,比如:public partial class Form1 : Form{ public Form1() { InitializeComponent(); this.FormBorderStyle = FormBorderStyle.None; this.WindowState = FormWindowState.Maximized; } protected override void OnPaint(PaintEventArgs e) { base.OnPaint(e); using (StringFormat format = new StringFormat()) { format.LineAlignment = StringAlignment.Center; format.Alignment = StringAlignment.Center; e.Graphics.DrawString("全屏测试!", this.Font, SystemBrushes.ControlText, this.ClientRectangle, format); } }} c# winform 二进制流的问题 求 richtextbox 插入表情图片(gif)的方法 请教如何提取本地所有网卡MAC地址? [简单问题]问一个显示中文的问题 用c#如何编写 在WinForm中实现类似于Session的功能 请教一个关于属性的问题 udp----数据分包问题! C#字符串转换,高手请进,急!! 64位程序读取Excel的问题 wpf发布网站问题 关于键锁的设计讨论
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
this.FormBorderStyle = FormBorderStyle.None;
this.WindowState = FormWindowState.Maximized;
}
protected override void OnPaint(PaintEventArgs e)
{
base.OnPaint(e);
using (StringFormat format = new StringFormat())
{
format.LineAlignment = StringAlignment.Center;
format.Alignment = StringAlignment.Center;
e.Graphics.DrawString("全屏测试!", this.Font, SystemBrushes.ControlText, this.ClientRectangle, format);
}
}
}