Esempio n. 1
0
        private void btnNew_Click(object sender, EventArgs e)
        {
            FrmJhdXX f = new FrmJhdXX();

            f.Prepare(EnumNED.NEW, bds, dsJxc, tjhdTableAdapter1, dgv);
            f.ShowDialog();
        }
Esempio n. 2
0
        private void btnDetail_Click(object sender, EventArgs e)
        {
            //数据库为空时不执行本操作
            if (bds.Current == null)
            {
                return;
            }
            FrmJhdXX f = new FrmJhdXX();

            f.Prepare(EnumNED.DETALL, bds, dsJxc, tjhdTableAdapter1, dgv);
            f.ShowDialog();
        }