C# 클래스 KeePass.UI.BannerFactory

파일 보기 프로젝트 열기: amiryal/keepass2 1 사용 예제들

공개 메소드들

메소드 설명
CreateBanner ( int nWidth, int nHeight, BannerStyle bs, Image imgIcon, string strTitle, string strLine ) : Image
CreateBanner ( int nWidth, int nHeight, BannerStyle bs, Image imgIcon, string strTitle, string strLine, bool bNoCache ) : Image
CreateBannerEx ( Form f, PictureBox picBox, Image imgIcon, string strTitle, string strLine ) : void
CreateBannerEx ( Form f, PictureBox picBox, Image imgIcon, string strTitle, string strLine, bool bNoCache ) : void
UpdateBanner ( Form f, PictureBox picBox, Image imgIcon, string strTitle, string strLine, int &nOldWidth ) : void

Update/create a dialog banner. This method is intended for updating banners in resizable dialogs. The created banner images bypass the cache of the factory and are disposed when the dialog is resized (i.e. the caller shouldn't do anything with the banner images).

비공개 메소드들

메소드 설명
DpiScaleFloat ( float x, int nBaseHeight ) : float
DpiScaleInt ( int x, int nBaseHeight ) : int
DrawText ( Graphics g, string strText, Font font, Point pt, Color clrForeground, TextFormatFlags tff, int nWidth, int nHeight ) : void

메소드 상세

CreateBanner() 공개 정적인 메소드

public static CreateBanner ( int nWidth, int nHeight, BannerStyle bs, Image imgIcon, string strTitle, string strLine ) : Image
nWidth int
nHeight int
bs BannerStyle
imgIcon Image
strTitle string
strLine string
리턴 Image

CreateBanner() 공개 정적인 메소드

public static CreateBanner ( int nWidth, int nHeight, BannerStyle bs, Image imgIcon, string strTitle, string strLine, bool bNoCache ) : Image
nWidth int
nHeight int
bs BannerStyle
imgIcon Image
strTitle string
strLine string
bNoCache bool
리턴 Image

CreateBannerEx() 공개 정적인 메소드

public static CreateBannerEx ( Form f, PictureBox picBox, Image imgIcon, string strTitle, string strLine ) : void
f System.Windows.Forms.Form
picBox System.Windows.Forms.PictureBox
imgIcon Image
strTitle string
strLine string
리턴 void

CreateBannerEx() 공개 정적인 메소드

public static CreateBannerEx ( Form f, PictureBox picBox, Image imgIcon, string strTitle, string strLine, bool bNoCache ) : void
f System.Windows.Forms.Form
picBox System.Windows.Forms.PictureBox
imgIcon Image
strTitle string
strLine string
bNoCache bool
리턴 void

UpdateBanner() 공개 정적인 메소드

Update/create a dialog banner. This method is intended for updating banners in resizable dialogs. The created banner images bypass the cache of the factory and are disposed when the dialog is resized (i.e. the caller shouldn't do anything with the banner images).
public static UpdateBanner ( Form f, PictureBox picBox, Image imgIcon, string strTitle, string strLine, int &nOldWidth ) : void
f System.Windows.Forms.Form
picBox System.Windows.Forms.PictureBox
imgIcon Image
strTitle string
strLine string
nOldWidth int
리턴 void