Exemple #1
0
 private void startFareForm()
 {
     if (fareform == null)
     {
         fareform = new FareMenu();
         this.Invoke((Action) delegate
         {
             fareform.Show();
         });
     }
 }
Exemple #2
0
        private void stopFareForm()
        {
            if (fareform != null)
            {
                this.Invoke((Action) delegate {
                    fareform.Close();
                    fareform.Dispose();
                });

                fareform = null;
            }
        }