Ejemplo n.º 1
0
        private void createButtonCont_Click(object sender, EventArgs e)
        {
            PopBoop();
            string   name     = createTextboxEventName.Text;
            DateTime dateTime = new DateTime(Convert.ToInt32(createComboYear.Text), Convert.ToInt32(createComboMonth.Text),
                                             Convert.ToInt32(createComboDay.Text));
            string description = createTextboxDesc.Text;

            myEvent             = new Event(name, dateTime, Location, "Dummy");
            myEvent.Description = description;
            eventDriver.Insert(myEvent);

            this.Close();
        }