Skip to content

Commit

Permalink
- moved server query logic to a separate class
Browse files Browse the repository at this point in the history
- added auto-refresh interval
- keep previous information displayed until server data was actually updated
- added alert when servers are found that pass the filter
  • Loading branch information
PredatH0r committed Jun 28, 2015
1 parent bfd5888 commit fcf326e
Show file tree
Hide file tree
Showing 7 changed files with 451 additions and 284 deletions.
7 changes: 7 additions & 0 deletions ServerBrowser/Program.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using System;
using System.Globalization;
using System.Threading;
using System.Windows.Forms;
using DevExpress.LookAndFeel;
Expand All @@ -11,6 +12,12 @@ static class Program
[STAThread]
static void Main()
{
#if false
var culture = new CultureInfo("en");
Application.CurrentCulture = culture;
Thread.CurrentThread.CurrentUICulture = culture;
Thread.CurrentThread.CurrentCulture = culture;
#endif
InitExceptionHandling();
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Expand Down
10 changes: 2 additions & 8 deletions ServerBrowser/ServerBrowser.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -57,44 +57,37 @@
<ItemGroup>
<Reference Include="DevExpress.Data.v15.1, Version=15.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>

<Private>True</Private>
</Reference>
<Reference Include="DevExpress.Printing.v15.1.Core, Version=15.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>

<Private>True</Private>
</Reference>
<Reference Include="DevExpress.Utils.v15.1, Version=15.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>

<Private>True</Private>
</Reference>
<Reference Include="DevExpress.XtraBars.v15.1, Version=15.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>

<Private>True</Private>
</Reference>
<Reference Include="DevExpress.XtraEditors.v15.1, Version=15.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>

<Private>True</Private>
</Reference>
<Reference Include="DevExpress.XtraGrid.v15.1, Version=15.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>

<Private>True</Private>
</Reference>
<Reference Include="DevExpress.XtraLayout.v15.1, Version=15.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>

<Private>True</Private>
</Reference>
<Reference Include="DevExpress.XtraPrinting.v15.1, Version=15.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>

<Private>True</Private>
</Reference>
<Reference Include="DevExpress.XtraRichEdit.v15.1, Version=15.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
<Reference Include="PresentationCore" />
<Reference Include="System" />
<Reference Include="System.ComponentModel.DataAnnotations" />
Expand Down Expand Up @@ -133,6 +126,7 @@
</Compile>
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="ServerQueryLogic.cs" />
<Compile Include="ServerRow.cs" />
<Compile Include="Settings.cs" />
<Compile Include="SkinPicker.cs">
Expand Down
42 changes: 29 additions & 13 deletions ServerBrowser/ServerBrowserForm.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit fcf326e

Please sign in to comment.