Exemple #1
0
        private void simpleButton1_Click(object sender, EventArgs e)
        {
            //点击新增button跳转
            Frm修改 form2 = new Frm修改(this);

            form2.ShowDialog();
        }
Exemple #2
0
        //private void xiugai_Click(object sender, EventArgs e)
        //{
        //    //点击跳转修改界面
        //    Frm修改 form2 = new Frm修改(this, plid);
        //    form2.ShowDialog();
        //}

        private void xiugai_Click_1(object sender, EventArgs e)
        {
            if (String.IsNullOrEmpty(this.plid))
            {
                this.plid = this.treeList1.FocusedNode["Id"].ToString();
            }
            //点击跳转修改界面
            Frm修改 form2 = new Frm修改(this, plid);

            form2.ShowDialog();
        }