mirror of
https://github.com/Crypto-Notepad/Crypto-Notepad.git
synced 2026-03-11 08:55:25 +00:00
36 lines
988 B
C#
36 lines
988 B
C#
using System;
|
|
using System.Windows.Forms;
|
|
|
|
namespace Crypto_Notepad
|
|
{
|
|
static class Program
|
|
{
|
|
/// <summary>
|
|
/// Главная точка входа для приложения.
|
|
/// </summary>
|
|
[STAThread]
|
|
static void Main()
|
|
{
|
|
Application.EnableVisualStyles();
|
|
Application.SetCompatibleTextRenderingDefault(false);
|
|
Application.Run(new MainForm());
|
|
}
|
|
}
|
|
|
|
static class PublicVar
|
|
{
|
|
public static EncryptedString encryptionKey = new EncryptedString();
|
|
public static bool randomizeSalts = true;
|
|
public static bool keyChanged = false;
|
|
public static bool settingsChanged = false;
|
|
public static bool okPressed = false;
|
|
public static string openFileName = "Crypto Notepad";
|
|
public const string appName = "Crypto Notepad";
|
|
}
|
|
|
|
static class TypedPassword
|
|
{
|
|
public static string Value { get; set; }
|
|
}
|
|
|
|
}
|