From 1fca1187536fe088fbcf7b13e2a276694e5d3b75 Mon Sep 17 00:00:00 2001 From: MaxXor Date: Mon, 1 Aug 2016 17:48:53 +0200 Subject: [PATCH] Small change --- Server/Forms/FrmRemoteWebcam.cs | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) 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)); }