コード例 #1
0
ファイル: Home.cs プロジェクト: MANAPOrkun/Blackhole
        private void GetNumberProduct(string phonenumber)
        {
            for (var i = 0; i < _cc.Get(phonenumber).Rows.Count; i++)
            {
                _productNumber += int.Parse(_cc.Get(phonenumber).Rows[i][2].ToString());
            }

            PaymentDelivery.TakeNumberProduct(_productNumber);

            // added.Text = _productNumber.ToString();
        }
コード例 #2
0
ファイル: Cart2.cs プロジェクト: MANAPOrkun/Blackhole
 private void button2_Click(object sender, EventArgs e)
 {
     if (pd != null)
     {
         pd = null;
     }
     else
     {
         pd = new PaymentDelivery();
         pd.Show();
     }
 }
コード例 #3
0
ファイル: RealCart.cs プロジェクト: MANAPOrkun/Blackhole
 private void button2_Click(object sender, EventArgs e)
 {
     if (dataGridView1.Rows.Count > 0)
     {
         if (pd != null)
         {
             pd = null;
         }
         else
         {
             pd = new PaymentDelivery();
             pd.Show();
             Close();
         }
     }
     else
     {
         label5.Text = "You need to add product to continue.";
     }
 }
コード例 #4
0
ファイル: Home.cs プロジェクト: MANAPOrkun/Blackhole
 private void simpleButton3_Click(object sender, EventArgs e)
 {
     if (bunifuCustomDataGrid5.Rows.Count > 0)
     {
         if (_pd != null)
         {
             _pd = null;
         }
         else
         {
             _pd = new PaymentDelivery();
             _pd.Show();
             Close();
         }
     }
     else
     {
         label5.Text = "You need to add product to continue.";
     }
 }