mirror of
https://github.com/chylex/Code-Statistics.git
synced 2025-06-06 00:34:04 +02:00
Move FormUtils from Core to the main project
This commit is contained in:
parent
768d0da2df
commit
85168862ca
CodeStatistics
CodeStatisticsCore
@ -73,6 +73,7 @@
|
|||||||
<Compile Include="Forms\AboutForm.Designer.cs">
|
<Compile Include="Forms\AboutForm.Designer.cs">
|
||||||
<DependentUpon>AboutForm.cs</DependentUpon>
|
<DependentUpon>AboutForm.cs</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
|
<Compile Include="Forms\Utils\FormExtensions.cs" />
|
||||||
<Compile Include="Forms\Input\GitHubForm.cs">
|
<Compile Include="Forms\Input\GitHubForm.cs">
|
||||||
<SubType>Form</SubType>
|
<SubType>Form</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using CodeStatistics.Data;
|
using CodeStatistics.Data;
|
||||||
|
using CodeStatistics.Forms.Utils;
|
||||||
using CodeStatistics.Input.Methods;
|
using CodeStatistics.Input.Methods;
|
||||||
using CodeStatisticsCore.Forms;
|
|
||||||
|
|
||||||
#if MONO
|
#if MONO
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
|
@ -5,9 +5,9 @@ using System.Globalization;
|
|||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using CodeStatistics.Data;
|
using CodeStatistics.Data;
|
||||||
|
using CodeStatistics.Forms.Utils;
|
||||||
using CodeStatistics.Input;
|
using CodeStatistics.Input;
|
||||||
using CodeStatistics.Output;
|
using CodeStatistics.Output;
|
||||||
using CodeStatisticsCore.Forms;
|
|
||||||
using CodeStatisticsCore.Handling;
|
using CodeStatisticsCore.Handling;
|
||||||
|
|
||||||
namespace CodeStatistics.Forms.Project{
|
namespace CodeStatistics.Forms.Project{
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
|
|
||||||
namespace CodeStatisticsCore.Forms{
|
namespace CodeStatistics.Forms.Utils{
|
||||||
public static class FormUtils{
|
static class FormExtensions{
|
||||||
public static void InvokeOnUIThread(this Form form, Action func){
|
public static void InvokeOnUIThread(this Form form, Action func){
|
||||||
if (form.InvokeRequired)form.Invoke(func);
|
if (form.InvokeRequired)form.Invoke(func);
|
||||||
else func();
|
else func();
|
@ -34,7 +34,6 @@
|
|||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Reference Include="System" />
|
<Reference Include="System" />
|
||||||
<Reference Include="System.Core" />
|
<Reference Include="System.Core" />
|
||||||
<Reference Include="System.Windows.Forms" />
|
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Compile Include="Collections\AnonymousDictionary.cs" />
|
<Compile Include="Collections\AnonymousDictionary.cs" />
|
||||||
@ -43,7 +42,6 @@
|
|||||||
<Compile Include="Collections\CounterDictionary.cs" />
|
<Compile Include="Collections\CounterDictionary.cs" />
|
||||||
<Compile Include="Collections\EnumDictionary.cs" />
|
<Compile Include="Collections\EnumDictionary.cs" />
|
||||||
<Compile Include="Collections\TopElementList.cs" />
|
<Compile Include="Collections\TopElementList.cs" />
|
||||||
<Compile Include="Forms\FormUtils.cs" />
|
|
||||||
<Compile Include="Handling\Files\AbstractFileHandler.cs" />
|
<Compile Include="Handling\Files\AbstractFileHandler.cs" />
|
||||||
<Compile Include="Handling\Files\AbstractLanguageFileHandler.cs" />
|
<Compile Include="Handling\Files\AbstractLanguageFileHandler.cs" />
|
||||||
<Compile Include="Handling\IFileHandler.cs" />
|
<Compile Include="Handling\IFileHandler.cs" />
|
||||||
|
Loading…
Reference in New Issue
Block a user