diff --git a/Server/Forms/FrmRemoteWebcam.cs b/Server/Forms/FrmRemoteWebcam.cs index 1413e99c..2f10172c 100644 --- a/Server/Forms/FrmRemoteWebcam.cs +++ b/Server/Forms/FrmRemoteWebcam.cs @@ -1,22 +1,19 @@ using System; using System.Collections.Generic; -using System.Text; using System.Drawing; +using System.Linq; using System.Windows.Forms; using xServer.Core.Helper; using xServer.Core.Networking; -using xServer.Core.Utilities; -using xServer.Enums; + namespace xServer.Forms { - using System.Linq; - public partial class FrmRemoteWebcam : Form { public bool IsStarted { get; private set; } private readonly Client _connectClient; - private Dictionary> Webcams; + private Dictionary> _webcams; public FrmRemoteWebcam(Client c) { @@ -58,7 +55,7 @@ private void FrmRemoteWebcam_Load(object sender, EventArgs e) } public void AddWebcams(Dictionary> webcams) { - this.Webcams = webcams; + this._webcams = webcams; try { cbWebcams.Invoke((MethodInvoker)delegate @@ -130,7 +127,7 @@ private void cbWebcams_SelectedIndexChanged(object sender, EventArgs e) cbResolutions.Invoke((MethodInvoker)delegate { cbResolutions.Items.Clear(); - foreach (var resolution in this.Webcams.ElementAt(cbWebcams.SelectedIndex).Value) + foreach (var resolution in this._webcams.ElementAt(cbWebcams.SelectedIndex).Value) { cbResolutions.Items.Add(string.Format("{0} x {1}", resolution.Width, resolution.Height)); }