登录
首页 » 其他 » C# 设置屏幕分辨率

C# 设置屏幕分辨率

于 2023-03-16 发布 文件大小:14.35 kB
0 95
下载积分: 2 下载次数: 1

代码说明:

C# 改变屏幕分辨率,功能仿windows 的屏幕分辨率设置,改变滑块改变分辨率大校本例可学习一下滑块的用法。源代码如下:   long RetVal = 0;   DEVMODE dm = new DEVMODE();   dm.dmSize = (short)Marshal.SizeOf(typeof(DEVMODE));   dm.dmPelsWidth = dWidth;//宽   dm.dmPelsHeight = dHeight;//高   dm.dmDisplayFrequency = 85;//刷新率   dm.dmFields = DEVMODE.DM_PELSWIDTH | DEVMODE.DM_PELSHEIGHT | DEVMODE.DM_DISPLAYFREQUENCY | DEVMODE.DM_BITSPERPEL;   RetVal = ChangeDisplaySettings(ref dm, 0);

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

发表评论

0 个回复

  • MDIPicSize
    MDIPicSize控件 上传资料内有详细功能,自己查阅-MDIPicSize
    2022-05-30 06:50:21下载
    积分:1
  • 影院售票系统完整源码,图形化售票、退票、预定票直观明了...
    影院售票系统完整源码,图形化售票、退票、预定票直观明了-cinema ticketing system integrity source, graphical tickets, refunds, scheduled votes intuitive understanding
    2022-06-28 08:57:56下载
    积分:1
  • 软件简介: 调查投票系统介绍: 可生成网上可见的多数调查系统投票系统, 支持同时产生多套调查投票, 可自定义题目类型(如单选+多选,单选+文字,...
    软件简介: 调查投票系统介绍: 可生成网上可见的多数调查系统投票系统, 支持同时产生多套调查投票, 可自定义题目类型(如单选+多选,单选+文字,纯文字等类型) 可自由更换界面,使用时提交和提交成功界面均是纯Html格式。 随时可对使用中投票调查进行更改,随时查看调查结果。 投票还原功能,可以将统计结果还原成各个投票者的投票情况。 -software brief : Investigation voting system introduced : Visibility can be generated on-line survey system of the majority voting system, while generating support multiple investigations to vote, since the definition of topic types (eg danxuan choose, radio text, text and other types) are free to replace the interface, use the submission and the author successful interface is pure html format. Ready to use poll for changes at any time to see results. Voting reduction function can be reduced to statistical results of all voters vote.
    2022-09-04 00:55:03下载
    积分:1
  • 棋盘算法,在给定大小的方格状棋盘上, 将棋子”马”放在指定的起始位置 , 棋子”马” 的走子的规则为必须在棋盘上走”日”字 从棋子”马”的起始位置开始, 搜索出...
    棋盘算法,在给定大小的方格状棋盘上, 将棋子”马”放在指定的起始位置 , 棋子”马” 的走子的规则为必须在棋盘上走”日”字 从棋子”马”的起始位置开始, 搜索出一条可行的路径, 使得棋子”马”能走遍棋盘上的所有落子点, 而且每个落子点只能走一次 -Checkerboard algorithm, given the size of the square-shaped board, will be a pawn of " horses" on the specified start position, the pieces of " horses" take the child must be the rules of the board to the " day" word from a pawn " horses, " starting position of the beginning, search out a feasible path, makes the piece" Horse " can be traveled on board all the Lazi, and they can only go once every Lazi point
    2022-09-29 00:25:06下载
    积分:1
  • ti-dsp2407的电动机控制和音频输出程序-ti-dsp2407 motor control and audio output procedures
    2023-05-23 04:15:03下载
    积分:1
  • 聊天机器人Delphi程序源码
    Delphi聊天机器人程序,会和聊天用户进行简单的对话,回复简单的问题,实际上是预设了几种聊天用语,程序自动调用而实现。   聊天短语内容存储在Access数据库中,并做了防止重复回复的功能,尽量做到人性化,当然,程序还差的很远,仅供参考。
    2022-01-25 14:57:35下载
    积分:1
  • 各种LMS改进算法的仿真与分析说明对各种改进算法的优缺点在文档中进行了对比...
    各种LMS改进算法的仿真与分析说明对各种改进算法的优缺点在文档中进行了对比-A variety of LMS Algorithm for simulation and analysis shows the advantages and disadvantages of various improved algorithms have been compared in the document
    2022-02-07 17:55:09下载
    积分:1
  • 皇后问题解法任意皇后可解
    皇后问题解法任意皇后可解-Solutions arbitrary Queen"s Queen"s solvable
    2023-02-01 17:00:04下载
    积分:1
  • 我选择约瑟夫问题(附带一个合数段的问题这是我们第一次的考试题)做我最后一个上传的代码。因为这是我付出最多的一个,我的第一个程序,当时全班就我一个弄了出来现在想起...
    我选择约瑟夫问题(附带一个合数段的问题这是我们第一次的考试题)做我最后一个上传的代码。因为这是我付出最多的一个,我的第一个程序,当时全班就我一个弄了出来现在想起来都十分高兴。一年以来还做了其他很多小东西,因为太简陋就步多传了,这些足够代表我大一这年的旅程了。希望你们能给我提供一个更大的学习的机会。不久的将来我就会有质量更高的代码上传了。谢谢先-I chose (a few fringe of a problem this is our first examination), the last one so I uploaded code. Because it is up to me to pay the one, my first one procedure, a class I get out now are very happy together. The past year has also done a lot of other little things too shabby on the multi-step, which I adequately represented in this year"s freshman of the journey. I hope you will give me a greater opportunity to learn. The near future, I will have a better quality of the uploaded code. Thank you first!
    2022-01-30 12:57:52下载
    积分:1
  • 操作系统上机os_4设备管理
    操作系统上机os_4设备管理-operating system on the plane os_4 equipment management
    2022-03-21 11:38:46下载
    积分:1
  • 696518资源总数
  • 105549会员总数
  • 12今日下载