Skip to content

Commit

Permalink
Added Nerator Sample
Browse files Browse the repository at this point in the history
  • Loading branch information
Taiizor committed Jun 3, 2023
1 parent bfe0234 commit 114ed35
Show file tree
Hide file tree
Showing 95 changed files with 7,228 additions and 1,137 deletions.
1 change: 1 addition & 0 deletions .github/workflows/dotnet-desktop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ jobs:
ready/ReaLTaiizor.AppLocker/ReaLTaiizor.AppLocker.sln,
ready/ReaLTaiizor.Hashing/ReaLTaiizor.Hashing.sln,
ready/ReaLTaiizor.MAChanger/ReaLTaiizor.MAChanger.sln,
ready/ReaLTaiizor.Nerator/ReaLTaiizor.Nerator.sln,
ready/ReaLTaiizor.Portscan/ReaLTaiizor.Portscan.sln,
ready/ReaLTaiizor.Stopwatch/ReaLTaiizor.Stopwatch.sln,
ready/ReaLTaiizor.Translate/ReaLTaiizor.Translate.sln,
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ jobs:
ready/ReaLTaiizor.AppLocker,
ready/ReaLTaiizor.Hashing,
ready/ReaLTaiizor.MAChanger,
ready/ReaLTaiizor.Nerator,
ready/ReaLTaiizor.Portscan,
ready/ReaLTaiizor.Stopwatch,
ready/ReaLTaiizor.Translate,
Expand Down
Binary file added .screenshots/Nerator.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions README.ES.md
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,10 @@ Paso 2:Disfruta diseñando

