public static frmManageAlmacenes getIntancia() { if (instancia == null) { instancia = new frmManageAlmacenes(); } return(instancia); }
protected override void Dispose(bool disposing) { if (disposing && (components != null)) { components.Dispose(); } base.Dispose(disposing); instancia = null; }
private void button6_Click(object sender, EventArgs e) { frmManageAlmacenes vAlmacenes = frmManageAlmacenes.getIntancia(); vAlmacenes.ShowDialog(); }