diff --git a/README.md b/README.md
index 86dbe04..b6c5227 100644
--- a/README.md
+++ b/README.md
@@ -1,7 +1,7 @@
# TCNO
-
TCNO v1.5
+ TCNO v1.6
Visual Studio 2019
- .NET Framework 4.8 (Minimum 4.0)
+ .NET Framework 4.8 (Minimum 4.0) & .NET 5 & .NET 6
diff --git a/TCNO/Main.cs b/TCNO/Main.cs
index d37b491..e6c574b 100644
--- a/TCNO/Main.cs
+++ b/TCNO/Main.cs
@@ -2,7 +2,6 @@
using ReaLTaiizor.Forms;
using System;
using System.ComponentModel;
-using System.Threading.Tasks;
using System.Windows.Forms;
using TCN;
@@ -10,7 +9,7 @@ namespace TCNO
{
public partial class Main : PoisonForm
{
- private static readonly NO TCN = new NO();
+ private static readonly NO TCN = new();
public Main()
{
@@ -194,7 +193,7 @@ private void Job_Work(object sender, DoWorkEventArgs e)
poisonButton3.Enabled = false;
poisonButton4.Enabled = false;
int Count = Convert.ToInt32(poisonTextBox1.Text);
- Random RNDM = new Random();
+ Random RNDM = new();
for (int C = 0; C < Count; C++)
{
string GTCN = TCN.Create(RNDM);
diff --git a/TCNO/Properties/AssemblyInfo.cs b/TCNO/Properties/AssemblyInfo.cs
index d1eb327..07696c9 100644
--- a/TCNO/Properties/AssemblyInfo.cs
+++ b/TCNO/Properties/AssemblyInfo.cs
@@ -5,7 +5,7 @@
// denetlenir. Bütünleştirilmiş kod ile ilişkili bilgileri değiştirmek için
// bu öznitelik değerlerini değiştirin.
[assembly: AssemblyTitle("TCNO")]
-[assembly: AssemblyDescription("TCNO v1.5")]
+[assembly: AssemblyDescription("TCNO v1.6")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Taiizor")]
[assembly: AssemblyProduct("TCNO")]
@@ -31,5 +31,5 @@
// Tüm değerleri belirtebilir veya varsayılan Derleme ve Düzeltme Numaralarını kullanmak için
// aşağıda gösterildiği gibi '*' kullanabilirsiniz:
// [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("1.5.0.0")]
-[assembly: AssemblyFileVersion("1.5.0.0")]
\ No newline at end of file
+[assembly: AssemblyVersion("1.6.0.0")]
+[assembly: AssemblyFileVersion("1.6.0.0")]
\ No newline at end of file
diff --git a/TCNO/Properties/Settings.Designer.cs b/TCNO/Properties/Settings.Designer.cs
index dd13e4a..065062c 100644
--- a/TCNO/Properties/Settings.Designer.cs
+++ b/TCNO/Properties/Settings.Designer.cs
@@ -1,28 +1,24 @@
//------------------------------------------------------------------------------
//
-// This code was generated by a tool.
-// Runtime Version:4.0.30319.42000
+// Bu kod araç tarafından oluşturuldu.
+// Çalışma Zamanı Sürümü:4.0.30319.42000
//
-// Changes to this file may cause incorrect behavior and will be lost if
-// the code is regenerated.
+// Bu dosyada yapılacak değişiklikler yanlış davranışa neden olabilir ve
+// kod yeniden oluşturulursa kaybolur.
//
//------------------------------------------------------------------------------
-namespace TCNO.Properties
-{
-
-
+namespace TCNO.Properties {
+
+
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")]
- internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
- {
-
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "16.8.1.0")]
+ internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
+
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
-
- public static Settings Default
- {
- get
- {
+
+ public static Settings Default {
+ get {
return defaultInstance;
}
}
diff --git a/TCNO/TCNO.cs b/TCNO/TCNO.cs
index a7f395e..26a678e 100644
--- a/TCNO/TCNO.cs
+++ b/TCNO/TCNO.cs
@@ -13,6 +13,9 @@ private static void Main()
{
Application.EnableVisualStyles();
Control.CheckForIllegalCrossThreadCalls = false;
+#if NET5_0 || NET6_0
+ Application.SetHighDpiMode(HighDpiMode.SystemAware);
+#endif
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new Main());
}
diff --git a/TCNO/TCNO.csproj b/TCNO/TCNO.csproj
index 192a361..eb97599 100644
--- a/TCNO/TCNO.csproj
+++ b/TCNO/TCNO.csproj
@@ -1,36 +1,13 @@
-
-
-
+
- Debug
- AnyCPU
- {19F08D7A-2FE4-43CE-8B23-6CD801F8D04B}
+ net4.8;net5.0-windows;net6.0-windows
WinExe
- TCNO
- TCNO
- v4.8
- 512
- true
- true
-
-
- AnyCPU
- true
- full
- false
- bin\Debug\
- DEBUG;TRACE
- prompt
- 4
-
-
- AnyCPU
- pdbonly
- true
- bin\Release\
- TRACE
- prompt
- 4
+ false
+ true
+ true
+ preview
+ preview
+ tr
TR.ico
@@ -39,54 +16,24 @@
TCNO.TCNO
-
-
- ..\packages\ReaLTaiizor.3.7.8.2\lib\net48\ReaLTaiizor.dll
-
-
-
-
-
-
+
-
- Form
-
-
- Main.cs
-
-
-
-
-
- Main.cs
-
-
- ResXFileCodeGenerator
- Resources.Designer.cs
- Designer
-
-
- True
- Resources.resx
-
-
-
- SettingsSingleFileGenerator
- Settings.Designer.cs
-
-
+
+
+
+
+
+
+ True
True
Settings.settings
- True
-
-
-
-
+
+ SettingsSingleFileGenerator
+ Settings.Designer.cs
+
-
\ No newline at end of file
diff --git a/TCNO/packages.config b/TCNO/packages.config
deleted file mode 100644
index 3559b9f..0000000
--- a/TCNO/packages.config
+++ /dev/null
@@ -1,4 +0,0 @@
-
-
-
-
\ No newline at end of file