//public event EventHandler<GoToEventArgs> GoToDate;

        public PassedNoteGrid(List <Tuple <Note, string> > _passedNotes, string currDate)
        {
            InitializeComponent();
            passedNotes = _passedNotes;

            if (passedNotes.Count == 0)
            {
                this.Close();
            }

            string[] rowToAdd;
            string   dateString;
            string   tag;

            foreach (Tuple <Note, string> t in passedNotes)
            {
                if (t.Item1.Campaign == null)
                {
                    tag = "GEN";
                }
                else
                {
                    tag = t.Item1.Campaign.Tag;
                }
                dateString = t.Item2.Insert(2, "/").Insert(5, "/");
                rowToAdd   = new string[] { tag, dateString, DayTracker.ReturnContentAndDateDifference(t.Item1), "Go" };
                noteGrid.Rows.Add(rowToAdd);
            }

            currentDate.Text = currDate.Insert(2, "/").Insert(5, "/");
            goButton.Hide();
        }
 private void dayTrackerButton_Click(object sender, EventArgs e)
 {
     if (currentCalendar.CampaignList.Count == 0 && currentCalendar.GeneralNoteList.Count == 0)
     {
         currentCalendar = new Calendar(currentCalendar.calendar);
     }
     if (dayTracker == null)
     {
         dayTracker = new DayTracker(currentCalendar);
         dayTracker.Show(this);
     }
     else if (dayTracker.IsDisposed)
     {
         dayTracker = new DayTracker(currentCalendar);
         dayTracker.Show(this);
     }
 }