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

This dialog is used whenever LangProject.LinkedFilesRootDir is changed, to find out what the user wants to do with the files that exist in the old location, and whenever a file from outside LangProject.LinkedFilesRootDir is linked from this project to find out whether the user wants to move or copy into LangProject.LinkedFilesRootDir or to leave the file where it is.
상속: System.Windows.Forms.Form, IFWDisposable
파일 보기 프로젝트 열기: sillsdev/FieldWorks 1 사용 예제들

공개 메소드들

메소드 설명
CheckDisposed ( ) : void

Check whether this dialog has already been disposed. If so, throw a fit.

Initialize ( int cFiles, string sOldDir, string sNewDir, IHelpTopicProvider helpTopicProvider ) : void

Initialize the header and message before showing the dialog used whenever LangProject.LinkedFilesRootDir is changed to find out what the user wants to do with the files that exist in the old location.

Initialize2 ( string sRootDir, IHelpTopicProvider helpTopicProvider, bool isLocal ) : void

Initialize the header and message before showing the dialog used whenever a file from outside LangProject.LinkedFilesRootDir is linked from this project to find out whether the user wants to move or copy into LangProject.LinkedFilesRootDir or to leave the file where it is.

MoveOrCopyFilesDlg ( ) : System

Constructor.

보호된 메소드들

메소드 설명
OnLoad ( EventArgs e ) : void

Fix so that 120DPI fonts don't push the buttons to the bottom of the dialog. (See comment added to LT-8968.)

비공개 메소드들

메소드 설명
SetupHelp ( IHelpTopicProvider helpTopicProvider, string sHelpTopic ) : void

Sets up the help topic provider and topic.

ShortenMyDocsPath ( string sDir ) : string

If the given folder path is in the "My Documents" folder, trim the "My Documents" portion off the path.

REVIEW (Hasso) 2015.08: this might be better in the controller

m_btnCopy_Click ( object sender, EventArgs e ) : void

Handles the Click event of the m_btnCopy control.

m_btnHelp_Click ( object sender, EventArgs e ) : void

Handles the Click event of the m_btnHelp control.

m_btnLeave_Click ( object sender, EventArgs e ) : void

Handles the Click event of the m_btnLeave control.

m_btnMove_Click ( object sender, EventArgs e ) : void

Handles the Click event of the m_btnMove control.

메소드 상세

CheckDisposed() 공개 메소드

Check whether this dialog has already been disposed. If so, throw a fit.
public CheckDisposed ( ) : void
리턴 void

Initialize() 공개 메소드

Initialize the header and message before showing the dialog used whenever LangProject.LinkedFilesRootDir is changed to find out what the user wants to do with the files that exist in the old location.
public Initialize ( int cFiles, string sOldDir, string sNewDir, IHelpTopicProvider helpTopicProvider ) : void
cFiles int
sOldDir string
sNewDir string
helpTopicProvider IHelpTopicProvider
리턴 void

Initialize2() 공개 메소드

Initialize the header and message before showing the dialog used whenever a file from outside LangProject.LinkedFilesRootDir is linked from this project to find out whether the user wants to move or copy into LangProject.LinkedFilesRootDir or to leave the file where it is.
public Initialize2 ( string sRootDir, IHelpTopicProvider helpTopicProvider, bool isLocal ) : void
sRootDir string
helpTopicProvider IHelpTopicProvider
isLocal bool
리턴 void

MoveOrCopyFilesDlg() 공개 메소드

Constructor.
public MoveOrCopyFilesDlg ( ) : System
리턴 System

OnLoad() 보호된 메소드

Fix so that 120DPI fonts don't push the buttons to the bottom of the dialog. (See comment added to LT-8968.)
protected OnLoad ( EventArgs e ) : void
e System.EventArgs An that contains the event data.
리턴 void