public ATMForm(Database.Connection db, ClientSettings s, BarCode.ReaderControl r, Logger.Logging logger) : base(db, s, r, logger, 120000) { InitializeComponent(); userObjects["START"] = new ATMStart(db); userObjects["PINCODE"] = new ATMPinCode(db); userObjects["SELECT"] = new ATMSelect(db); userObjects["BALANCE"] = new ATMBalance(db); userObjects["TRANSFER"] = new ATMTransfer(db); userObjects["AMOUNT"] = new ATMAmount(db); userObjects["VERIFY"] = new ATMVerify(db); userObjects["STOCK_START"] = new ATMStockStart(db); userObjects["STOCK_DIRECT"] = new StockDirectShare(db); userObjects["STOCK_DIRECT_QTY"] = new StockDirectQty(db); userObjects["STOCK_DIRECT_PRICE"] = new StockDirectPrice(db); userObjects["STOCK_DIRECT_RECIPIENT"] = new StockDirectRecipient(db); userObjects["STOCK_DIRECT_RECEIVER_PINCODE"] = new StockDirectPinCode(db); userObjects["STOCK_DIRECT_CONFIRM"] = new StockDirectConfirmation(db); userObjects["NEWS"] = new StockNews(db); userObjects["STOCK_REQUESTS"] = new StockRequests(db); userObjects["STOCK_ADD_REQUEST_TICKER"] = new StockAddRequestTicker(db); userObjects["STOCK_ADD_QTY"] = new StockAddQty(db); userObjects["STOCK_ADD_OPERATION"] = new StockAddOperation(db); userObjects["STOCK_DELETE_REQUEST_CONFURMATION"] = new StockDeleteRequestConfirmation(db); startupObjectKey = "START"; }
public CashDeskForm(Database.Connection db, ClientSettings s, BarCode.ReaderControl r, Logger.Logging logger) : base(db, s, r, logger, 120000) { InitializeComponent(); userObjects["START"] = new CashDeskStart(db); userObjects["AMOUNT"] = new CashDeskAmount(db); userObjects["VERIFY"] = new CashDeskVerify(db); startupObjectKey = "START"; }
public InfoTermForm(Database.Connection db, ClientSettings s, BarCode.ReaderControl r, Logger.Logging logger) : base(db, s, r, logger, 120000) { InitializeComponent(); userObjects["START"] = new InfoTermStart(db); userObjects["PINCODE"] = new InfoTermPinCode(db); userObjects["SEARCH"] = new InfoTermSearch(db); userObjects["TABLE"] = new InfoTermTable(db); userObjects["FULLINFO"] = new InfoTermFullInfo(db); startupObjectKey = "START"; }
public VKForm(Database.Connection db, ClientSettings s, Logger.Logging logger) : base(db, s, null, logger, 0) { InitializeComponent(); disableScanner = true; userObjects["START"] = new VKStart(db, verticalProgressBar); userObjects["QUESTION"] = new VKQuestion(db, verticalProgressBar); userObjects["WAITING"] = new VKWaiting(db, verticalProgressBar); userObjects["EXITING"] = new VKExiting(); userObjects["FINISH"] = new VKFinish(verticalProgressBar); startupObjectKey = "START"; }
public ClientForm(Database.Connection db, ClientSettings s, BarCode.ReaderControl r, Logger.Logging l, int inactTime) : base(db) { userObjects = new Dictionary<String, UserObject>(); settings = s; RC = r; logger = l; if (inactTime > 0) { inactivityTimer = new Timer(); inactivityTimer.Tick += new EventHandler(inactivityTimer_Tick); inactivityTimer.Interval = inactTime; } InitializeComponent(); if (RC != null || disableScanner) { RC.BarCodeObject.BarCodeEvent += new EventHandler<BarCode.BarCodeEventArgs>(HandleBarCodeEvent); } }