using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Демо
{
static class Program
{
public static Form mainf { get; set; }
///
/// Главная точка входа для приложения.
///
[STAThread]
static void Main()
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
mainf = new Авторизация();
while (mainf != null)
{
Application.Run(mainf);
}
Application.Exit();
}
///
///
///
/// ggdgdfgfgd
public static void conn(out SqlConnection cn)
{
string ConnStr = "Data Source=DESKTOP-FKVAD5R\\SQLEXPRESS;Initial Catalog=\"Школа языков\";Integrated Security=True";
cn = new SqlConnection(ConnStr);
cn.Open();
}
internal static class Role
{
public static string email { get; set; }
public static int id { get; set; }
public static DataTable table { get; set; }
}
}
}