mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2025-01-20 15:29:26 +01:00
Tidy up XSVNCScreen
: use explicit modifiers
Signed-off-by: Danilo Del Busso <danilo.delbusso@cloud.com>
This commit is contained in:
parent
9618c11ba5
commit
559843f549
@ -70,7 +70,7 @@ namespace XenAdmin.ConsoleView
|
||||
|
||||
private volatile bool _useVNC = true;
|
||||
|
||||
private bool _autoCaptureKeyboardAndMouse = true;
|
||||
private readonly bool _autoCaptureKeyboardAndMouse = true;
|
||||
|
||||
private readonly Color _focusColor = SystemColors.MenuHighlight;
|
||||
|
||||
@ -173,7 +173,7 @@ namespace XenAdmin.ConsoleView
|
||||
guestMetrics.PropertyChanged += guestMetrics_PropertyChanged;
|
||||
}
|
||||
|
||||
void Default_PropertyChanged(object sender, PropertyChangedEventArgs e)
|
||||
private void Default_PropertyChanged(object sender, PropertyChangedEventArgs e)
|
||||
{
|
||||
if (e.PropertyName == "EnableRDPPolling")
|
||||
Program.Invoke(this, StartPolling);
|
||||
@ -194,7 +194,7 @@ namespace XenAdmin.ConsoleView
|
||||
|
||||
}
|
||||
|
||||
void guestMetrics_PropertyChanged(object sender, PropertyChangedEventArgs e)
|
||||
private void guestMetrics_PropertyChanged(object sender, PropertyChangedEventArgs e)
|
||||
{
|
||||
if (Source == null)
|
||||
return;
|
||||
@ -610,7 +610,7 @@ namespace XenAdmin.ConsoleView
|
||||
}
|
||||
}
|
||||
|
||||
void ConnectionSuccess(object sender, EventArgs e)
|
||||
private void ConnectionSuccess(object sender, EventArgs e)
|
||||
{
|
||||
_connectionRetries = 0;
|
||||
if (AutoSwitchRDPLater)
|
||||
|
Loading…
Reference in New Issue
Block a user