⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 添加老商品.cs

📁 用C#实现超市的管理
💻 CS
字号:
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using Yewucheng;
namespace Myproject
{
    public partial class 添加老商品 : Form
    {
        public 添加老商品()
        {
            InitializeComponent();
        }

        private void button2_Click(object sender, EventArgs e)
        {
            加入所选择商品 terpe = new 加入所选择商品(this);
            terpe.Show();



        }

     
        private void button1_Click_1(object sender, EventArgs e)
        {
            点击新商品 tianjia = new 点击新商品(this);
            tianjia.Show();
        }

       

        private void textBox1_TextChanged(object sender, EventArgs e)
        {

            wang xinshangping = new wang();
            DataSet da = xinshangping.SelectMand("select *from NewTianjsp");
            this.dataGridView1.DataSource = da.Tables[0].DefaultView;


            DataSet ds = xinshangping.SelectMand("select *from NewTianjsp");
            this.dbgname.DataSource = ds.Tables[0].DefaultView;

        }

    
      

      
       
    }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -