mirror of
https://github.com/chylex/Code-Statistics.git
synced 2025-03-14 15:15:44 +01: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">
|
||||
<DependentUpon>AboutForm.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Forms\Utils\FormExtensions.cs" />
|
||||
<Compile Include="Forms\Input\GitHubForm.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
|
@ -1,8 +1,8 @@
|
||||
using System;
|
||||
using System.Windows.Forms;
|
||||
using CodeStatistics.Data;
|
||||
using CodeStatistics.Forms.Utils;
|
||||
using CodeStatistics.Input.Methods;
|
||||
using CodeStatisticsCore.Forms;
|
||||
|
||||
#if MONO
|
||||
using System.Diagnostics;
|
||||
|
@ -5,9 +5,9 @@ using System.Globalization;
|
||||
using System.IO;
|
||||
using System.Windows.Forms;
|
||||
using CodeStatistics.Data;
|
||||
using CodeStatistics.Forms.Utils;
|
||||
using CodeStatistics.Input;
|
||||
using CodeStatistics.Output;
|
||||
using CodeStatisticsCore.Forms;
|
||||
using CodeStatisticsCore.Handling;
|
||||
|
||||
namespace CodeStatistics.Forms.Project{
|
||||
|
@ -1,8 +1,8 @@
|
||||
using System;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace CodeStatisticsCore.Forms{
|
||||
public static class FormUtils{
|
||||
namespace CodeStatistics.Forms.Utils{
|
||||
static class FormExtensions{
|
||||
public static void InvokeOnUIThread(this Form form, Action func){
|
||||
if (form.InvokeRequired)form.Invoke(func);
|
||||
else func();
|
@ -34,7 +34,6 @@
|
||||
<ItemGroup>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Core" />
|
||||
<Reference Include="System.Windows.Forms" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Collections\AnonymousDictionary.cs" />
|
||||
@ -43,7 +42,6 @@
|
||||
<Compile Include="Collections\CounterDictionary.cs" />
|
||||
<Compile Include="Collections\EnumDictionary.cs" />
|
||||
<Compile Include="Collections\TopElementList.cs" />
|
||||
<Compile Include="Forms\FormUtils.cs" />
|
||||
<Compile Include="Handling\Files\AbstractFileHandler.cs" />
|
||||
<Compile Include="Handling\Files\AbstractLanguageFileHandler.cs" />
|
||||
<Compile Include="Handling\IFileHandler.cs" />
|
||||
|
Loading…
Reference in New Issue
Block a user