public PointWidhdrawView(PointCheckPage pcp, PT_Point pp)
 {
     InitializeComponent();
     this.pp  = pp;
     this.pcp = pcp;
     Init();
 }
 public PointChargeView(PointCheckPage pcp, PT_Point pp)
 {
     InitializeComponent();
     this.pcp = pcp;
     this.pp  = pp;
     Init();
     CardOptionEnable();
 }
예제 #3
0
        public PointUsedList(PointCheckPage pcp, PT_Point pp)
        {
            InitializeComponent();
            this.pcp = pcp;
            this.pp  = pp;

            #region 네트워크 상태 확인
            var current_network = Connectivity.NetworkAccess; // 현재 네트워크 상태
            if (current_network != NetworkAccess.Internet)    // 네트워크 연결 불가
            {
                wdl = null;
            }
            #endregion
            #region 네트워크 연결 가능
            else
            {
                if (Global.b_guest_login == true)
                {
                    PT_WithDraw p1 = new PT_WithDraw
                    {
                        USER_ID                = "Guest",
                        PT_POINT_INDEX         = 1000,
                        PT_WITHDRAW_ACCOUNT    = "3154-1542-4444",
                        PT_WITHDRAW_BANK       = "농협",
                        PT_WITHDRAW_CONTENT    = "포인트출금 10000원",
                        PT_WITHDRAW_DATE       = "2019/05/04",
                        PT_WITHDRAW_FAILDETAIL = "",
                        PT_WITHDRAW_INDEX      = 1000,
                        PT_WITHDRAW_NAME       = "홍길동",
                        PT_WITHDRAW_POINT      = 10000,
                        PT_WITHDRAW_STATUS     = "출금완료",
                    };
                    PT_WithDraw p2 = new PT_WithDraw
                    {
                        USER_ID                = "Guest",
                        PT_POINT_INDEX         = 1000,
                        PT_WITHDRAW_ACCOUNT    = "3154-1542-4444",
                        PT_WITHDRAW_BANK       = "농협",
                        PT_WITHDRAW_CONTENT    = "포인트출금 20000원",
                        PT_WITHDRAW_DATE       = "2019/05/04",
                        PT_WITHDRAW_FAILDETAIL = "",
                        PT_WITHDRAW_INDEX      = 1000,
                        PT_WITHDRAW_NAME       = "홍길동",
                        PT_WITHDRAW_POINT      = 10000,
                        PT_WITHDRAW_STATUS     = "출금완료",
                    };
                    PT_WithDraw p3 = new PT_WithDraw
                    {
                        USER_ID                = "Guest",
                        PT_POINT_INDEX         = 1000,
                        PT_WITHDRAW_ACCOUNT    = "3154-1542-4444",
                        PT_WITHDRAW_BANK       = "농협",
                        PT_WITHDRAW_CONTENT    = "포인트출금 10000원",
                        PT_WITHDRAW_DATE       = "2019/05/04",
                        PT_WITHDRAW_FAILDETAIL = "",
                        PT_WITHDRAW_INDEX      = 1000,
                        PT_WITHDRAW_NAME       = "홍길동",
                        PT_WITHDRAW_POINT      = 10000,
                        PT_WITHDRAW_STATUS     = "출금대기",
                    };
                    wdl.Add(p1);
                    wdl.Add(p2);
                    wdl.Add(p3);
                }
                else
                {
                    wdl = PT_DB.PostSearchWithDrawListToID(pp.USER_ID);
                }
            }
            #endregion
            MyPoint           = pp.PT_POINT_HAVEPOINT;
            MyPointLabel.Text = "보유 포인트 : " + MyPoint.ToString();
            Init();
        }
예제 #4
0
 public PointAddList(PointCheckPage pcp, PT_Point pp)  // 포인트 적립내역
 {
     InitializeComponent();
     this.pcp = pcp;
     this.pp  = pp;
     #region 네트워크 상태 확인
     var current_network = Connectivity.NetworkAccess; // 현재 네트워크 상태
     if (current_network != NetworkAccess.Internet)    // 네트워크 연결 불가
     {
         pcl = null;
     }
     #endregion
     #region 네트워크 연결 가능
     else
     {
         if (Global.b_guest_login == true)
         {
             PT_Charge p1 = new PT_Charge {
                 USER_ID           = "Guest",
                 PT_BANK_ACC_NUM   = "1",
                 PT_CHARGE_BANK    = "",
                 PT_CHARGE_CARD    = "",
                 PT_CHARGE_CONTENT = "포인트 충전 1000원",
                 PT_CHARGE_POINT   = 1000,
                 PT_CHARGE_DATE    = "2019/05/04",
                 PT_CHARGE_INDEX   = 1000,
                 PT_CHARGE_STATUS  = "입금대기",
                 PT_POINT_INDEX    = 1000,
             };
             PT_Charge p2 = new PT_Charge
             {
                 USER_ID           = "Guest",
                 PT_BANK_ACC_NUM   = "1",
                 PT_CHARGE_BANK    = "",
                 PT_CHARGE_CARD    = "",
                 PT_CHARGE_CONTENT = "포인트 충전 1000원",
                 PT_CHARGE_POINT   = 1000,
                 PT_CHARGE_DATE    = "2019/05/04",
                 PT_CHARGE_INDEX   = 1001,
                 PT_CHARGE_STATUS  = "입금대기",
                 PT_POINT_INDEX    = 1000,
             };
             PT_Charge p3 = new PT_Charge
             {
                 USER_ID           = "Guest",
                 PT_BANK_ACC_NUM   = "1",
                 PT_CHARGE_BANK    = "",
                 PT_CHARGE_CARD    = "",
                 PT_CHARGE_CONTENT = "포인트 충전 1000원",
                 PT_CHARGE_POINT   = 1000,
                 PT_CHARGE_DATE    = "2019/05/04",
                 PT_CHARGE_INDEX   = 1002,
                 PT_CHARGE_STATUS  = "입금대기",
                 PT_POINT_INDEX    = 1000,
             };
             pcl.Add(p1);
             pcl.Add(p2);
             pcl.Add(p3);
         }
         else
         {
             pcl = PT_DB.PostSearchChargeListToID(pp.USER_ID);
         }
     }
     #endregion
     MyPoint           = pp.PT_POINT_HAVEPOINT;
     MyPointLabel.Text = "보유 포인트 : " + MyPoint.ToString();
     Init();
 }