Ejemplo n.º 1
0
 private void disconnectToolStripMenuItem_Click(object sender, EventArgs e)
 {
     Client = null;
     Pilot = null;
     Team = null;
     QualificationRound = null;
     Visualisation = null;
     Map = null;
     ParcourGen = null;
     ParcourImport = null;
     ParcourEdit = null;
     ParcourOverviewZoomed = null;
     MapLegacy = null;
     Results = null;
     CompetitionO = null;
     StatusStripLabel.Text = "Disconnected from Server";
     UpdateEnablement();
     enableControl(Credits);
 }
Ejemplo n.º 2
0
 private void overviewZoomedToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (ParcourOverviewZoomed == null)
     {
         ParcourOverviewZoomed = new ParcourOverviewZoomed(Client);
     }
     enableControl(ParcourOverviewZoomed);
 }
Ejemplo n.º 3
0
 void CompetitionO_Connected(object sender, EventArgs e)
 {
     DataAccess c = sender as DataAccess;
     if (c != null)
     {
         Client = c;
         Pilot = null;
         Team = null;
         QualificationRound = null;
         Visualisation = null;
         Map = null;
         ParcourGen = null;
         ParcourImport = null;
         ParcourEdit = null;
         ParcourOverviewZoomed = null;
         MapLegacy = null;
         Results = null;
         UpdateEnablement();
     }
     enableControl(Credits);
 }