private void cmdCancel_Click( object sender, EventArgs e ) { this.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.Close(); }