コード例 #1
0
        private void CreateButton_Click(object sender, EventArgs e)
        {
            DatabaseManager.CreateSchedule(nameTextBox.Text);

            // refresh the calendar and close this form
            RefreshCalendars.Refresh();
            this.Close();
        }