public CSRate(Employee emp) { this.csq = CSQueue.getInstance(); this.connect = ConnectDatabase.getInstance(); this.employee = emp; InitializeComponent(); employeename.Content = emp.name; }
public QMShowQueue() { tq = TellerQueue.getInstance(); csq = CSQueue.getInstance(); this.connect = ConnectDatabase.getInstance(); InitializeComponent(); tellerqueue.Content = ""; csqueue.Content = ""; init(); }
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; }