Move and Rename Form1 ro MainForm

This commit is contained in:
miku-666
2022-06-25 23:38:40 +02:00
parent d16e5a027f
commit e3f0d2d708
10 changed files with 2911 additions and 3150 deletions

View File

@@ -14,7 +14,7 @@ namespace PckStudio
[STAThread]
static void Main(string[] args)
{
Application.Run(new FormMain());
Application.Run(new MainForm());
}
}
}

View File

@@ -0,0 +1,19 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PckStudio.Forms.Utilities
{
public static class ListUtils
{
public static IList<T> Swap<T>(this IList<T> list, int index1, int index2)
{
T temp = list[index1];
list[index1] = list[index2];
list[index2] = temp;
return list;
}
}
}