Beispiel #1
0
        private void cmdcustomer_Click(object sender, EventArgs e)
        {
            frmguest_user frm = frmguest_user.get_instance();

            this.Hide();
            frm.Show();
        }
 public static frmguest_user get_instance()
 {
     if (guest_user == null)
     {
         guest_user = new frmguest_user();
         return(guest_user);
     }
     else
     {
         return(guest_user);
     }
 }