Beispiel #1
0
        private void button1_Click(object sender, EventArgs e)
        {
            Form2add f = new Form2add();

            f.ShowDialog();


            Human h = new Human("11111", "322222", 22, new DateTime(1995, 12, 12));

            //label1.Text = h.getFullInfo();
            //listBox1.Items.Add(h.getFullInfo());
            //GW1.RowCount = 1;
            listH.addListHuman(f.HumanAdd);



            // listH.addListHuman(st1);
            // listH.addListHuman(prof1);
            // listH.safeObjects();
            //  listH2.loadObjects();
            addHumInGW();
        }
Beispiel #2
0
 public Form1(Form2add fAdd)
 {
     this.fAdd = fAdd;
     InitializeComponent();
 }