Exemple #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;
 }
Exemple #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;
 }