Пример #1
0
        /// <summary>
        /// 添加商品项目
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void buttjcp_Click(object sender, EventArgs e)
        {
            FrmXtTjSp f = new FrmXtTjSp();

            f.ShowDialog();
            FrmXtSz_Load(null, null);
        }
Пример #2
0
        /// <summary>
        /// 修改
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void button2_Click(object sender, EventArgs e)
        {
            string yhbh = this.dgvspx.CurrentRow.Cells[0].Value.ToString();  //获取类型

            FrmXtTjSp f = new FrmXtTjSp();

            f.idbh = yhbh;
            f.ShowDialog();
            FrmXtSz_Load(null, null);
        }