private void button2_Click(object sender, EventArgs e) { SysConst.Release(); DialogResult = System.Windows.Forms.DialogResult.Cancel; }