Beispiel #1
0
 public static void StartSale(decimal Balance, int CheckNum, EndSaleDelegate callback)
 {
     CurentEndSaleCallBack = callback;
     Wndp = new WndCardPayment();
     Wndp.AskPayment(Balance, 1, CheckNum);
     Wndp.Show();
 }
Beispiel #2
0
        public static void StartPayment(decimal DefaultSumm, int CheckNum, EndSaleDelegate callback)
        {
            CurentEndSaleCallBack = callback;
            WndCardPayment Wndp = new WndCardPayment();

            Wndp.AskPayment(DefaultSumm, CheckNum, 0);
            Wndp.Show();
        }
Beispiel #3
0
        public static void EndSale()
        {
            string CarNum = Wndp.CardText;
            double Summ   = (double)Wndp.Summ;
            bool   res    = Wndp.WndSucseess;

            Wndp = null;
            CurentEndSaleCallBack(res, CarNum, Summ);
        }