Свойство | Type | Description | |
---|---|---|---|
DPIOfThisAccount | float |
Méthode | Description | |
---|---|---|
OpenCreateLibrary ( ) : void | ||
SetStateOfNonPublishTabs ( bool enable ) : void | ||
ShortenStringToFit ( string text, int maxWidth, int originalWidth, |
Ensure that the TabStripItem or Control or Whatever is no wider than desired by truncating the Text as needed, with an ellipsis appended to show truncation has occurred. Would this be a good library method somewhere? Where? |
|
WorkspaceView ( Bloom.Workspace.WorkspaceModel model, |
Méthode | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
Clean up any resources being used.
|
Méthode | Description | |
---|---|---|
AdjustButtonTextsForCurrentSize ( ) : void |
Remove the button texts if needed for the current size of the main window.
|
|
AdjustTabStripDisplayForScreenSize ( ) : void | ||
AdjustToolPanelLocation ( bool allowNarrowing ) : void |
Adjusts the tool panel location to allow more (or optionally less) space for the tab buttons.
|
|
Application_Idle ( object sender, |
||
BackgroundColorsForLinux ( IBloomTabArea currentTabView ) : void | ||
CheckDPISettings ( ) : void | ||
GrowToFullSize ( ) : void | ||
GrowToStage1 ( ) : void | ||
GrowToStage2 ( ) : void | ||
HandleTabTextChanged ( object sender, |
Adjust the tool panel location when the chosen localization changes. See https://jira.sil.org/browse/BL-1212 for what can happen if we don't adjust. At the moment, we only widen, we never narrow the overall area allotted to the tab buttons. Button widths adjust themselves automatically to their Text width. There doesn't seem to be a built-in mechanism to limit the width to a given maximum so we implement such an operation ourselves.
|
|
InitializeComponent ( ) : void |
Required method for Designer support - do not modify the contents of this method with the code editor.
|
|
OnAboutBoxClick ( object sender, |
||
OnEditBook ( Book book ) : void | ||
OnHelpButtonClick ( object sender, MouseEventArgs e ) : void | ||
OnOpenCreateLibrary_Click ( object sender, |
||
OnRegistrationMenuItem_Click ( object sender, |
||
OnSendReceive ( object obj ) : void | ||
OnSettingsButton_Click ( object sender, |
||
OnSettingsProtectionChanged ( object sender, System e ) : void | ||
OnUpdateDisplay ( object sender, System e ) : void | ||
OpenInfoFile ( string fileName ) : void | ||
RemoveButtonTexts ( ) : void |
Remove the text from each of the buttons, but set the tooltip text where needed. (Tooltips different than the text have already been set on two of these buttons.)
|
|
RestartBloom ( string newInstallDir ) : void | ||
RestoreOriginalButtonTexts ( ) : void | ||
SaveOriginalButtonTexts ( ) : void | ||
SaveOriginalWidthValues ( ) : void | ||
SelectPage ( |
||
SetTabVisibility ( |
||
SetupUILanguageMenu ( ) : void | ||
ShrinkToStage1 ( ) : void | ||
ShrinkToStage2 ( ) : void | ||
ShrinkToStage3 ( ) : void | ||
StartProblemReport ( object sender, |
||
WorkspaceView_Load ( object sender, |
||
WorkspaceView_Resize ( object sender, |
||
_applicationUpdateCheckTimer_Tick ( object sender, |
||
_checkForNewVersionMenuItem_Click ( object sender, |
||
_makeASuggestionMenuItem_Click ( object sender, |
||
_releaseNotesMenuItem_Click ( object sender, |
||
_reportAProblemMenuItem_Click ( object sender, |
||
_showLogMenuItem_Click ( object sender, |
||
_tabStrip_BackColorChanged ( object sender, |
||
_tabStrip_SelectedTabChanged ( object sender, |
||
_trainingVideosMenuItem_Click ( object sender, |
||
_webSiteMenuItem_Click ( object sender, |
||
buildingReaderTemplatesMenuItem_Click ( object sender, |
||
keyBloomConceptsMenuItem_Click ( object sender, |
||
toolStripMenuItem3_Click ( object sender, |
||
usingReaderTemplatesMenuItem_Click ( object sender, |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | true if managed resources should be disposed; otherwise, false. |
Résultat | void |
public SetStateOfNonPublishTabs ( bool enable ) : void | ||
enable | bool | |
Résultat | void |
public static ShortenStringToFit ( string text, int maxWidth, int originalWidth, |
||
text | string | the string to shorten if necessary |
maxWidth | int | the maximum item width allowed |
originalWidth | int | the original item width (with the original string) |
font | the font to use | |
g | the relevant Graphics object for drawing/measuring | |
Résultat | string |
public WorkspaceView ( Bloom.Workspace.WorkspaceModel model, |
||
model | Bloom.Workspace.WorkspaceModel | |
libraryView | ||
editingViewFactory | ||
pdfViewFactory | ||
settingsDialogFactory | ||
editBookCommand | EditBookCommand | |
sendReceiveCommand | SendReceiveCommand | |
selectedTabAboutToChangeEvent | SelectedTabAboutToChangeEvent | |
selectedTabChangedEvent | SelectedTabChangedEvent | |
localizationChangedEvent | LocalizationChangedEvent | |
feedbackDialogFactory | ||
problemReportDialogFactory | ||
localizationManager | LocalizationManager | |
Résultat | System |