Beispiel #1
0
        private void createNewVisit_Click(object sender, EventArgs e)
        {
            AddEditVisitPlanDay aeVPD = new AddEditVisitPlanDay(new Visit(visit1, dateNewVisit.Value));

            if (aeVPD.ShowDialog() == System.Windows.Forms.DialogResult.OK)
            {
                saveVisitPlanDay();
            }
        }
        private void button2_Click(object sender, EventArgs e)
        {
            int num = getNumberComponent("btn1", sender);

            AddEditVisitPlanDay aeVPD = new AddEditVisitPlanDay(new Visit(visit1[num], dateNew1[num].Value));

            if (aeVPD.ShowDialog() == System.Windows.Forms.DialogResult.OK)
            {
                saveVisitPlanDay(num);
            }
        }
        private void button2_Click(object sender, EventArgs e)
        {
            int num = getNumberComponent("btn1", sender);

            AddEditVisitPlanDay aeVPD = new AddEditVisitPlanDay(new Visit(visit1[num], dateNew1[num].Value));
            if (aeVPD.ShowDialog() == System.Windows.Forms.DialogResult.OK)
                saveVisitPlanDay(num);
        }
        private void createNewVisit_Click(object sender, EventArgs e)
        {
            AddEditVisitPlanDay aeVPD = new AddEditVisitPlanDay(new Visit(visit1, dateNewVisit.Value));

            if (aeVPD.ShowDialog() == System.Windows.Forms.DialogResult.OK)
                saveVisitPlanDay();
        }