public Juego(Jugador jugador1, Jugador jugador2, ILogica ilogica) { this.Jugador1 = jugador1; this.Jugador2 = jugador2; this._ilogica = ilogica; this._imostrar = new Consola(); }
public Form1() { logica = new Logica(); InitializeComponent(); logica.limpiar(); Render(); }
public UpdateOLA(Hoofdvenster hoofdvenster) { InitializeComponent(); logic = new Logica(); CmbDocent.DataSource = logic.GetDocents(); CmbDocent.DisplayMember = "fullname"; CmbOPO.DataSource = logic.GetAllOPOs(); CmbOPO.DisplayMember = "Naam"; if (hoofdvenster.GetIndex().Equals("Edit")) { edit = true; GetVorigeDocent = (Docent)hoofdvenster.GetDocent();; GetVorigeOpo = hoofdvenster.GetValues().SelectedItems[0].SubItems[2].Text; TxtCode.Text = hoofdvenster.GetValues().SelectedItems[0].SubItems[0].Text; TxtCode.ReadOnly = true; TxtNaam.Text = hoofdvenster.GetValues().SelectedItems[0].SubItems[1].Text; NudStudiepunten.Value = Convert.ToInt32(hoofdvenster.GetValues().SelectedItems[0].SubItems[3].Text); CmbOPO.SelectedIndex = CmbOPO.FindStringExact(hoofdvenster.GetValues().SelectedItems[0].SubItems[2].Text); CmbDocent.SelectedIndex = CmbDocent.FindStringExact(hoofdvenster.GetCmb()); docent = (Docent)CmbDocent.SelectedItem; opo = (OPO)CmbOPO.SelectedItem; } }
public Juego(List <Jugador> jugadores, int rondas, ILogica logica, IMostrar mostrar) { Jugadores = jugadores; Rondas = rondas; Llogica = logica; Mostrar = mostrar; }
public Juego(Jugador jugador1, Jugador jugador2, ILogica ilogica, IMostrar imostrar) : this(jugador1, jugador2, ilogica) { this._imostrar = imostrar; }
public NieuwOPO(Hoofdvenster hoofdvenster) { InitializeComponent(); hoofdvenster = this.hoofdvenster; logic = new Logica(); }
public NieuwDocent(Hoofdvenster hoofdvenster) { InitializeComponent(); logic = new Logica(); }
public Juego(Jugador jugador1, Jugador jugador2, ILogica ilogica) { this.Jugador1 = jugador1; this.Jugador2 = jugador2; this._ilogica = ilogica; }
public Hoofdvenster() { logica = new Logica(); InitializeComponent(); }
public Hoofdvenster(ILogica logica) { this.logica = logica; InitializeComponent(); }