예제 #1
0
        private void btnAdd_Click(object sender, EventArgs e)
        {
            FrmYZDLModify FrmAction = new FrmYZDLModify("Add", this, ID);

            FrmAction.ShowDialog();
            if (isOK)
            {
                GetList();
            }
        }
예제 #2
0
        private void btnUpdate_Click(object sender, EventArgs e)
        {
            dataGridView1_CellContentClick(null, new DataGridViewCellEventArgs(this.dataGridView1.CurrentCell.ColumnIndex, this.dataGridView1.CurrentCell.RowIndex));
            FrmYZDLModify FrmAction = new FrmYZDLModify("Update", this, ID);

            FrmAction.ShowDialog();
            if (isOK)
            {
                GetList();
            }
        }