Ejemplo n.º 1
0
 public add(midformCustomer midform)
 {
     InitializeComponent();
     this.Text                   = "Agregar Cliente";
     this.midform                = midform;
     this.FormClosed            += this.onClose;
     this.midform.addbtn.Enabled = false;
     this.BackColor              = base.BackColor;
     this.stopBounds();
 }
Ejemplo n.º 2
0
 public delete(midformCustomer origen)
 {
     InitializeComponent();
     this.midform = origen;
     this.midform.deletebtn.Enabled = false;
     this.FormClosed += (sender, args) => { this.midform.deletebtn.Enabled = true; };
     this.Text        = "Eliminar Cliente";
     this.Shown      += this.onShow;
     this.idCliente   = -1;
     this.stopBounds();
 }
 public customerUpdate(midformCustomer origen)
 {
     InitializeComponent();
     this.midform = origen;
     this.midform.updatebtn.Enabled = false;
     this.FormClosed += (sender, args) => { this.midform.updatebtn.Enabled = true; };
     this.Shown      += this.onshow;
     this.Text        = "Actualizar Datos de Cliente";
     this.idCliente   = -1;
     this.stopBounds();
 }