コード例 #1
0
 public InlogForm(PersoneelslidDAO personeelslidDAO, ItemDAO itemDAO, TafelDAO tafelDAO, BestellingDAO bestellingDAO)
 {
     InitializeComponent();
     this.personeelslidDAO = personeelslidDAO;
     this.itemDAO          = itemDAO;
     this.tafelDAO         = tafelDAO;
     this.bestellingDAO    = bestellingDAO;
 }
コード例 #2
0
 public Tafelscherm(Tafel tafel, TafelDAO tafelDAO, ItemDAO itemDAO, BestellingDAO bestellingDAO, Personeelslid personeelslid)
 {
     InitializeComponent();
     this.tafel         = tafel;
     this.tafelDAO      = tafelDAO;
     this.itemDAO       = itemDAO;
     this.bestellingDAO = bestellingDAO;
     this.personeelslid = personeelslid;
 }
コード例 #3
0
 public Menuscherm(string pincode, PersoneelslidDAO personeelslidDAO, ItemDAO itemdao, TafelDAO tafelDAO, BestellingDAO bestellingDAO)
 {
     InitializeComponent();
     this.personeelslidDAO = personeelslidDAO;
     this.itemDAO          = itemdao;
     this.tafelDAO         = tafelDAO;
     this.Pincode          = pincode;
     this.bestellingDAO    = bestellingDAO;
 }
コード例 #4
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            string           connString       = ConfigurationManager.ConnectionStrings["ReserveringenConnectionStringSQL"].ConnectionString;
            SqlConnection    dbConnection     = new SqlConnection(connString);
            PersoneelslidDAO personeelslidDAO = new PersoneelslidDAO(dbConnection);
            ItemDAO          itemDAO          = new ItemDAO(dbConnection);
            TafelDAO         tafelDAO         = new TafelDAO(dbConnection);
            BestellingDAO    bestellingDAO    = new BestellingDAO(dbConnection);

            Application.Run(new InlogForm(personeelslidDAO, itemDAO, tafelDAO, bestellingDAO));
        }
コード例 #5
0
 public Tafelscherm(Tafel tafel, TafelDAO tafeldao)
 {
     InitializeComponent();
     this.tafel    = tafel;
     this.tafelDAO = tafeldao;
 }