Exemple #1
0
 public static frmBookings GetInstance()
 {
     if (BookingsForm == null)
     {
         BookingsForm = new frmBookings();
     }
     return(BookingsForm);
 }
Exemple #2
0
 private void frmBookings_FormClosed(object sender, FormClosedEventArgs e)
 {
     BookingsForm = null;
 }
Exemple #3
0
        private void button1_Click(object sender, EventArgs e)
        {
            frmBookings bookingsForm = frmBookings.GetInstance();

            bookingsForm.Show();
        }