Ejemplo n.º 1
0
        private void metroButton5_Click(object sender, EventArgs e)
        {
            NewSingle ns = new NewSingle();

            ns.ShowDialog();

            if (ns.DialogResult == DialogResult.OK)
            {
                //dataGridView3.Rows.Add(ns.TextBox);
                listSchool.Add(new SchoolData()
                {
                    Schule = ns.TextBox
                });
                ChangeSchools();
            }
        }
Ejemplo n.º 2
0
        private void metroButton6_Click(object sender, EventArgs e)
        {
            NewSingle ns = new NewSingle();

            ns.ShowDialog();

            if (ns.DialogResult == DialogResult.OK)
            {
                //dataGridView4.Rows.Add(ns.TextBox);
                listDevices.Add(new DevicesData()
                {
                    Geraet = ns.TextBox
                });
                ChangeDevices();
            }
        }
Ejemplo n.º 3
0
        private void metroButton4_Click(object sender, EventArgs e)
        {
            NewSingle ns = new NewSingle();

            ns.ShowDialog();

            if (ns.DialogResult == DialogResult.OK)
            {
                //dataGridView2.Rows.Add(ns.TextBox);
                listWK.Add(new WKData()
                {
                    WK = ns.TextBox
                });
                ChangeWKs();
            }
        }