Beispiel #1
0
 public StudentForm(Student s, ClassForm f)
 {
     InitializeComponent();
     this.s = s;
     this.f = f;
     Text   = f.Text + ": uczeń";
     displayControls();
 }
Beispiel #2
0
        private void classesList_DoubleClick(object sender, EventArgs e)
        {
            ClassForm cf = new ClassForm((Classes)ClassesList.SelectedItem, this);

            cf.MdiParent = this.MdiParent;
            cf.Text      = s.Name + ": klasa";
            cf.Show();
        }