static void Main() { Dbs.GetSession(); Login login = new Login(); login.ShowDialog(); if (login.IsLogin) { login.Close(); Application.EnableVisualStyles(); Application.Run(new Principal()); } }
protected IStatelessSession GetSession() { return(Dbs.GetSession()); }