Skip to content

Commit

Permalink
Simulator
Browse files Browse the repository at this point in the history
  • Loading branch information
SteveOswald committed Jun 29, 2020
1 parent 3f0b031 commit 812a0b6
Show file tree
Hide file tree
Showing 8 changed files with 1,415 additions and 64 deletions.
18 changes: 18 additions & 0 deletions Lsw1188291fSimulator/Common.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Lsw1188291fSimulator
{
internal static class Common
{
public static void Clear<T>(this ConcurrentQueue<T> pQueue)
{
while (pQueue.TryDequeue(out T tmpItem))
{ }
}
}
}
40 changes: 0 additions & 40 deletions Lsw1188291fSimulator/Form1.Designer.cs

This file was deleted.

20 changes: 0 additions & 20 deletions Lsw1188291fSimulator/Form1.cs

This file was deleted.

10 changes: 7 additions & 3 deletions Lsw1188291fSimulator/Lsw1188291fSimulator.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,18 @@
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="Form1.cs">
<Compile Include="Common.cs" />
<Compile Include="frmMain.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Form1.Designer.cs">
<DependentUpon>Form1.cs</DependentUpon>
<Compile Include="frmMain.Designer.cs">
<DependentUpon>frmMain.cs</DependentUpon>
</Compile>
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<EmbeddedResource Include="frmMain.resx">
<DependentUpon>frmMain.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Properties\Resources.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
Expand Down
2 changes: 1 addition & 1 deletion Lsw1188291fSimulator/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ static void Main()
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new Form1());
Application.Run(new frmMain());
}
}
}
Loading

0 comments on commit 812a0b6

Please sign in to comment.