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

C#加载图片源码

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

代码说明:

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

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

发表评论

0 个回复

  • example4_3
    例3:分析占空比为ta的矩形脉冲频谱 T=1 时间窗大小 ta=0.5 占空比 N=256 t=linspace(-T,T,N) ts=2*T/N fs=1/ts (x=zeros(1,N) x(N/2-round(N/2*ta):N/2+round(N/2*ta))=ones(1,2*round(N/2*ta)+1) y=fft(x,N) figure plot(t,x) title([ 时域信号图 占空比为 ,num2str(ta)]) axis([-T T-0.2 1.2]) xlabel( t /s ) figure subplot(211) f=linspace(-fs/2,fs/2,N) plot(f,abs(fftshift(y))/N) title([ 矩形脉冲双边谱 脉冲时间t=[- ,num2str(ta*T), , ,num2str(ta*T), ] ]) xlabel( f /Hz ) )
    2010-05-25 20:59:59下载
    积分:1
  • Digital-information-system-of-Forest
    基于地理信息系统的数字森林城市管理信息系统(Based on the digital geographic information system of urban forest management information system)
    2016-05-26 00:08:07下载
    积分:1
  • 1531468
    C # design pattern - builder mode C#设计模式--建造者模式(C # design pattern-builder mode C # Design pattern-architect pattern)
    2019-05-23 12:48:34下载
    积分:1
  • CARdvd
    cardvd外部MCU与dvd解码板的通信协议(cardvd external mcu translate with the dvd mpeg)
    2012-03-25 22:12:14下载
    积分:1
  • TFTLCD
    STM32F103VET6 TFTLCD 学习(STM32F103VET6 TFTLCD)
    2015-11-19 22:34:42下载
    积分:1
  • kemodel
    说明:  一个对Fluent中k-e湍流模型的修正udf程序,欢迎提出意见。(One pair ke turbulence model in Fluent udf amendment procedures, suggestions are welcome.)
    2021-01-02 15:08:57下载
    积分:1
  • wpftoolkit-master
    WPF wpftoolkit-master UI界面 自定义控件等(WPF wpftoolkit-master UI Interface custom controls, etc.)
    2020-06-18 13:40:02下载
    积分:1
  • f149ADC12
    msp430f149的ADC12模数转换程序,可实现ad转换和液晶、数码管的显示,是iar的工程文件,可直接使用(msp430f149 s adc12 analog-to-digital conversion )
    2012-05-11 19:24:50下载
    积分:1
  • 代码如何接口收发器CC2500与PIC
    我的最后一个项目 ;如何CC2500收发器接口 ; ;PIC  ;我需要代码 ;我不知道代码 ;
    2022-10-04 00:55:03下载
    积分:1
  • detectFront
    基于Opencv的视频序列前景检测模块,可以用来检测自动化目标跟踪的初始位置(Opencv based video sequences foreground detection module,can be used to detect the initial position in automated target tracking )
    2014-02-18 14:02:50下载
    积分:1
  • 696518资源总数
  • 105554会员总数
  • 2今日下载