示例#1
0
文件: Socio1.cs 项目: SierraP/Centro
 public Socio1(BBDD db)
 {
     this.db = db;
     InitializeComponent();
     datePick.Visible = false;
     listaSesiones.Visible = false;
     ddMetodos.Visible = false;
     LoadList();
 }
示例#2
0
 static void Main(string[] args)
 {
     db = new BBDD();
     gn = new Generador();
     gn.generar();
     Application.Run(new Socio1(db));
     Application.Run(new Recepcion(db));
     Application.Run(new Organizador(db));
     foreach (Socio s in gn.Socios)
         Console.WriteLine(s.ToString());
     foreach (Instalacion i in gn.Instalaciones)
         Console.WriteLine(i.ToString());
 }
示例#3
0
 public Recepcion(BBDD db)
 {
     this.db = db;
     InitializeComponent();
     lblIDInstalacion.Visible = false;
     buscarInstalacion.Visible = false;
     buscarReserva.Visible = false;
     radButton1.Visible = false;
     lblEstado.Visible = false;
     ddEstados.Visible = false;
     listaSesiones.Visible = false;
     alquilarInst.Visible = false;
     ddMetodos.Visible = false;
     lblPago.Visible = false;
     lblFecha.Visible = false;
     datePick.Visible = false;
 }
示例#4
0
 public Organizador(BBDD db)
 {
     this.db = db;
     InitializeComponent();
 }