SEBWIN-516: Disabled message input when hand is raised.

This commit is contained in:
Damian Büchel 2021-09-20 14:53:22 +02:00
parent 8a3039ec16
commit b5ec48498f
4 changed files with 8 additions and 0 deletions

View file

@ -102,6 +102,7 @@ namespace SafeExamBrowser.UserInterface.Desktop.Controls.ActionCenter
private void ShowLowered()
{
HandButtonText.Text = text.Get(TextKey.Notification_ProctoringRaiseHand);
Message.IsEnabled = true;
NotificationButton.ToolTip = text.Get(TextKey.Notification_ProctoringHandLowered);
TextBlock.Text = "L";
}
@ -109,6 +110,7 @@ namespace SafeExamBrowser.UserInterface.Desktop.Controls.ActionCenter
private void ShowRaised()
{
HandButtonText.Text = text.Get(TextKey.Notification_ProctoringLowerHand);
Message.IsEnabled = false;
NotificationButton.ToolTip = text.Get(TextKey.Notification_ProctoringHandRaised);
TextBlock.Text = "R";
}

View file

@ -111,6 +111,7 @@ namespace SafeExamBrowser.UserInterface.Desktop.Controls.Taskbar
private void ShowLowered()
{
HandButtonText.Text = text.Get(TextKey.Notification_ProctoringRaiseHand);
Message.IsEnabled = true;
NotificationButton.ToolTip = text.Get(TextKey.Notification_ProctoringHandLowered);
TextBlock.Text = "L";
}
@ -118,6 +119,7 @@ namespace SafeExamBrowser.UserInterface.Desktop.Controls.Taskbar
private void ShowRaised()
{
HandButtonText.Text = text.Get(TextKey.Notification_ProctoringLowerHand);
Message.IsEnabled = false;
NotificationButton.ToolTip = text.Get(TextKey.Notification_ProctoringHandRaised);
TextBlock.Text = "R";
}

View file

@ -102,6 +102,7 @@ namespace SafeExamBrowser.UserInterface.Mobile.Controls.ActionCenter
private void ShowLowered()
{
HandButtonText.Text = text.Get(TextKey.Notification_ProctoringRaiseHand);
Message.IsEnabled = true;
NotificationButton.ToolTip = text.Get(TextKey.Notification_ProctoringHandLowered);
TextBlock.Text = "L";
}
@ -109,6 +110,7 @@ namespace SafeExamBrowser.UserInterface.Mobile.Controls.ActionCenter
private void ShowRaised()
{
HandButtonText.Text = text.Get(TextKey.Notification_ProctoringLowerHand);
Message.IsEnabled = false;
NotificationButton.ToolTip = text.Get(TextKey.Notification_ProctoringHandRaised);
TextBlock.Text = "R";
}

View file

@ -111,6 +111,7 @@ namespace SafeExamBrowser.UserInterface.Mobile.Controls.Taskbar
private void ShowLowered()
{
HandButtonText.Text = text.Get(TextKey.Notification_ProctoringRaiseHand);
Message.IsEnabled = true;
NotificationButton.ToolTip = text.Get(TextKey.Notification_ProctoringHandLowered);
TextBlock.Text = "L";
}
@ -118,6 +119,7 @@ namespace SafeExamBrowser.UserInterface.Mobile.Controls.Taskbar
private void ShowRaised()
{
HandButtonText.Text = text.Get(TextKey.Notification_ProctoringLowerHand);
Message.IsEnabled = false;
NotificationButton.ToolTip = text.Get(TextKey.Notification_ProctoringHandRaised);
TextBlock.Text = "R";
}