Method | Description | |
---|---|---|
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.
|
Method | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
Clean up any resources being used.
|
|
OnClosed ( |
Log a message when the dialog is closed.
|
|
OnClosing ( CancelEventArgs e ) : void |
Raises the E:System.Windows.Forms.Form.Closing event.
|
Method | Description | |
---|---|---|
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, |
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, |
|
|
lblFilename_Paint ( object sender, PaintEventArgs e ) : void |
Draw the file name with EllipsisPath trimming.
|
|
m_btnBrowseDest_Click ( object sender, |
Handles the Click event of the m_btnBrowseDest control.
|
|
m_btnChooseFile_Click ( object sender, |
Handle event when user clicks on button to choose an image file.
|
|
m_btnHelp_Click ( object sender, |
Show help for this dialog
|
|
m_picPreview_ClientSizeChanged ( object sender, |
Handles the ClientSizeChanged event of the m_picPreview control.
|
protected Dispose ( bool disposing ) : void | ||
disposing | bool | |
return | void |
public GetMultilingualCaptionValues ( IMultiAccessorBase caption ) : void | ||
caption | IMultiAccessorBase | |
return | void |
protected OnClosed ( |
||
e | ||
return | void |
protected OnClosing ( CancelEventArgs e ) : void | ||
e | CancelEventArgs | A |
return | void |
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 |
return | System |
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 |
return | System |
public SetMultilingualCaptionValues ( IMultiAccessorBase caption ) : void | ||
caption | IMultiAccessorBase | |
return | void |
public UseMultiStringCaption ( SIL.FieldWorks.FDO.FdoCache cache, int wsMagic, IVwStylesheet stylesheet ) : void | ||
cache | SIL.FieldWorks.FDO.FdoCache | |
wsMagic | int | |
stylesheet | IVwStylesheet | |
return | void |