示例#1
0
        public FormPOSinterface(List <Product> item)
        {
            InitializeComponent();
            formFunctionPointer += new functioncall(calculateSubTotal);
            ItemCart n = new ItemCart();

            n.userFunctionPointer = formFunctionPointer;
            items = item;
        }
示例#2
0
        //static FormDashboard _obj;

        //public static FormDashboard Instance
        //{
        //    get
        //    {
        //        if (_obj == null)
        //        {
        //            _obj = new FormDashboard();
        //        }
        //        return _obj;
        //    }
        //}



        public FormPOSinterface()
        {
            InitializeComponent();
            formFunctionPointer += new functioncall(calculateSubTotal);
            ItemCart n = new ItemCart();

            n.userFunctionPointer = formFunctionPointer;
            //items = emp.loadProducts();
        }