Пример #1
0
 public CSRate(Employee emp)
 {
     this.csq      = CSQueue.getInstance();
     this.connect  = ConnectDatabase.getInstance();
     this.employee = emp;
     InitializeComponent();
     employeename.Content = emp.name;
 }
Пример #2
0
 public QMShowQueue()
 {
     tq           = TellerQueue.getInstance();
     csq          = CSQueue.getInstance();
     this.connect = ConnectDatabase.getInstance();
     InitializeComponent();
     tellerqueue.Content = "";
     csqueue.Content     = "";
     init();
 }
Пример #3
0
        public CSQRCode(Employee emp, Customer cust)
        {
            this.csq      = CSQueue.getInstance();
            this.employee = emp;
            this.customer = cust;
            InitializeComponent();
            QRCodeGenerator qrGenerator  = new QRCodeGenerator();
            QRCodeData      qrCodeData   = qrGenerator.CreateQrCode(csq.uniquequeue, QRCodeGenerator.ECCLevel.H);
            XamlQRCode      qrCode       = new XamlQRCode(qrCodeData);
            DrawingImage    qrCodeAsXaml = qrCode.GetGraphic(20);

            qrcode.Source = qrCodeAsXaml;
        }