private void deletebtn_Click(object sender, EventArgs e)
 {
     this.delc = new delete(this)
     {
         MdiParent = this.origen
     };
     // this.WindowState = FormWindowState.Minimized;
     this.delc.Show();
 }
 public deleteInternals()
 {
     InitializeComponent();
     this.MinimizeBox        = false;
     this.Text               = "Ingrese Curp";
     this.delete             = null;
     this.textBox1.KeyPress += (x, y) => { this.textBox1.Text = this.textBox1.Text.ToUpper(); this.textBox1.Select(this.textBox1.TextLength, 0); };
     this.textBox1.KeyPress += (x, y) => { if (y.KeyChar == (char)Keys.Enter)
                                           {
                                               this.onEnter();
                                           }
     };
     this.textBox1.MaxLength = 18;
     this.db            = new DB.dbop();
     this.ShowInTaskbar = false;
 }