static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); using (soccerAppContext = new SoccerApplicationContext()) { soccerAppContext.Run(); Application.Run(soccerAppContext); } }
private void teams_Button_Click(object sender, EventArgs e) { SoccerApplicationContext.TeamFormsNew(); }
private void ToPlayers_Button_Click(object sender, EventArgs e) { SoccerApplicationContext.PlayerFormsNew(); }