登录
首页 » C# » 通过socketIo远程控制显示器(点亮/息屏),主要控制打开关闭

通过socketIo远程控制显示器(点亮/息屏),主要控制打开关闭

于 2018-07-21 发布
0 288
下载积分: 1 下载次数: 1

代码说明:

smarthome 是服务器端代码(nodejs),TrunOnMonitorDemo是客户端代码(c#)

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • Socket连接监听/发送实现
    【实例简介】Socket连接监听/发送实现
    2021-11-30 00:45:46下载
    积分:1
  • C# 套打Demo
    套打Demo 【核心代码】using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Text;using System.Windows.Forms;using System.Drawing.Printing;namespace Print_Demo{ public partial class Form1 : Form { public PrintDocument printDt = new PrintDocument(); //打印文档对象 Font printFont; //打印使用的字体 public Form1() { InitializeComponent(); } void printDt_PrintPage(object sender, PrintPageEventArgs e) { float pointX = 10; float pointY = 10; e.Graphics.DrawString("打印内容", new Font("宋体", 16F), Brushes.Black, pointX 60, pointY); e.Graphics.DrawLine(new Pen(Color.Black), pointX, pointY 26,pointX 300,pointY 26); e.Graphics.DrawString("打印内容", printFont, Brushes.Black, pointX, pointY 35); e.Graphics.DrawLine(new Pen(Color.Black), pointX, pointY 56, pointX 300, pointY 56); e.Graphics.DrawString("打印内容", printFont, Brushes.Black, pointX, pointY 65); e.Graphics.DrawLine(new Pen(Color.Black), pointX, pointY 86, pointX 300, pointY 86); e.Graphics.DrawString("打印内容", printFont, Brushes.Black, pointX, pointY 95); e.Graphics.DrawLine(new Pen(Color.Black), pointX, pointY 116, pointX 300, pointY 116); e.Graphics.DrawString("打印内容", printFont, Brushes.Black, pointX, pointY 125); e.Graphics.DrawLine(new Pen(Color.Black), pointX, pointY 146, pointX 300, pointY 146); e.Graphics.DrawString("打印内容", printFont, Brushes.Black, pointX, pointY 155); e.Graphics.DrawLine(new Pen(Color.Black), pointX, pointY 176, pointX 300, pointY 176); e.Graphics.DrawString("打印内容", printFont, Brushes.Black, pointX, pointY 185); e.Graphics.DrawLine(new Pen(Color.Black), pointX, pointY 206, pointX 300, pointY 206); e.Graphics.DrawString("检测结果", printFont, Brushes.Black, pointX, pointY 233); e.Graphics.DrawString("通过", new Font("宋体",22F,FontStyle.Bold), Brushes.Black, pointX 90, pointY 225); e.Graphics.DrawLine(new Pen(Color.Black), pointX, pointY 265, pointX 300, pointY 265); e.Graphics.DrawString("单位名称", printFont, Brushes.Black, pointX, pointY 275); } private void Form1_Load(object sender, EventArgs e) { printDt.PrintPage = new PrintPageEventHandler(printDt_PrintPage); printFont = new Font("宋体", 12F); } private void btnPrint_Click(object sender, EventArgs e) { //PrintDialog printDlg = new PrintDialog(); //printDlg.Document = printDt; //printDlg.AllowPrintToFile = true; //printDlg.AllowCurrentPage = true; //printDlg.AllowSelection = true; //printDlg.ShowDialog(); //printDlg.ShowDialog(); printDt.Print(); } private void btnLook_Click(object sender, EventArgs e) { PrintPreviewDialog printPreview = new PrintPreviewDialog(); printPreview.PrintPreviewControl.Document = printDt; printPreview.ShowDialog(this); } }}
    2021-05-06下载
    积分:1
  • 医院体检管理系统(设计文档+源码).rar
    文档部分:有软件工程开发全过程,包含需求分析,概要设计,数据库设计,详细设计以及小工程表和大工程表的设计模版等等,是一个较为完备的一套设计思路。 源码功能:内有数据库设计,用户注册,登陆,修改密码界面;主界面有体检登记,项目预览和预定,体检费用统计和项目录入,同时还有结果的录入;系统管理员还有对数据导入和导出的权限
    2019-10-14下载
    积分:1
  • C/C++经典面试题
    50个C、C 面试题.pdfC/C 经典面试题
    2020-06-05下载
    积分:1
  • C#窗体传值
    【实例简介】C#窗体传值
    2021-11-30 00:54:22下载
    积分:1
  • asp.net xml xslt 转换输出实例下载
    实现了通过xslt将xml转换输出效果
    2013-02-18下载
    积分:1
  • C++ Reference.chm
    C++ Reference.chm
    2020-03-02下载
    积分:1
  • C# .NET 站长导航网站程序
    程序的后台路径是/mxzadmin/,后台登陆账号和密码均为:mxiaozheng 本程序郑陆伟(www.zhengluwei.net)个人版权所有,不得以任何方式恶意散播,谢谢合作,违者必究。 如有疑问请联系作者QQ:512711380,站长导航QQ交流群:129293051 【V2.3】更新日志  更新于2013-7-27 1、增加百度联盟等联盟广告位,优化了首页的UI部分; 2、通过配置文件可以修改静态页面的生成路径,实现自定义路径功能,操作更加方面; 3、修复了部分虚拟主机点击后台登录按钮无反应的Bug; 4、修复了部分浏览器点击后台登录按钮无反应的Bug; 5、搜索框全面改版,只保留百度搜索。优化了用户体验,简化了操作。  【V2.1 】更新说明 1、修复了后台密码长度和管理员账号长度的相关错误; 2、在后台增加了用户可以自行修改设置弹窗信息的功能; 3、修复了数据库输入字符串不能为空的错误(其实这个错误是可以通过设置清空数据库实现的); 4、强化了SQL注入的防护。 关于本程序的环境配置和基本开发信息: .Net 2.0 Access数据库,MSSQL版本可以定制开发; 简单的采用了三层结构开发;全静态页面,有利于网站优化; 后台管理更加强大和方面,可以随意更换主站网址。 如果是虚拟空间使用本程序,请务必保证空间支持.net 2.0或以上版本,以免程序不能正常使用。 浏览器兼容:IE6-9,Firefox,Chrome内核的所有浏览器,Opera浏览器 技术特点:采用ASP.NET简单的三层架构开发,全站前台实现纯静态页面,利于网站整体优化。 功能描述:本代码是一个站长网址导航和搜索功能,用户可以在后台任意添加自己需要的链接。 注意事项:如果是虚拟空间使用本程序,请务必保证空间支持.net,以免程序不能正常使用。 另外,内置有标准的robots.txt文件,如果不明白,请勿随意修改,以免影响贵站的百度收录和排名。
    2014-10-17下载
    积分:1
  • c# winform 事件提醒实例源码
    c# winform 事件提醒实例源码
    2014-06-11下载
    积分:1
  • c++ 心形表白源码(可以闪烁变颜色)
    c++ 心形表白源码(可以闪烁变颜色)
    2020-01-19下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载