登录
首页 » C# » C#加载图片源码

C#加载图片源码

于 2022-03-20 发布 文件大小:54.58 kB
0 164
下载积分: 2 下载次数: 1

代码说明:

应用背景   将jpg、tif等格式的图片进行加载到picturebox控件上,根據預設,在 Normal 模式中,Image 會放置在 PictureBox 的左上角,而對 PictureBox 來說太大的影像部分都會裁剪掉。    使用 StretchImage 值會造成影像延伸,以調整為最適合 PictureBox 的大小使用 AutoSize 值會造成控制項重新調整為永遠是最適合影像的大小。使用 CenterImage 值會造成影像置於工作區 (Client Area) 的中央。关键技术  实现左右两张影像的加载,并使加载后的影像自适应picturebox的大小,可以进行鼠标滚轮的移动,并能保证相关的影像总在picturebox内,不会出现移出的现象

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

发表评论

0 个回复

  • s-function3
    通过实际的例子学习simulink中s函数的使用及编写(Learning through practical examples of the use of the simulink s in function and write)
    2013-01-25 13:53:41下载
    积分:1
  • TM1680显示代码STM8平台.
    以STM8控制TM1680,iic通信代码,数码可以显示,简单参考。(STM8 control TM1680, IIC communication code, digital display, simple reference.)
    2020-10-30 22:20:01下载
    积分:1
  • 一种基于STM8S103F3对无线遥控接收芯片PT2272的解码源码
    一种基于STM8S103F3对无线遥控接收芯片PT2272的解码源码,  发送端是PT2262,接收端是PT2272, 此处是利用STM8S103的IO口与PT2272相接,在发送端PT2262发送信号时,即时捕获当时状态,利用STM8S103的外部中断,在中断中处理IO口的状态,从而得出相应按键的状态。
    2022-03-19 05:43:27下载
    积分:1
  • 能将汉字转换成拼音的程序源码,能转成全拼与首字母两种。...
    能将汉字转换成拼音的程序源码,能转成全拼与首字母两种。-Pinyin to Chinese characters into the procedure source code, be able to turn into a full-spelling with two initials.
    2022-05-05 17:58:08下载
    积分:1
  • ds1104_vect_serial
    DS 1014 IMFOC control
    2012-05-16 04:20:45下载
    积分:1
  • STM32F407_uCOS-III lwip(20160827)
    主要实现功能: 1 tcp server并发(主要涉及文件app_lwip.c、app_tcp_server.c) 2 网线热插拔(主要涉及文件app_lwip.c、app_tcp_server.c) 3 不重启修改ip地址(主要涉及文件app_lwip.c、app_tcp_server.c、app_key.c(按键修改ip地址)) 4 将lwip的数据接收从中断方式改成单独的接收任务方式(主要涉及文件app_lwip.c) 5 usb串口信息打印(115200波特率) 6 注意:使用的stm32的HAL库而不是标准库(The main functions are: 1 TCP server concurrency (mainly related to file app_lwip.c, app_tcp_server.c) Hot plugging of 2 network lines (mainly related to documents app_lwip.c, app_tcp_server.c) 3 do not reset the IP address (mainly related to file app_lwip.c, app_tcp_server.c, app_key.c (key modify IP address)) 4 change the data reception of LwIP from the interrupt mode to the individual receiving task (mainly involving the file app_lwip.c) 5 USB serial port information printing (115200 baud rate) 6 note: the HAL Library of the STM32 used instead of the standard library)
    2020-08-13 16:28:27下载
    积分:1
  • mataqipan
    马踏棋盘的贪心算法,8*8棋盘,基本上不用回溯。(horse riding chessboard of the greedy algorithm, 8* 8 chessboard, basically not retroactive.)
    2006-05-30 20:05:17下载
    积分:1
  • keyboard-simulation-by-protues
    用protues仿真,51单片机按键操作。(Using Protues simulation, 51 single key operation.)
    2014-06-07 23:15:46下载
    积分:1
  • STM32+MC20定位系统
    Based on the stm32+mc20 gps positioning system, the 32 serial port control 20 sends the AT command and uploads it to the platform via http.
    2020-06-21 13:20:06下载
    积分:1
  • MicroMouse_高级实验
    【实例简介】MicroMouse_高级实验
    2021-12-01 00:46:55下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载