C# 클래스 Smrf.AppLib.SaveImageFileDialog

Represents a dialog box for saving an image file.
Call ShowDialogAndSaveImage() to allow the user to save an image in a format of his choice to a location of his choice.
상속: SaveFileDialog2
파일 보기 프로젝트 열기: 2014-sed-team3/term-project

보호된 프로퍼티들

프로퍼티 타입 설명
m_sDialogTitle String

공개 메소드들

메소드 설명
AssertValid ( ) : void
SaveImageFileDialog ( String sInitialDirectory, String sInitialFileName ) : System

Initializes a new instance of the SaveImageFileDialog class.

ShowDialogAndSaveImage ( Image oImage ) : DialogResult

보호된 메소드들

메소드 설명
GetDialogTitle ( Object oObjectBeingSaved ) : String
GetFilter ( ) : String
GetInitialFilterIndex ( ) : Int32
SaveObject ( Object oObject, String sFileName ) : void

메소드 상세

AssertValid() 공개 메소드

public AssertValid ( ) : void
리턴 void

GetDialogTitle() 보호된 메소드

protected GetDialogTitle ( Object oObjectBeingSaved ) : String
oObjectBeingSaved Object
리턴 String

GetFilter() 보호된 메소드

protected GetFilter ( ) : String
리턴 String

GetInitialFilterIndex() 보호된 메소드

protected GetInitialFilterIndex ( ) : Int32
리턴 System.Int32

SaveImageFileDialog() 공개 메소드

Initializes a new instance of the SaveImageFileDialog class.
public SaveImageFileDialog ( String sInitialDirectory, String sInitialFileName ) : System
sInitialDirectory String /// Initial directory the dialog will display. Use an empty string to let /// the dialog select an initial directory. ///
sInitialFileName String /// Initial file name. Can be a complete path, a path without an /// extension, a file name, or a file name without an extension. ///
리턴 System

SaveObject() 보호된 메소드

protected SaveObject ( Object oObject, String sFileName ) : void
oObject Object
sFileName String
리턴 void

ShowDialogAndSaveImage() 공개 메소드

public ShowDialogAndSaveImage ( Image oImage ) : DialogResult
oImage Image
리턴 DialogResult

프로퍼티 상세

m_sDialogTitle 보호되어 있는 프로퍼티

protected String m_sDialogTitle
리턴 String