C# 클래스 SIL.FieldWorks.FwCoreDlgs.PicturePropertiesDialog

Dialog for editing picture properties
상속: System.Windows.Forms.Form, IFWDisposable
파일 보기 프로젝트 열기: sillsdev/FieldWorks 1 사용 예제들

공개 메소드들

메소드 설명
CheckDisposed ( ) : void

Check to see if the object has been disposed. All public Properties and Methods should call this before doing anything else.

GetMultilingualCaptionValues ( IMultiAccessorBase caption ) : void

Store the results of any editing into the actual data.

Initialize ( ) : bool

Initialize the dialog (and let the user select a picture)

PicturePropertiesDialog ( SIL.FieldWorks.FDO.FdoCache cache, ICmPicture initialPicture, IHelpTopicProvider helpTopicProvider, IApp app ) : System

Initializes a new instance of the T:PicturePropertiesDialog class.

PicturePropertiesDialog ( SIL.FieldWorks.FDO.FdoCache cache, ICmPicture initialPicture, IHelpTopicProvider helpTopicProvider, IApp app, bool fAnalysis ) : System

Initializes a new instance of the T:PicturePropertiesDialog class.

SetMultilingualCaptionValues ( IMultiAccessorBase caption ) : void

Set the multilingual caption into the dialog control.

UseMultiStringCaption ( SIL.FieldWorks.FDO.FdoCache cache, int wsMagic, IVwStylesheet stylesheet ) : void

Convert the text box for the caption to a multilingual string control.

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

Clean up any resources being used.

OnClosed ( EventArgs e ) : void

Log a message when the dialog is closed.

OnClosing ( CancelEventArgs e ) : void

Raises the E:System.Windows.Forms.Form.Closing event.

비공개 메소드들

메소드 설명
ApplyDefaultFileLocationChoice ( ) : void

Applies the default file location choice.

ApplyFileLocationOptions ( ) : void

Called when the user clicked the OK button and the File Location Options panel is visible.

FileIsInLinkedFilesFolder ( string sFilePath ) : bool

Determines whether file is in the LinkedFiles folder.

HandleLocationCheckedChanged ( object sender, EventArgs e ) : void

Makes sure the destination text box and chooser button are disabled when the user chooses to leave the picture in its original folder.

InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

IsFolderInLinkedFilesFolder ( string sFolder ) : bool

Determines whether given folder is in LinkedFiles folder.

MakeEmptyCaptionString ( ) : ITsString

Makes an empty caption string.

ShowChoosePictureDlg ( ) : DialogResult

Show the file chooser dialog for opening an image file.

UpdatePicInformation ( ) : void

Updates the information in the dialog for the current image

ValidateDestinationFolder ( string proposedDestFolder ) : bool

Validates the proposed destination folder.

lblFilename_MouseEnter ( object sender, EventArgs e ) : void

lblFilename_Paint ( object sender, PaintEventArgs e ) : void

Draw the file name with EllipsisPath trimming.

m_btnBrowseDest_Click ( object sender, EventArgs e ) : void

Handles the Click event of the m_btnBrowseDest control.

m_btnChooseFile_Click ( object sender, EventArgs e ) : void

Handle event when user clicks on button to choose an image file.

m_btnHelp_Click ( object sender, EventArgs e ) : void

Show help for this dialog

m_picPreview_ClientSizeChanged ( object sender, EventArgs e ) : void

Handles the ClientSizeChanged event of the m_picPreview control.

메소드 상세

CheckDisposed() 공개 메소드

Check to see if the object has been disposed. All public Properties and Methods should call this before doing anything else.
public CheckDisposed ( ) : void
리턴 void

Dispose() 보호된 메소드

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true to release both managed and unmanaged /// resources; false to release only unmanaged resources. ///
리턴 void

GetMultilingualCaptionValues() 공개 메소드

Store the results of any editing into the actual data.
public GetMultilingualCaptionValues ( IMultiAccessorBase caption ) : void
caption IMultiAccessorBase
리턴 void

Initialize() 공개 메소드

Initialize the dialog (and let the user select a picture)
public Initialize ( ) : bool
리턴 bool

OnClosed() 보호된 메소드

Log a message when the dialog is closed.
protected OnClosed ( EventArgs e ) : void
e System.EventArgs
리턴 void

OnClosing() 보호된 메소드

Raises the E:System.Windows.Forms.Form.Closing event.
protected OnClosing ( CancelEventArgs e ) : void
e CancelEventArgs A that /// contains the event data.
리턴 void

PicturePropertiesDialog() 공개 메소드

Initializes a new instance of the T:PicturePropertiesDialog class.
public PicturePropertiesDialog ( SIL.FieldWorks.FDO.FdoCache cache, ICmPicture initialPicture, IHelpTopicProvider helpTopicProvider, IApp app ) : System
cache SIL.FieldWorks.FDO.FdoCache The FdoCache to use
initialPicture ICmPicture The CmPicture object to set all of the dialog /// properties to, or null to edit a new picture
helpTopicProvider IHelpTopicProvider typically IHelpTopicProvider.App
app IApp The application
리턴 System

PicturePropertiesDialog() 공개 메소드

Initializes a new instance of the T:PicturePropertiesDialog class.
public PicturePropertiesDialog ( SIL.FieldWorks.FDO.FdoCache cache, ICmPicture initialPicture, IHelpTopicProvider helpTopicProvider, IApp app, bool fAnalysis ) : System
cache SIL.FieldWorks.FDO.FdoCache The FdoCache to use
initialPicture ICmPicture The CmPicture object to set all of the dialog /// properties to, or null to edit a new picture
helpTopicProvider IHelpTopicProvider typically IHelpTopicProvider.App
app IApp The application
fAnalysis bool true to use analysis writign system for caption
리턴 System

SetMultilingualCaptionValues() 공개 메소드

Set the multilingual caption into the dialog control.
public SetMultilingualCaptionValues ( IMultiAccessorBase caption ) : void
caption IMultiAccessorBase
리턴 void

UseMultiStringCaption() 공개 메소드

Convert the text box for the caption to a multilingual string control.
public UseMultiStringCaption ( SIL.FieldWorks.FDO.FdoCache cache, int wsMagic, IVwStylesheet stylesheet ) : void
cache SIL.FieldWorks.FDO.FdoCache
wsMagic int
stylesheet IVwStylesheet
리턴 void