C# Class SIL.FieldWorks.XWorks.LexEd.MSADlgLauncherSlice

Inheritance: SIL.FieldWorks.Common.Framework.DetailControls.ViewSlice
Datei anzeigen Open project: sillsdev/FieldWorks

Public Methods

Method Description
AboutToDiscard ( ) : void

Somehow a slice (I think one that has never scrolled to become visible?) can get an OnLoad message for its view in the course of deleting it from the parent controls collection. This can be bad (at best it's a waste of time to do the Layout in the OnLoad, but it can be actively harmful if the object the view is displaying has been deleted). So suppress it.

FinishInit ( ) : void

This method, called once we have a cache and object, is our first chance to actually create the embedded control.

Install ( DataTree parent ) : void

MSADlgLauncherSlice ( ) : System

Protected Methods

Method Description
DesiredHeight ( SIL.FieldWorks.Common.RootSites.RootSite rs ) : int
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
InitializeComponent ( ) : void

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

Method Details

AboutToDiscard() public method

Somehow a slice (I think one that has never scrolled to become visible?) can get an OnLoad message for its view in the course of deleting it from the parent controls collection. This can be bad (at best it's a waste of time to do the Layout in the OnLoad, but it can be actively harmful if the object the view is displaying has been deleted). So suppress it.
public AboutToDiscard ( ) : void
return void

DesiredHeight() protected method

protected DesiredHeight ( SIL.FieldWorks.Common.RootSites.RootSite rs ) : int
rs SIL.FieldWorks.Common.RootSites.RootSite
return int

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool
return void

FinishInit() public method

This method, called once we have a cache and object, is our first chance to actually create the embedded control.
public FinishInit ( ) : void
return void

Install() public method

public Install ( DataTree parent ) : void
parent SIL.FieldWorks.Common.Framework.DetailControls.DataTree
return void

MSADlgLauncherSlice() public method

public MSADlgLauncherSlice ( ) : System
return System