C#分屏技术,可以实现监控分屏

上传者: snoopyxl | 上传时间: 2019-12-21 21:08:44 | 文件大小: 35KB | 文件类型: rar
实现了简单的监控视屏分屏浏览技术 /// /// 计算视频面板位置和面积 /// /// /// 总面积和坐标 /// private IList CalcPanelRectangle(int channelCount, Size TotalArea) { IList result = new List(); //模数 int modulo; if (channelCount 64) modulo = 8; else modulo = (int)Math.Ceiling(Math.Sqrt(channelCount)); //平方根 int width, height; //单个画面大小 width = (TotalArea.Width - modulo * 1) / modulo; height = (TotalArea.Height - modulo * 1) / modulo; for (int i = 0; i < channelCount; i++) { Rectangle rect = new Rectangle(); //AxDICOMax.AxDICOMX rect = new AxDICOMax.AxDICOMX(); rect.Width = width; rect.Height = height; if (i % modulo == 0) { rect.X = 1; if (i == 0) rect.Y = 1; else rect.Y = result[i - modulo].Y + height + 1; } else { rect.X = result[i - 1].X + width + 1; rect.Y = result[i - 1].Y; } result.Add(rect); } return result; }

文件下载

资源详情

[{"title":"( 22 个子文件 35KB ) C#分屏技术,可以实现监控分屏","children":[{"title":"FenPing","children":[{"title":"FenPing","children":[{"title":"Form1.cs <span style='color:#111;'> 2.44KB </span>","children":null,"spread":false},{"title":"bin","children":[{"title":"Debug","children":[{"title":"FenPing.pdb <span style='color:#111;'> 23.50KB </span>","children":null,"spread":false},{"title":"FenPing.vshost.exe.manifest <span style='color:#111;'> 490B </span>","children":null,"spread":false},{"title":"FenPing.exe <span style='color:#111;'> 9.00KB </span>","children":null,"spread":false},{"title":"FenPing.vshost.exe <span style='color:#111;'> 13.99KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"obj","children":[{"title":"Debug","children":[{"title":"FenPing.pdb <span style='color:#111;'> 23.50KB </span>","children":null,"spread":false},{"title":"FenPing.exe <span style='color:#111;'> 9.00KB </span>","children":null,"spread":false},{"title":"FenPing.csproj.GenerateResource.Cache <span style='color:#111;'> 847B </span>","children":null,"spread":false},{"title":"FenPing.Form1.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"FenPing.csproj.FileListAbsolute.txt <span style='color:#111;'> 572B </span>","children":null,"spread":false},{"title":"TempPE","children":null,"spread":false},{"title":"FenPing.Properties.Resources.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"Properties","children":[{"title":"Resources.Designer.cs <span style='color:#111;'> 2.80KB </span>","children":null,"spread":false},{"title":"Settings.settings <span style='color:#111;'> 249B </span>","children":null,"spread":false},{"title":"Resources.resx <span style='color:#111;'> 5.48KB </span>","children":null,"spread":false},{"title":"Settings.Designer.cs <span style='color:#111;'> 1.07KB </span>","children":null,"spread":false},{"title":"AssemblyInfo.cs <span style='color:#111;'> 1.31KB </span>","children":null,"spread":false}],"spread":true},{"title":"Program.cs <span style='color:#111;'> 468B </span>","children":null,"spread":false},{"title":"Form1.Designer.cs <span style='color:#111;'> 1.93KB </span>","children":null,"spread":false},{"title":"Form1.resx <span style='color:#111;'> 5.68KB </span>","children":null,"spread":false},{"title":"FenPing.csproj <span style='color:#111;'> 3.27KB </span>","children":null,"spread":false}],"spread":true},{"title":"FenPing.sln <span style='color:#111;'> 911B </span>","children":null,"spread":false},{"title":"FenPing.suo <span style='color:#111;'> 11.50KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

  • csdn_980979768 :
    用不了啊,怎么运行啊,报错啊~~~.~~~
    2019-08-29
  • csdn_980979768 :
    用不了啊,怎么运行啊,报错啊~~~.~~~
    2019-08-29
  • kelly4061 :
    是和我想要的不是一个东西 不过还是谢谢分享
    2019-08-11
  • KELLY4061 :
    是和我想要的不是一个东西 不过还是谢谢分享
    2019-08-11
  • yinmozhen :
    仅仅实现的分割屏幕,还是感谢分享
    2018-12-12
  • yinmozhen :
    仅仅实现的分割屏幕,还是感谢分享
    2018-12-12
  • crystal420486142 :
    仅仅实现的分割屏幕,还是感谢分享
    2017-01-10
  • crystal420486142 :
    仅仅实现的分割屏幕,还是感谢分享
    2017-01-10
  • zhushiq1234 :
    有种骗分的嫌疑,这是分屏么T_T
    2016-12-14
  • 猿来不容易 :
    有种骗分的嫌疑,这是分屏么T_T
    2016-12-14

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明