/// <summary> /// 查看删除记录 /// </summary> /// <param name="sender">事件发送者</param> /// <param name="e">事件</param> private void recoverToolStripMenuItem_Click(object sender, EventArgs e) { RecordForm rForm = new RecordForm(conn, imageList); DialogResult result = rForm.ShowDialog(); if (result == DialogResult.OK) { InitData(rForm.ID); path = rForm.Path; this.Text = "查看历史记录 (已删除) " + path; recoverRecord = true; buttonX3.Enabled = true; buttonX1.Enabled = false; } }
/// <summary> /// 查看删除记录 /// </summary> /// <param name="sender">事件发送者</param> /// <param name="e">事件</param> private void recoverToolStripMenuItem_Click(object sender, EventArgs e) { RecordForm rForm = new RecordForm(conn, imageList); DialogResult result = rForm.ShowDialog(); if(result == DialogResult.OK) { InitData(rForm.ID); path = rForm.Path; this.Text = "查看历史记录 (已删除) " + path; recoverRecord = true; buttonX3.Enabled = true; buttonX1.Enabled = false; } }