Skip to content
This repository has been archived by the owner on May 21, 2021. It is now read-only.

Commit

Permalink
Added missing tool tips to Additional Resources tab and updated some …
Browse files Browse the repository at this point in the history
…UI strings in SEB Config Tool.
  • Loading branch information
danschlet committed Oct 18, 2018
1 parent 8c40cee commit a688278
Show file tree
Hide file tree
Showing 9 changed files with 964 additions and 937 deletions.
Binary file modified InstallShield 2012 Spring Projects/SafeExamBrowser_2018.ism
Binary file not shown.
Binary file not shown.
Expand Up @@ -191,7 +191,7 @@ public static string XULRunnerConfigDictionarySerialize(Dictionary<string, objec
xulRunnerSettings[SEBSettings.KeyNewBrowserWindowShowReloadWarning] = false;


// Set correct task bar height according to display dpi
// Set correct taskbar height according to display dpi
xulRunnerSettings[SEBSettings.KeyTaskBarHeight] = (int)Math.Round((int)xulRunnerSettings[SEBSettings.KeyTaskBarHeight] * 1.7);
}

Expand Down
6 changes: 3 additions & 3 deletions SebWindowsClient/SebWindowsClient/SebWindowsClientForm.cs
Expand Up @@ -731,7 +731,7 @@ private void XulRunner_Exited(object sender, System.EventArgs e)

/// ----------------------------------------------------------------------------------------
/// <summary>
/// Add permitted process names and icons to the SEB task bar (ToolStrip control)
/// Add permitted process names and icons to the SEB taskbar (ToolStrip control)
/// and start permitted processes which have the autostart option set
/// </summary>
/// ----------------------------------------------------------------------------------------
Expand Down Expand Up @@ -926,7 +926,7 @@ private void addPermittedProcessesToTS(bool reconfiguring = false)
}
}

// So if there are any permitted processes, we add them to the SEB task bar
// So if there are any permitted processes, we add them to the SEB taskbar
if (permittedProcessList.Count > 0)
{
for (int i = start; i < permittedProcessList.Count; i++)
Expand Down Expand Up @@ -1497,7 +1497,7 @@ private bool SetFormOnDesktop()
this.taskbarToolStrip.ImageScalingSize = new Size(taskbarHeight - 8, taskbarHeight -8);
}

Logger.AddInformation("Taskbarheight from settings: " +sebTaskBarHeight.ToString() + " Current taskbar height: " + taskbarHeight.ToString());
Logger.AddInformation("Taskbar height from settings: " +sebTaskBarHeight.ToString() + " Current taskbar height: " + taskbarHeight.ToString());

//Modify Working Area
SEBWorkingAreaHandler.SetTaskBarSpaceHeight(taskbarHeight);
Expand Down
50 changes: 45 additions & 5 deletions SebWindowsConfig/Controls/AdditionalResources.Designer.cs

Large diffs are not rendered by default.

18 changes: 18 additions & 0 deletions SebWindowsConfig/Controls/AdditionalResources.resx
Expand Up @@ -117,4 +117,22 @@
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="toolTip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<data name="comboBoxAdditionalResourcesChooseFileToLaunch.ToolTip" xml:space="preserve">
<value>Lists all files in the embedded folder (and its subfolders), you have to select one (for example an index.html file) which then is loaded by SEB or the permitted third party application selected in the Lauch with popup list.</value>
</data>
<data name="buttonAdditionalResourcesChooseEmbeddedFolder.ToolTip" xml:space="preserve">
<value>Select a folder to be embedded into the SEB Config File. After choosing a folder, a setting called Filename/File to launch and the setting Lauch with is displayed. In the File to launch popup list, all files in the embedded folder (and its subfolders) are listed, you have to select one which is opened first.</value>
</data>
<data name="comboBoxAdditionalResourcesResourceDataLauncher.ToolTip" xml:space="preserve">
<value>Select SEB (the internal SEB browser will be used to display the resource, this has to have a document type which can be displayed by the browser) or one of the permitted third party applications if there are some defined in the Permitted Processes Pane.</value>
</data>
<data name="textBoxAdditionalResourcesTitle.ToolTip" xml:space="preserve">
<value>Will be displayed either as a tool tip when hovering over the additional resource icon in the SEB task bar or as a menu entry in the additional resource popup menu if the resource is placed on the second or third hierarchy level.</value>
</data>
<data name="buttonAdditionalResourcesChooseIcon.ToolTip" xml:space="preserve">
<value>Select a image file used as an icon for the resource. If you define an external resource using its URL (see section Behavior), then the SEB Config Tool tries to load the Favicon of the website at that URL and uses it as the icon for the resource.</value>
</data>
</root>
133 changes: 75 additions & 58 deletions SebWindowsConfig/SebWindowsConfigForm.Designer.cs

Large diffs are not rendered by default.

1,690 changes: 821 additions & 869 deletions SebWindowsConfig/SebWindowsConfigForm.resx

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion SebWindowsConfig/SebWindowsConfigGUIManagement.cs
Expand Up @@ -270,7 +270,7 @@ private void InitialiseGlobalVariablesForGUIWidgets()
StringWindowPositioning[1] = "Center";
StringWindowPositioning[2] = "Right";

// Define the strings for the Task Bar Height
// Define the strings for the taskbar Height
StringTaskBarHeight[0] = "40";
StringTaskBarHeight[1] = "60";
StringTaskBarHeight[2] = "80";
Expand Down

0 comments on commit a688278

Please sign in to comment.