Example #1
0
        private void 锁定ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            F_Lock F_ER = new F_Lock();

            F_ER.Text = "锁定";
            if (F_ER.ShowDialog() == DialogResult.OK)
            {
                MessageBox.Show("解锁成功!", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);//行数为零警告
            }
        }
 private void 锁定ToolStripMenuItem_Click(object sender, EventArgs e)
 {
     F_Lock F_ER = new F_Lock();
     F_ER.Text = "锁定";
     if (F_ER.ShowDialog() == DialogResult.OK)
     {
         MessageBox.Show("解锁成功!", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);//行数为零警告
     }
 }