コード例 #1
0
 private void updatebtn_Click(object sender, EventArgs e)
 {
     this.updc = new customerUpdate(this)
     {
         MdiParent = this.origen
     };
     //this.WindowState = FormWindowState.Minimized;
     this.updc.Show();
 }
コード例 #2
0
 public deleteInternals(customerUpdate cu)
 {
     InitializeComponent();
     this.MinimizeBox        = false;
     this.Text               = "Ingrese Curp";
     this.update             = cu;
     this.textBox1.MaxLength = 18;
     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.onupdatesearch();
                                           }
     };
     this.db            = new DB.dbop();
     this.ShowInTaskbar = false;
 }