private void CreateButton_Click(object sender, EventArgs e) { DatabaseManager.CreateSchedule(nameTextBox.Text); // refresh the calendar and close this form RefreshCalendars.Refresh(); this.Close(); }
private void CreateButton_Click(object sender, EventArgs e) { DatabaseManager.CreateSchedule(nameTextBox.Text); // refresh the calendar and close this form RefreshCalendars.Refresh(); this.Close(); }