[![MAChangerReady](https://raw.githubusercontent.com/Taiizor/ReaLTaiizor/develop/.screenshots/MAChanger.gif)](https://github.com/Taiizor/ReaLTaiizor/tree/develop/ready/ReaLTaiizor.MAChanger "MAChangerReady")

### Nerator

[![NeratorReady](https://raw.githubusercontent.com/Taiizor/ReaLTaiizor/develop/.screenshots/Nerator.gif)](https://github.com/Taiizor/ReaLTaiizor/tree/develop/ready/ReaLTaiizor.Nerator "NeratorReady")

### Portscan

[![PortscanReady](https://raw.githubusercontent.com/Taiizor/ReaLTaiizor/develop/.screenshots/Portscan.gif)](https://github.com/Taiizor/ReaLTaiizor/tree/develop/ready/ReaLTaiizor.Portscan "PortscanReady")
Expand Down
4 changes: 4 additions & 0 deletions README.TR.md
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,10 @@ Adım 2:Tasarlamanın tadını çıkarın

[![MAChangerReady](https://raw.githubusercontent.com/Taiizor/ReaLTaiizor/develop/.screenshots/MAChanger.gif)](https://github.com/Taiizor/ReaLTaiizor/tree/develop/ready/ReaLTaiizor.MAChanger "MAChangerReady")

### Nerator

[![NeratorReady](https://raw.githubusercontent.com/Taiizor/ReaLTaiizor/develop/.screenshots/Nerator.gif)](https://github.com/Taiizor/ReaLTaiizor/tree/develop/ready/ReaLTaiizor.Nerator "NeratorReady")

### Portscan

[![PortscanReady](https://raw.githubusercontent.com/Taiizor/ReaLTaiizor/develop/.screenshots/Portscan.gif)](https://github.com/Taiizor/ReaLTaiizor/tree/develop/ready/ReaLTaiizor.Portscan "PortscanReady")
Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,10 @@ Step 2:Enjoy designing

[![MAChangerReady](https://raw.githubusercontent.com/Taiizor/ReaLTaiizor/develop/.screenshots/MAChanger.gif)](https://github.com/Taiizor/ReaLTaiizor/tree/develop/ready/ReaLTaiizor.MAChanger "MAChangerReady")

### Nerator

[![NeratorReady](https://raw.githubusercontent.com/Taiizor/ReaLTaiizor/develop/.screenshots/Nerator.gif)](https://github.com/Taiizor/ReaLTaiizor/tree/develop/ready/ReaLTaiizor.Nerator "NeratorReady")

### Portscan

[![PortscanReady](https://raw.githubusercontent.com/Taiizor/ReaLTaiizor/develop/.screenshots/Portscan.gif)](https://github.com/Taiizor/ReaLTaiizor/tree/develop/ready/ReaLTaiizor.Portscan "PortscanReady")
Expand Down
9 changes: 9 additions & 0 deletions ReaLTaiizor.sln
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ReaLTaiizor.MAChanger", "re
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ReaLTaiizor.Portscan", "ready\ReaLTaiizor.Portscan\ReaLTaiizor.Portscan\ReaLTaiizor.Portscan.csproj", "{F174B213-76DD-4083-B7A4-B9276187162B}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ReaLTaiizor.Nerator", "ready\ReaLTaiizor.Nerator\ReaLTaiizor.Nerator\ReaLTaiizor.Nerator.csproj", "{02AA4C57-2532-4BD9-BA38-B4E458C0788E}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand Down Expand Up @@ -230,6 +232,12 @@ Global
{F174B213-76DD-4083-B7A4-B9276187162B}.GitHub|Any CPU.Build.0 = Debug|Any CPU
{F174B213-76DD-4083-B7A4-B9276187162B}.Release|Any CPU.ActiveCfg = Release|Any CPU
{F174B213-76DD-4083-B7A4-B9276187162B}.Release|Any CPU.Build.0 = Release|Any CPU
{02AA4C57-2532-4BD9-BA38-B4E458C0788E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{02AA4C57-2532-4BD9-BA38-B4E458C0788E}.Debug|Any CPU.Build.0 = Debug|Any CPU
{02AA4C57-2532-4BD9-BA38-B4E458C0788E}.GitHub|Any CPU.ActiveCfg = GitHub|Any CPU
{02AA4C57-2532-4BD9-BA38-B4E458C0788E}.GitHub|Any CPU.Build.0 = GitHub|Any CPU
{02AA4C57-2532-4BD9-BA38-B4E458C0788E}.Release|Any CPU.ActiveCfg = Release|Any CPU
{02AA4C57-2532-4BD9-BA38-B4E458C0788E}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down Expand Up @@ -262,6 +270,7 @@ Global
{F64C39EC-36BB-4042-B5A0-E0E2156CD34E} = {599D4EA3-70E5-424A-A7B6-90977C7E7C86}
{79237762-DF74-4B27-BCA1-6BE6B8ADF2AC} = {E51D7599-8BC7-46D3-8C8A-D840613DE396}
{F174B213-76DD-4083-B7A4-B9276187162B} = {E51D7599-8BC7-46D3-8C8A-D840613DE396}
{02AA4C57-2532-4BD9-BA38-B4E458C0788E} = {E51D7599-8BC7-46D3-8C8A-D840613DE396}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {FEB12F1D-8C3B-492E-8590-D56D5B56FC2A}
Expand Down
28 changes: 28 additions & 0 deletions ready/ReaLTaiizor.Nerator/ReaLTaiizor.Nerator.sln
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.30330.147
MinimumVisualStudioVersion = 10.0.40219.1
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ReaLTaiizor.Nerator", "ReaLTaiizor.Nerator\ReaLTaiizor.Nerator.csproj", "{6987473E-2A91-4D65-8E6D-9D875519F167}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
GitHub|Any CPU = GitHub|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{6987473E-2A91-4D65-8E6D-9D875519F167}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{6987473E-2A91-4D65-8E6D-9D875519F167}.Debug|Any CPU.Build.0 = Debug|Any CPU
{6987473E-2A91-4D65-8E6D-9D875519F167}.GitHub|Any CPU.ActiveCfg = GitHub|Any CPU
{6987473E-2A91-4D65-8E6D-9D875519F167}.GitHub|Any CPU.Build.0 = GitHub|Any CPU
{6987473E-2A91-4D65-8E6D-9D875519F167}.Release|Any CPU.ActiveCfg = Release|Any CPU
{6987473E-2A91-4D65-8E6D-9D875519F167}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {C7B56EBF-92E0-42E9-9D98-4E4EAE67B513}
EndGlobalSection
EndGlobal
74 changes: 74 additions & 0 deletions ready/ReaLTaiizor.Nerator/ReaLTaiizor.Nerator/App.manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
<?xml version="1.0" encoding="utf-8"?>
<assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1">
<assemblyIdentity version="1.0.0.0" name="MyApplication.app"/>
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
<security>
<requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3">
<!-- UAC Bildirim Seçenekleri
Windows Kullanıcı Hesabı Denetimi düzeyini değiştirmek istiyorsanız
requestedExecutionLevel düğümünü aşağıdakilerden biriyle değiştirin.
<requestedExecutionLevel level="asInvoker" uiAccess="false" />
<requestedExecutionLevel level="requireAdministrator" uiAccess="false" />
<requestedExecutionLevel level="highestAvailable" uiAccess="false" />
requestedExecutionLevel öğesini belirtmek, dosya ve kayıt defteri sanallaştırmasını devre dışı bırakır.
Uygulamanız geriye doğru uyumluluk için bu sanallaştırmayı gerektiriyorsa, bu öğeyi
kaldırın.
-->
<requestedExecutionLevel level="asInvoker" uiAccess="false" />
</requestedPrivileges>
</security>
</trustInfo>

<compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
<application>
<!-- Bu uygulamanın test edildiği ve birlikte çalışmak için tasarlandığı
Windows sürümlerinin bir listesi. Uygun öğelerin açıklamasını kaldırdığınızda Windows
en uyumlu ortamı otomatik olarak seçer. -->

<!-- Windows Vista -->
<!--<supportedOS Id="{e2011457-1546-43c5-a5fe-008deee3d3f0}" />-->

<!-- Windows 7 -->
<!--<supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}" />-->

<!-- Windows 8 -->
<!--<supportedOS Id="{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}" />-->

<!-- Windows 8.1 -->
<!--<supportedOS Id="{1f676c76-80e1-4239-95bb-83d0f6d0da78}" />-->

<!-- Windows 10 -->
<!--<supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}" />-->

</application>
</compatibility>

<!-- Uygulamanın DPI kullanan uygulama olduğunu ve yüksek DPI'larda Windows tarafından otomatik olarak ölçeklendirilmeyeceğini
belirtir. Windows Presentation Foundation (WPF) uygulamaları otomatik olarak DPI kullanan uygulamalardır ve bunu kabul etmeleri
gerekmez. Bu ayarı kabul eden ve .NET Framework 4.6'yı hedefleyen Windows Forms uygulamalarının da
app.config'de 'EnableWindowsFormsHighDpiAutoResizing' ayarını 'true' olarak belirlemeleri gerekir. -->
<!--
<application xmlns="urn:schemas-microsoft-com:asm.v3">
<windowsSettings>
<dpiAware xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">true</dpiAware>
</windowsSettings>
</application>
-->

<!-- Windows genel denetimler ve iletişim kutuları için temaları etkinleştir (Windows XP ve sonrası) -->
<dependency>
<dependentAssembly>
<assemblyIdentity
type="win32"
name="Microsoft.Windows.Common-Controls"
version="6.0.0.0"
processorArchitecture="*"
publicKeyToken="6595b64144ccf1df"
language="*"
/>
</dependentAssembly>
</dependency>

</assembly>
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8" />
</startup>
</configuration>
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8" />
</startup>
</configuration>
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
</configuration>
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
</configuration>
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
</configuration>
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
</configuration>
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
59 changes: 59 additions & 0 deletions ready/ReaLTaiizor.Nerator/ReaLTaiizor.Nerator/CS/Character.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
namespace ReaLTaiizor.Nerator.CS
{
public class Character
{
public enum AlphabeticType
{
JB,
JS,
BS
}

public static AlphabeticType GetAlphabeticMode(string Type)
{
return Type switch
{
"JB" => AlphabeticType.JB,
"JS" => AlphabeticType.JS,
_ => AlphabeticType.BS,
};
}

public static string GetAlphabeticMode(AlphabeticType Type)
{
return Type switch
{
AlphabeticType.JB => "JB",
AlphabeticType.JS => "JS",
_ => "BS",
};
}

public enum SpecialType
{
JN,
JS,
NS
}

public static SpecialType GetSpecialMode(string Type)
{
return Type switch
{
"JN" => SpecialType.JN,
"JS" => SpecialType.JS,
_ => SpecialType.NS,
};
}

public static string GetSpecialMode(SpecialType Type)
{
return Type switch
{
SpecialType.JN => "JN",
SpecialType.JS => "JS",
_ => "NS",
};
}
}
}
39 changes: 39 additions & 0 deletions ready/ReaLTaiizor.Nerator/ReaLTaiizor.Nerator/CS/Engine.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
using System;
using System.Threading;
using System.Windows.Forms;
using static ReaLTaiizor.Nerator.CS.Setting;
using static ReaLTaiizor.Nerator.CS.Window;

namespace ReaLTaiizor.Nerator.CS
{
public class Engine
{
private static readonly Mutex MTX = new(true, "{ReaLTaiizor Nerator - New Generation Password Generator}");

public Engine()
{
try
{
Application.EnableVisualStyles();
#if NETCOREAPP3_1 || NET6_0 || NET7_0 || NET8_0
Application.SetHighDpiMode(HighDpiMode.SystemAware);
#endif
Application.SetCompatibleTextRenderingDefault(false);
if (MTX.WaitOne(TimeSpan.Zero, true))
{
MTX.ReleaseMutex();
_ = new Setting(ConfigFileName);
Application.Run(OpenWindowMode(WindowMode));
}
else
{
MessageBox.Show("Already Open!", "Nerator", MessageBoxButtons.OK, MessageBoxIcon.Information);
}
}
catch (Exception Ex)
{
MessageBox.Show(Ex.Message + "\n" + Ex.StackTrace);
}
}
}
}
Loading

0 comments on commit 114ed35

Please sign in to comment.