Esempio n. 1
0
        private void btn_addEntry_Click(object sender, EventArgs e)
        {
            a = new AddEntry();
            a.StartPosition = FormStartPosition.CenterParent;
            a.Show();

            a.FormClosed += new FormClosedEventHandler(a_FormClosed);
        }
Esempio n. 2
0
        private void fillTextboxes(Messwert m)
        {
            a = new AddEntry();
            a.messwert = m;
            //a.InputDatum = m.MesswertDatum;
            //a.InputGewicht = m.Gewicht;
            //a.InputFett = m.FettAnteil;
            //a.InputWasser = m.WasserAnteil;
            //a.InputMuskel = m.MuskelAnteil;
            //a.InputKnochen = m.KnochenMasse;

            a.Show();
            a.FormClosed += new FormClosedEventHandler(a_FormClosed);
        }