public ModificacionCliente(FilaSeleccionada cliente_seleccionado, Listado listado)
 {
     InitializeComponent();
     dbManager = (DBManager)AppContext.getObject(typeof(DBManager));
     this.cliente = cliente_seleccionado;
     this.listado = listado;
 }
 public ModificacionProveedor(FilaSeleccionada proveedor_seleccionado, Listado listado)
 {
     InitializeComponent();
     dbManager = (DBManager)AppContext.getObject(typeof(DBManager));
     proveedor = proveedor_seleccionado;
     this.listado = listado;
 }
 private void createDBManager()
 {
     DBManager m = new DBManager("user id=" + Properties.getProperty("dbuser") +
                                ";password="******"dbpasswd") +
                                ";server=" + Properties.getProperty("dburl") +
                                ";Trusted_Connection=no;" +
                                "database=" +Properties.getProperty("dbname") +
                                ";connection timeout=60");
     appContext.Add(typeof(DBManager), m);
 }
 public FacturacionProveedor()
 {
     InitializeComponent();
     dbManager = (DBManager)AppContext.getObject(typeof(DBManager));
 }
 public ModificacionRol(String nombre_rol)
 {
     InitializeComponent();
     this.nombre = nombre_rol;
     this.manager = (DBManager)AppContext.getObject(typeof(DBManager));
 }
 public ListadoAdministradores()
 {
     InitializeComponent();
     dbManager = (DBManager)AppContext.getObject(typeof(DBManager));
 }
 public Cupones(TextBox cupon)
 {
     InitializeComponent();
     dbManager = (DBManager)AppContext.getObject(typeof(DBManager));
     this.cupon = cupon;
 }
 public PedirDevolucion()
 {
     InitializeComponent();
     dbManager = (DBManager)AppContext.getObject(typeof(DBManager));
     this.sesion = (Session)AppContext.getObject(typeof(Session));
 }
 public ListadoProveedor()
 {
     InitializeComponent();
     dbManager = (DBManager)AppContext.getObject(typeof(DBManager));
 }
Ejemplo n.º 10
0
 public Main()
 {
     InitializeComponent();
     dbManager = (DBManager) AppContext.getObject(typeof(DBManager));
 }