C# Class SIL.FieldWorks.LexText.Controls.MasterListDlg

Summary description for MasterListDlg.
Inheritance: System.Windows.Forms.Form, IFWDisposable
Afficher le fichier Open project: sillsdev/FieldWorks

Protected Properties

Свойство Type Description
components System.ComponentModel.IContainer
helpProvider System.Windows.Forms.HelpProvider
iCheckedCount int
label1 System.Windows.Forms.Label
label2 System.Windows.Forms.Label
label3 System.Windows.Forms.Label
linkLabel1 System.Windows.Forms.LinkLabel
m_bnHelp System.Windows.Forms.Button
m_btnCancel System.Windows.Forms.Button
m_btnOK System.Windows.Forms.Button
m_cache SIL.FieldWorks.FDO.FdoCache
m_featureList IFdoOwningCollection
m_featureSystem IFsFeatureSystem
m_helpTopicProvider IHelpTopicProvider
m_imageList System.Windows.Forms.ImageList
m_imageListPictures System.Windows.Forms.ImageList
m_launchedFromInsertMenu bool
m_mediator XCore.Mediator
m_rtbDescription System.Windows.Forms.RichTextBox
m_sClassName string
m_sWindowKeyLocation string
m_sWindowKeySize string
m_selFeatDefn IFsFeatDefn
m_skipEvents bool
m_tvMasterList SIL.FieldWorks.LexText.Controls.MGA.GlossListTreeView
pictureBox1 System.Windows.Forms.PictureBox
s_helpTopic string

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.

SetDlginfo ( IFsFeatureSystem featSys, XCore.Mediator mediator, bool launchedFromInsertMenu ) : void

SetDlginfo ( IFsFeatureSystem featSys, XCore.Mediator mediator, bool launchedFromInsertMenu, string sWindowKey, string sXmlFile ) : void

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

DoExtraInit ( ) : void
DoFinalAdjustment ( TreeNode treeNode ) : void
OnLoad ( EventArgs e ) : void

Overridden to defeat the standard .NET behavior of adjusting size by screen resolution. That is bad for this dialog because we remember the size, and if we remember the enlarged size, it just keeps growing. If we defeat it, it may look a bit small the first time at high resolution, but at least it will stay the size the user sets.

linkLabel1_LinkClicked ( object sender, System e ) : void
m_bnHelp_Click ( object sender, EventArgs e ) : void
m_tvMasterList_AfterCheck ( object sender, System e ) : void
m_tvMasterList_AfterSelect ( object sender, TreeViewEventArgs e ) : void
m_tvMasterList_BeforeCheck ( object sender, System e ) : void

Cancel, if it is already in the database.

Private Methods

Méthode Description
AdjustNode ( TreeNode treeNode ) : void
AdjustNodes ( TreeNodeCollection treeNodes ) : void
FoundChosenItemNotInDatabase ( TreeNodeCollection nodes ) : bool
HasChosenItemNotInDatabase ( TreeNode node ) : bool
InitDlg ( string className, SIL.FieldWorks.LexText.Controls.MGA.GlossListTreeView treeView ) : void
InitializeComponent ( ) : void
LoadMasterFeatures ( string sXmlFile ) : void
MasterListDlg ( ) : System
MasterListDlg ( string className, SIL.FieldWorks.LexText.Controls.MGA.GlossListTreeView treeView ) : System
MasterListDlg_Closing ( object sender, System e ) : void

If OK, then add relevant inflection features to DB.

ResetOKBtnEnable ( ) : void
ResetWindowLocationAndSize ( ) : void
UpdateAllCheckedItems ( TreeNodeCollection nodes ) : 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
Résultat void

DoExtraInit() protected méthode

protected DoExtraInit ( ) : void
Résultat void

DoFinalAdjustment() protected méthode

protected DoFinalAdjustment ( TreeNode treeNode ) : void
treeNode System.Windows.Forms.TreeNode
Résultat void

OnLoad() protected méthode

Overridden to defeat the standard .NET behavior of adjusting size by screen resolution. That is bad for this dialog because we remember the size, and if we remember the enlarged size, it just keeps growing. If we defeat it, it may look a bit small the first time at high resolution, but at least it will stay the size the user sets.
protected OnLoad ( EventArgs e ) : void
e System.EventArgs
Résultat void

SetDlginfo() public méthode

public SetDlginfo ( IFsFeatureSystem featSys, XCore.Mediator mediator, bool launchedFromInsertMenu ) : void
featSys IFsFeatureSystem
mediator XCore.Mediator
launchedFromInsertMenu bool
Résultat void

