Ejemplo n.º 1
0
        public KasseWindow(MainWindow parent, OnlineShopDB ctx)
        {
            this.parent = parent;
            this.ctx    = ctx;
            W1          = new LogInWindow(parent, ctx);
            W2          = new BezahlWindow(parent);

            InitializeComponent();
        }
        public WarenkorbWindow(MainWindow parent)
        {
            this.parent = parent;
            ctx         = new OnlineShopDB();
            W1          = new KasseWindow(parent, ctx);
            W2          = new BezahlWindow(parent);

            InitializeComponent();
        }