Esempio n. 1
0
 private void btnMaps_Click(object sender, EventArgs e)
 {
     if (this.fMaps?.Visible ?? false)
     {
         this.fMaps.Activate();
     }
     else
     {
         if (this.fMaps == null || this.fMaps.IsDisposed)
         {
             this.fMaps = new formMaps();
         }
         this.fMaps.Show(this);
     }
     return;
 }
Esempio n. 2
0
 private void btnMaps_Click(object sender, EventArgs e)
 {
     if (this.fMaps?.Visible ?? false)
         this.fMaps.Activate();
     else
     {
         if (this.fMaps == null || this.fMaps.IsDisposed)
             this.fMaps = new formMaps();
         this.fMaps.Show(this);
     }
     return;
 }