C# Class SIL.FieldWorks.WelcomeToFieldWorksDlg

Dialog presenting multiple options for how to begin a FLEx session
Afficher le fichier Open project: sillsdev/FieldWorks Class Usage Examples

Private Properties

Свойство Type Description
Import_Click void
InitializeComponent void
ReLayoutCorrectly void
Receive_Click void
ShowErrorLabelHideLink void
ShowLinkHideErrorLabel void
m_btnExit_Click void
m_btnHelp_Click void
m_btnNew_Click void
m_btnOpen_Click void
m_btnRestore_Click void
m_openProjectLink_LinkClicked void

Méthodes publiques

Méthode Description
CheckDisposed ( ) : void

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

SetFirstOrLastProjectText ( bool firstTimeOpening ) : void
WelcomeToFieldWorksDlg ( IHelpTopicProvider helpTopicProvider, string appAbbrev, StartupException exception, bool showReportingRow ) : System

Initializes a new instance of the WelcomeToFieldWorksDlg class.

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

OnClosing ( CancelEventArgs e ) : void

Log the dialog result

OnShown ( EventArgs e ) : void

When the dialog is loaded, make sure it gets focused.

Private Methods

Méthode Description
Import_Click ( object sender, EventArgs e ) : void
InitializeComponent ( ) : void
ReLayoutCorrectly ( ) : void

Adjust dialog so that the height of the main FlowLayoutPanel is the right value to contain the displayed controls. A better solution will be to fix Mono FlowLayoutPanel to not include non-Visible controls in the FlowLayoutPanel height calculation, if that is what it is doing when it AutoSizes.

Receive_Click ( object sender, EventArgs e ) : void
ShowErrorLabelHideLink ( ) : void
ShowLinkHideErrorLabel ( ) : void
m_btnExit_Click ( object sender, EventArgs e ) : void

m_btnHelp_Click ( object sender, EventArgs e ) : void

Open the context-sensitive help for this dialog.

m_btnNew_Click ( object sender, EventArgs e ) : void

m_btnOpen_Click ( object sender, EventArgs e ) : void

m_btnRestore_Click ( object sender, EventArgs e ) : void

m_openProjectLink_LinkClicked ( object sender, System.Windows.Forms.LinkLabelLinkClickedEventArgs e ) : void

Method Details

CheckDisposed() public méthode

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

Dispose() protected méthode

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. ///
Résultat void

OnClosing() protected méthode

Log the dialog result
protected OnClosing ( CancelEventArgs e ) : void
e System.ComponentModel.CancelEventArgs
Résultat void

OnShown() protected méthode

When the dialog is loaded, make sure it gets focused.
protected OnShown ( EventArgs e ) : void
e EventArgs
Résultat void

SetFirstOrLastProjectText() public méthode

public SetFirstOrLastProjectText ( bool firstTimeOpening ) : void
firstTimeOpening bool
Résultat void

WelcomeToFieldWorksDlg() public méthode

Initializes a new instance of the WelcomeToFieldWorksDlg class.
public WelcomeToFieldWorksDlg ( IHelpTopicProvider helpTopicProvider, string appAbbrev, StartupException exception, bool showReportingRow ) : System
helpTopicProvider IHelpTopicProvider Help topic provider
appAbbrev string Standard application abbreviation.
exception StartupException Exception that was thrown if the previously requested /// project could not be opened.
showReportingRow bool True (usually only on the first run) when we want to show the first-time warning about /// sending google analytics information
Résultat System