Crypto-Notepad/Crypto Notepad/Program.cs

36 lines
932 B
C#
Raw Normal View History

2016-01-06 14:47:38 +00:00
using System;
using System.Windows.Forms;
2016-01-09 20:46:25 +00:00
namespace Crypto_Notepad
2016-01-06 14:47:38 +00:00
{
static class Program
{
/// <summary>
/// Главная точка входа для приложения.
/// </summary>
[STAThread]
2016-01-15 16:17:44 +00:00
static void Main()
2016-01-06 14:47:38 +00:00
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
2018-12-17 11:14:38 +00:00
Application.Run(new MainForm());
2016-01-06 14:47:38 +00:00
}
}
2018-12-17 10:52:40 +00:00
static class PublicVar
{
public static EncryptedString encryptionKey = new EncryptedString();
public static bool randomizeSalts = true;
2016-01-27 17:19:25 +00:00
public static bool keyChanged = false;
public static bool settingsChanged = false;
public static bool okPressed = false;
2017-02-05 20:47:31 +00:00
public static string openFileName = "Crypto Notepad";
}
2018-12-17 10:52:40 +00:00
static class TypedPassword
{
public static string Value { get; set; }
}
2016-01-27 17:19:25 +00:00
2016-01-06 14:47:38 +00:00
}