codestyle edit

This commit is contained in:
stam 2020-01-09 18:09:11 +03:00
parent f653be81a1
commit c6fc7a4d15
3 changed files with 21 additions and 15 deletions

View File

@ -4,16 +4,13 @@ using System.Linq;
using System.Threading.Tasks; using System.Threading.Tasks;
using System.Windows.Forms; using System.Windows.Forms;
namespace UniversalValveToolbox namespace UniversalValveToolbox {
{ static class Program {
static class Program
{
/// <summary> /// <summary>
/// The main entry point for the application. /// The main entry point for the application.
/// </summary> /// </summary>
[STAThread] [STAThread]
static void Main() static void Main() {
{
Application.EnableVisualStyles(); Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false); Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new FormMain()); Application.Run(new FormMain());

View File

@ -36,8 +36,8 @@
<ApplicationIcon>valve.ico</ApplicationIcon> <ApplicationIcon>valve.ico</ApplicationIcon>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
<Reference Include="EpicMorg.SteamPathsLib, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL"> <Reference Include="EpicMorg.SteamPathsLib, Version=1.1.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\EpicMorg.SteamPathsLib.1.0.0\lib\net48\EpicMorg.SteamPathsLib.dll</HintPath> <HintPath>..\packages\EpicMorg.SteamPathsLib.1.1.0\lib\net48\EpicMorg.SteamPathsLib.dll</HintPath>
</Reference> </Reference>
<Reference Include="Newtonsoft.Json, Version=12.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL"> <Reference Include="Newtonsoft.Json, Version=12.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
<HintPath>..\packages\Newtonsoft.Json.12.0.3\lib\net45\Newtonsoft.Json.dll</HintPath> <HintPath>..\packages\Newtonsoft.Json.12.0.3\lib\net45\Newtonsoft.Json.dll</HintPath>
@ -55,16 +55,22 @@
<Reference Include="System.Xml" /> <Reference Include="System.Xml" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<Compile Include="FormMain.cs"> <Compile Include="forms\FormEditProfile.cs">
<SubType>Form</SubType> <SubType>Form</SubType>
</Compile> </Compile>
<Compile Include="FormMain.Designer.cs"> <Compile Include="forms\FormEditProfile.Designer.cs">
<DependentUpon>FormEditProfile.cs</DependentUpon>
</Compile>
<Compile Include="forms\FormMain.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="forms\FormMain.Designer.cs">
<DependentUpon>FormMain.cs</DependentUpon> <DependentUpon>FormMain.cs</DependentUpon>
</Compile> </Compile>
<Compile Include="FormSettings.cs"> <Compile Include="forms\FormSettings.cs">
<SubType>Form</SubType> <SubType>Form</SubType>
</Compile> </Compile>
<Compile Include="FormSettings.Designer.cs"> <Compile Include="forms\FormSettings.Designer.cs">
<DependentUpon>FormSettings.cs</DependentUpon> <DependentUpon>FormSettings.cs</DependentUpon>
</Compile> </Compile>
<Compile Include="Program.cs" /> <Compile Include="Program.cs" />
@ -74,10 +80,13 @@
<DesignTime>True</DesignTime> <DesignTime>True</DesignTime>
<DependentUpon>str.resx</DependentUpon> <DependentUpon>str.resx</DependentUpon>
</Compile> </Compile>
<EmbeddedResource Include="FormMain.resx"> <EmbeddedResource Include="forms\FormEditProfile.resx">
<DependentUpon>FormEditProfile.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="forms\FormMain.resx">
<DependentUpon>FormMain.cs</DependentUpon> <DependentUpon>FormMain.cs</DependentUpon>
</EmbeddedResource> </EmbeddedResource>
<EmbeddedResource Include="FormSettings.resx"> <EmbeddedResource Include="forms\FormSettings.resx">
<DependentUpon>FormSettings.cs</DependentUpon> <DependentUpon>FormSettings.cs</DependentUpon>
</EmbeddedResource> </EmbeddedResource>
<EmbeddedResource Include="Properties\Resources.resx"> <EmbeddedResource Include="Properties\Resources.resx">

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<packages> <packages>
<package id="EpicMorg.SteamPathsLib" version="1.0.0" targetFramework="net48" /> <package id="EpicMorg.SteamPathsLib" version="1.1.0" targetFramework="net48" />
<package id="Newtonsoft.Json" version="12.0.3" targetFramework="net48" /> <package id="Newtonsoft.Json" version="12.0.3" targetFramework="net48" />
</packages> </packages>