//=====================================================================
 public transactionDetail(string queryString, string id)
 {
     InitializeComponent();
     _query = queryString;
     _id = id;
     _singletonConnection = BaseConnection.Instance;
 }
 //=====================================================================
 public Controller()
 {
     _singletonConnection = BaseConnection.Instance;
     _XMLAccess = new XMLParsing();
     _serialUnit = new SerialControl();
     _downloadedReport = EMPTY;
     getLoginInfo();
 }
        public SerialControl()
        {
            _singletonConnection = BaseConnection.Instance;
            _transactionForm = new MakeTransaction();
            _memberAccess = new Member();
            _queuingPriceTags = new Queue<Pricetag>();

            AllRegister_AllTransactions = getRegistersFromMemory();
            Pricetaglist = getPriceTagsFromMemory();

            /*
            Pricetag myTest = new Pricetag("20529", "12345678", "Computer Bag", "55.95");
            string cats = myTest.getMessage();
            */
            /*
            AllRegister_AllTransactions.Add(new SingleRegister_AllTransactions("21041", "lol", "register"));
            receive("SHR1100050580050Z;");
            receive("SHR1881200000000K;");
            receive("SHR1123450000000M;");
            receive("SHR1101003380010Z;");
            receive("SHR1000000000000C;");
             */
        }
 //=====================================================================
 public XMLParsing()
 {
     _singletonConnection = BaseConnection.Instance;
 }
Exemplo n.º 5
0
 private void Login_Load(object sender, EventArgs e)
 {
     singletonConnection = BaseConnection.Instance;
 }
 //=====================================================================
 public SalesSummary()
 {
     _singletonConnection = BaseConnection.Instance;
 }