当前位置: 首页 > news >正文

wordpress附件下载网站整站优化推广方案

wordpress附件下载,网站整站优化推广方案,循化县wap网站建设公司,logo设计在线生成免费无水印不需要登陆在窗口的中间有一个System.Windows.Forms.PictureBox控件(该控件区域的面积为所在窗口的1/4),当该控件的大部分区域落在其中一台显示器时,在另一台显示器将不显示该控件,(该PictureBox控件将移动到主显示器…
在窗口的中间有一个System.Windows.Forms.PictureBox控件(该控件区域的面积为所在窗口的1/4),当该控件的大部分区域落在其中一台显示器时,在另一台显示器将不显示该控件,(该PictureBox控件将移动到主显示器所在的窗口区域)。  
实现方法:
using System; 
using System.Drawing; 
using System.Collections; 
using System.ComponentModel; 
using System.Windows.Forms; 
using System.Data; 
namespace WindowsApplication12 
/// <summary> 
/// Summary description for Form1. 
/// </summary> 
public class Form1 : System.Windows.Forms.Form 
private int tmpx = 0; 
private int tmpy = 0; 
private System.Windows.Forms.PictureBox pictureBox1; 
/// <summary> 
/// Required designer variable. 
/// </summary> 
private System.ComponentModel.Container components = null; 
System.Drawing.Rectangle[] ScreensRect; 
public Form1() 
// 
// Required for Windows Form Designer support 
// 
InitializeComponent(); 
// 
// TODO: Add any constructor code after InitializeComponent call 
// 
/// <summary> 
/// Clean up any resources being used. 
/// </summary> 
protected override void Dispose( bool disposing ) 
if( disposing ) 
if (components != null) 
components.Dispose(); 
base.Dispose( disposing ); 
#region Windows Form Designer generated code 
/// <summary> 
/// Required method for Designer support - do not modify 
/// the contents of this method with the code editor. 
/// </summary> 
private void InitializeComponent() 
this.pictureBox1 = new System.Windows.Forms.PictureBox(); 
this.SuspendLayout(); 
// 
// pictureBox1 
// 
this.pictureBox1.BackColor = System.Drawing.SystemColors.HotTrack; 
this.pictureBox1.Location = new System.Drawing.Point(120, 88); 
this.pictureBox1.Name = "pictureBox1"; 
this.pictureBox1.Size = new System.Drawing.Size(248, 176); 
this.pictureBox1.TabIndex = 0; 
this.pictureBox1.TabStop = false; 
// 
// Form1 
// 
this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); 
this.ClientSize = new System.Drawing.Size(504, 357); 
this.Controls.Add(this.pictureBox1); 
this.Name = "Form1"; 
this.Text = "Form1"; 
this.MouseDown += new System.Windows.Forms.MouseEventHandler(this.Form1_MouseDown); 
this.Load += new System.EventHandler(this.Form1_Load); 
this.MouseUp += new System.Windows.Forms.MouseEventHandler(this.Form1_MouseUp); 
this.ResumeLayout(false); 
#endregion 
/// <summary> 
/// The main entry point for the application. 
/// </summary> 
[STAThread] 
static void Main() 
Application.Run(new Form1()); 
private void Form1_MouseDown(object sender, System.Windows.Forms.MouseEventArgs e) 
this.tmpx = e.X; 
this.tmpy = e.Y; 
this.MouseMove += new System.Windows.Forms.MouseEventHandler(this.form1_MouseMove); 
private void Form1_MouseUp(object sender, System.Windows.Forms.MouseEventArgs e) 
this.MouseMove -= new System.Windows.Forms.MouseEventHandler(this.form1_MouseMove); 
System.Drawing.Rectangle pictureBox1Rect=Screen.GetWorkingArea(pictureBox1); 
for(int i=0;i<ScreensRect.Length;i++) 
if(ScreensRect[i].X==pictureBox1Rect.X && ScreensRect[i].Y==pictureBox1Rect.Y) 
this.Location=new Point(ScreensRect[i].X,pictureBox1Rect.Y); 
//MessageBox.Show(" WorkingArea:" + re.ToString()); 
private void form1_MouseMove(object sender, MouseEventArgs e) 
this.Location = new System.Drawing.Point(this.Location.X + e.X - this.tmpx, this.Location.Y + e.Y - this.tmpy); 
private void Form1_Load(object sender, System.EventArgs e) 
Screen[] s=Screen.AllScreens; 
ScreensRect=new Rectangle[s.Length]; 
for(int i=0;i<s.Length;i++) 
ScreensRect[i]= s[i].WorkingArea; 
}  
http://www.lbrq.cn/news/2737387.html

相关文章:

  • html 网站 模板中文seo基础入门视频教程
  • 青海高端网站建设价格百度搜索广告推广
  • 禁止wordpress自动更新优化关键词排名软件
  • 厦门做网站找哪家公司sem广告投放是做什么的
  • 出入库管理软件 免费seo流量优化
  • 如何搭建一个企业子账号网站独立站seo怎么做
  • 寻乌建设局网站邀请推广app
  • 网站怎么做才吸引人百度网站网址是多少
  • 武汉市内做网站的公司品牌建设
  • 文明网站建设方案及管理制度教育培训网站大全
  • 人社系统网站一体化建设方案seo是什么牌子
  • 老外做的汉语网站如何自己做一个网址
  • 网站可以做伦理片吗好省推广100种方法
  • 西安网站运营免费的外贸网站推广方法
  • 十四冶建设集团技工学校网站软文写作的技巧
  • 大理网站建设怎么在百度上发帖推广
  • 网站策划的重要性千牛怎么做免费推广引流
  • mvc5做博客网站百度搜索关键词排名靠前
  • 本地网站可以做吗如何创建微信小程序
  • 动态表白网站制作叶涛网站推广优化
  • 职高网站建设例题全面的seo网站优化排名
  • 单人做网站搜索引擎的网站
  • 广州seo工作室电池优化大师下载
  • 网站站点不安全电话销售如何快速吸引客户
  • 哪里有做鸭的网站企业网站建设哪家好
  • 黑龙江做网站的公司有哪些郑州网络推广专业公司
  • 网站高防空间杭州百度百科
  • 杭州聚翔网络有限公司seo客服
  • 建设网站的难点seo页面优化技术
  • 秦皇岛网站开发广州新闻报道
  • 11.web api 2
  • Hexo 双分支部署指南:从原理到 Netlify 实战
  • 《C语言程序设计》笔记p10
  • 如何在FastAPI中玩转APScheduler,实现动态定时任务的魔法?
  • ETH持续上涨推动DEX热潮,交易活跃度飙升的XBIT表现强势出圈
  • [论文阅读] 人工智能 | 当Hugging Face遇上GitHub:预训练语言模型的跨平台同步难题与解决方案