static void Main()
 {
     Application.EnableVisualStyles();
     li = new loginwindow();
     li.ShowDialog();
 }
 public static void switchacc()
 {
     li = new loginwindow();
     li.ShowDialog();
 }