예제 #1
0
 static void Main()
 {
     Application.EnableVisualStyles();
     Application.SetCompatibleTextRenderingDefault(false);
     DBConnectionHandler.Connect();
     Application.Run(new CertificatesListViewForm());
     DBConnectionHandler.Disconnect();
 }
예제 #2
0
 static void Main()
 {
     DBConnectionHandler.Connect();
     Application.EnableVisualStyles();
     Application.SetCompatibleTextRenderingDefault(false);
     using (var form = new CertificatesListForm())
     {
         Application.Run(form);
     }
     DBConnectionHandler.Disconnect();
 }