public CrearClase(int x, AdminWindow a) { aw = a; noClases = x; InitializeComponent(); tbId.Text = Convert.ToString(noClases + 1); }
public CrearPregunta(int c, int p, int t, AdminWindow a) { idClase = c; noPregunta = p + 1; idPregunta = t + 1; aw = a; InitializeComponent(); tbId.Text = Convert.ToString(idPregunta); tbClase.Text = Convert.ToString(idClase); }
public CrearExamen(int i, int c, int p, AdminWindow a) { id = i + 1; idClase = c; noPreguntas = p; aw = a; updateNoExamen(); InitializeComponent(); tbId.Text = Convert.ToString(id); tbClase.Text = Convert.ToString(idClase); }
private void btAdmin_Click(object sender, RoutedEventArgs e) { AdminWindow aw = new AdminWindow(); aw.Show(); }