Ejemplo n.º 1
0
        /// <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;
            }
        }
Ejemplo n.º 2
0
 /// <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;
     }
 }