Clean up "Using" to remove implied includes.
This commit is contained in:
@ -32,7 +32,7 @@ namespace Tidstagning
|
||||
return titleAttribute.Title;
|
||||
}
|
||||
}
|
||||
return System.IO.Path.GetFileNameWithoutExtension(Assembly.GetExecutingAssembly().CodeBase);
|
||||
return System.IO.Path.GetFileNameWithoutExtension(Assembly.GetExecutingAssembly().Location);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -11,8 +11,8 @@ namespace Tidstagning
|
||||
{
|
||||
|
||||
};
|
||||
ResultList liste;
|
||||
Relay horn;
|
||||
ResultList? liste;
|
||||
Relay? horn;
|
||||
Procedure startprocedure = new Procedure();
|
||||
|
||||
public MainUI()
|
||||
|
@ -1,15 +1,17 @@
|
||||
using System.Diagnostics;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
|
||||
namespace Tidstagning
|
||||
{
|
||||
class Procedure
|
||||
{
|
||||
Relay horn;
|
||||
ResultList log;
|
||||
Relay? horn;
|
||||
ResultList? log;
|
||||
List<DateTime> signaler;
|
||||
uint signalLength = 500;
|
||||
|
||||
System.Threading.Timer timer;
|
||||
System.Threading.Timer? timer;
|
||||
Int16 idx = 0;
|
||||
|
||||
public Procedure()
|
||||
|
@ -3,12 +3,13 @@ using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
using System.IO.Ports;
|
||||
using System.Threading;
|
||||
|
||||
namespace Tidstagning
|
||||
{
|
||||
class Relay
|
||||
{
|
||||
SerialPort com;
|
||||
System.Threading.Timer cooldownTimer;
|
||||
System.Threading.Timer? cooldownTimer;
|
||||
|
||||
struct SignalSpec
|
||||
{
|
||||
|
@ -8,7 +8,7 @@ namespace Tidstagning
|
||||
System.IO.StreamWriter filehandle;
|
||||
System.IO.StreamWriter filehandle2;
|
||||
Tidstagning.MainUI parentForm;
|
||||
string racenumber;
|
||||
string racenumber = "";
|
||||
public ResultList(string filename, Tidstagning.MainUI log_object)
|
||||
{
|
||||
filename = MakeSafeFilename(filename, '_');
|
||||
|
@ -4,9 +4,22 @@
|
||||
<OutputType>WinExe</OutputType>
|
||||
<TargetFramework>net6.0-windows</TargetFramework>
|
||||
<Nullable>enable</Nullable>
|
||||
<UseWindowsForms>true</UseWindowsForms>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<UseWindowsForms>True</UseWindowsForms>
|
||||
<ImplicitUsings>disable</ImplicitUsings>
|
||||
<StartupObject>Tidstagning.Program</StartupObject>
|
||||
<DebugType>portable</DebugType>
|
||||
<SignAssembly>False</SignAssembly>
|
||||
<ErrorReport>none</ErrorReport>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
|
||||
<NoWarn />
|
||||
<CheckForOverflowUnderflow>True</CheckForOverflowUnderflow>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
|
||||
<NoWarn />
|
||||
<CheckForOverflowUnderflow>True</CheckForOverflowUnderflow>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
Reference in New Issue
Block a user