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

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

보호된 프로퍼티들

프로퍼티 타입 설명
btnOK System.Windows.Forms.Button

공개 메소드들

메소드 설명
CheckDisposed ( ) : void

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

CheckForValidProjectName ( TextBox tb ) : bool

Check whether the given TextBox contains a valid project name. If not, remove the invalid character and complain to the user.

CheckProjectDirectory ( Form f, IHelpTopicProvider helpTopicProvider ) : bool

Check that the projects directory can be found and is not compressed or encrypted. If it is not found, offer to let the user choose a new one. Return true if we end up with a valid data directory.

DisplayDialog ( Form f ) : DialogResult

Shows the dialog as a modal dialog

DisplayDialog ( ) : int

Shows the dialog as a modal dialog

FwNewLangProject ( ) : System

Constructs a new instance of the FwNewLangProject class.

GetDatabaseFile ( ) : string

Retrieve the name of the database created for the new language project.

SetDialogProperties ( IHelpTopicProvider helpTopicProvider ) : void

Set the dialog properties object for dialogs that are created.

보호된 메소드들

메소드 설명
CreateNewLangProjWithProgress ( ) : void

Create a new language project showing a progress dialog.

Dispose ( bool disposing ) : void
OnClosing ( CancelEventArgs e ) : void

Ignores the close request if needed

OnLoad ( EventArgs e ) : void

OnPaint ( PaintEventArgs e ) : void

Draws the etched lines on the dialog.

비공개 메소드들

메소드 설명
DisplayNewWritingSystemProperties ( ComboBox comboWS, string defaultName ) : IWritingSystem[]

FixLabelFont ( Label lbl ) : void

Fix the label font for Linux/Mono. Without this fix, the label may still show boxes for Chinese characters when the rest of the UI is properly showing Chinese characters.

InitializeComponent ( ) : void

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

RemoveWs ( HashSet wss, object target ) : void
UpdateLanguageCombos ( ) : void

btnHelp_Click ( object sender, EventArgs e ) : void

Show the New Language Project Dialog help topic

btnOK_Click ( object sender, EventArgs e ) : void

Handle the OK button: Validate input and create new project

m_btnNewAnalWrtSys_Click ( object sender, EventArgs e ) : void

m_btnNewVernWrtSys_Click ( object sender, EventArgs e ) : void

m_txtName_TextChanged ( object sender, EventArgs e ) : void

메소드 상세

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

CheckForValidProjectName() 공개 정적인 메소드

Check whether the given TextBox contains a valid project name. If not, remove the invalid character and complain to the user.
public static CheckForValidProjectName ( TextBox tb ) : bool
tb System.Windows.Forms.TextBox
리턴 bool

CheckProjectDirectory() 공개 정적인 메소드

Check that the projects directory can be found and is not compressed or encrypted. If it is not found, offer to let the user choose a new one. Return true if we end up with a valid data directory.
public static CheckProjectDirectory ( Form f, IHelpTopicProvider helpTopicProvider ) : bool
f System.Windows.Forms.Form
helpTopicProvider IHelpTopicProvider
리턴 bool

CreateNewLangProjWithProgress() 보호된 메소드

Create a new language project showing a progress dialog.
protected CreateNewLangProjWithProgress ( ) : void
리턴 void

DisplayDialog() 공개 메소드

Shows the dialog as a modal dialog
public DisplayDialog ( Form f ) : DialogResult
f System.Windows.Forms.Form
리턴 DialogResult

DisplayDialog() 공개 메소드

Shows the dialog as a modal dialog
public DisplayDialog ( ) : int
리턴 int

Dispose() 보호된 메소드

protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

FwNewLangProject() 공개 메소드

Constructs a new instance of the FwNewLangProject class.
public FwNewLangProject ( ) : System
리턴 System

GetDatabaseFile() 공개 메소드

Retrieve the name of the database created for the new language project.
public GetDatabaseFile ( ) : string
리턴 string

OnClosing() 보호된 메소드

Ignores the close request if needed
protected OnClosing ( CancelEventArgs e ) : void
e CancelEventArgs
리턴 void

OnLoad() 보호된 메소드

protected OnLoad ( EventArgs e ) : void
e System.EventArgs
리턴 void

OnPaint() 보호된 메소드

Draws the etched lines on the dialog.
protected OnPaint ( PaintEventArgs e ) : void
e PaintEventArgs
리턴 void

SetDialogProperties() 공개 메소드

Set the dialog properties object for dialogs that are created.
public SetDialogProperties ( IHelpTopicProvider helpTopicProvider ) : void
helpTopicProvider IHelpTopicProvider
리턴 void

프로퍼티 상세

btnOK 보호되어 있는 프로퍼티

Protected for testing.
protected Button,System.Windows.Forms btnOK
리턴 System.Windows.Forms.Button