SetDlginfo() public méthode

public SetDlginfo ( IFsFeatureSystem featSys, XCore.Mediator mediator, bool launchedFromInsertMenu, string sWindowKey, string sXmlFile ) : void
featSys IFsFeatureSystem
mediator XCore.Mediator
launchedFromInsertMenu bool
sWindowKey string used to store location and size of dialog window
sXmlFile string file containing the XML form of the gloss list
Résultat void

linkLabel1_LinkClicked() protected méthode

protected linkLabel1_LinkClicked ( object sender, System e ) : void
sender object
e System
Résultat void

m_bnHelp_Click() protected méthode

protected m_bnHelp_Click ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

m_tvMasterList_AfterCheck() protected méthode

protected m_tvMasterList_AfterCheck ( object sender, System e ) : void
sender object
e System
Résultat void

m_tvMasterList_AfterSelect() protected méthode

protected m_tvMasterList_AfterSelect ( object sender, TreeViewEventArgs e ) : void
sender object
e System.Windows.Forms.TreeViewEventArgs
Résultat void

m_tvMasterList_BeforeCheck() protected méthode

Cancel, if it is already in the database.
protected m_tvMasterList_BeforeCheck ( object sender, System e ) : void
sender object
e System
Résultat void

Property Details

components protected_oe property

protected System.ComponentModel.IContainer components
Résultat System.ComponentModel.IContainer

helpProvider protected_oe property

protected HelpProvider,System.Windows.Forms helpProvider
Résultat System.Windows.Forms.HelpProvider

iCheckedCount protected_oe property

protected int iCheckedCount
Résultat int

label1 protected_oe property

protected Label,System.Windows.Forms label1
Résultat System.Windows.Forms.Label

label2 protected_oe property

protected Label,System.Windows.Forms label2
Résultat System.Windows.Forms.Label

label3 protected_oe property

protected Label,System.Windows.Forms label3
Résultat System.Windows.Forms.Label

linkLabel1 protected_oe property

protected LinkLabel,System.Windows.Forms linkLabel1
Résultat System.Windows.Forms.LinkLabel

m_bnHelp protected_oe property

protected Button,System.Windows.Forms m_bnHelp
Résultat System.Windows.Forms.Button

m_btnCancel protected_oe property

protected Button,System.Windows.Forms m_btnCancel
Résultat System.Windows.Forms.Button

m_btnOK protected_oe property

protected Button,System.Windows.Forms m_btnOK
Résultat System.Windows.Forms.Button

m_cache protected_oe property

protected FdoCache,SIL.FieldWorks.FDO m_cache
Résultat SIL.FieldWorks.FDO.FdoCache

m_featureList protected_oe property

protected IFdoOwningCollection m_featureList
Résultat IFdoOwningCollection

m_featureSystem protected_oe property

protected IFsFeatureSystem m_featureSystem
Résultat IFsFeatureSystem

m_helpTopicProvider protected_oe property

protected IHelpTopicProvider m_helpTopicProvider
Résultat IHelpTopicProvider

m_imageList protected_oe property

protected ImageList,System.Windows.Forms m_imageList
Résultat System.Windows.Forms.ImageList

m_imageListPictures protected_oe property

protected ImageList,System.Windows.Forms m_imageListPictures
Résultat System.Windows.Forms.ImageList

m_launchedFromInsertMenu protected_oe property

protected bool m_launchedFromInsertMenu
Résultat bool

m_mediator protected_oe property

protected Mediator,XCore m_mediator
Résultat XCore.Mediator

m_rtbDescription protected_oe property

protected RichTextBox,System.Windows.Forms m_rtbDescription
Résultat System.Windows.Forms.RichTextBox

m_sClassName protected_oe property

protected string m_sClassName
Résultat string

m_sWindowKeyLocation protected_oe property

protected string m_sWindowKeyLocation
Résultat string

m_sWindowKeySize protected_oe property

protected string m_sWindowKeySize
Résultat string

m_selFeatDefn protected_oe property

protected IFsFeatDefn m_selFeatDefn
Résultat IFsFeatDefn

m_skipEvents protected_oe property

protected bool m_skipEvents
Résultat bool

m_tvMasterList protected_oe property

protected GlossListTreeView,SIL.FieldWorks.LexText.Controls.MGA m_tvMasterList
Résultat SIL.FieldWorks.LexText.Controls.MGA.GlossListTreeView

pictureBox1 protected_oe property

protected PictureBox,System.Windows.Forms pictureBox1
Résultat System.Windows.Forms.PictureBox

s_helpTopic protected_oe property

protected string s_helpTopic
Résultat string