Example #1
0
 public static TLE_SelectedSatInfo_form GetInstance()
 {
     if (_instance == null)
     {
         _instance = new TLE_SelectedSatInfo_form();
     }
     return(_instance);
 }
Example #2
0
 private void TLESelectedSatMoreInformationLinkLabel_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
 {
     // TODO: Coger informacion de pagina web
     tle_selectedSat_form = TLE_SelectedSatInfo_form.GetInstance();
     if (!tle_selectedSat_form.Visible)
     {
         tle_selectedSat_form.Show();
         tle_selectedSat_form.Text = _tle_dataset._TLE_Sat_Selected.Sat_Name;
         tle_selectedSat_form.ShowSelectedSatAdInfo(_tle_dataset._TLE_Sat_Selected.Sat_LaunchYear, _tle_dataset._TLE_Sat_Selected.Sat_LaunchNumber, _tle_dataset._TLE_Sat_Selected.Sat_LaunchPiece);
     }
     else
     {
         tle_selectedSat_form.BringToFront();
     }
 }
Example #3
0
 private void TLE_SelectedSatInfo_form_FormClosing(object sender, FormClosingEventArgs e)
 {
     _instance = null;
 }