private void dg1_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
        {
            DataGridViewRow dgvDrc = this.dg1.CurrentRow;
            DataRow         dr     = DataHelper.xkfyData.Tables["DevelopBtnData"].Select("iBtnID='" + dgvDrc.Cells["iBtnID"].Value + "'")[0];

            DevelopBtnData_Edit ie = (DevelopBtnData_Edit)this.Owner;

            DataHelper.CopyRowToData(ie, dr);
            this.Close();
        }
Example #2
0
        private void btnAdd_Click(object sender, EventArgs e)
        {
            DevelopBtnData_Edit dbe = new DevelopBtnData_Edit();

            dbe.Show();
        }