Esempio n. 1
0
 public productInternals()
 {
     InitializeComponent();
     this.Text          = "Actualizar Producto";
     this.db            = new DB.dbop();
     this.ShowInTaskbar = false;
     behaviorDefinitions.txtOnlyNumbers(ref this.textBox1);
 }
 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;
 }