Esempio n. 1
0
		// View clicked on a day
		private void View_Click(object sender, EventArgs e)
		{
			showtimer.Stop();
			AgendaDayDisplay dd = (sender as AgendaDayDisplay);
			dayeditor.ReturnPanel = "agenda";
			dayeditor.SetupDay(dd.Day);
			General.MainWindow.ShowTaggedPanel("agendaday");
		}
Esempio n. 2
0
		// Add clicked on a day
		private void Add_Click(object sender, EventArgs e)
		{
			showtimer.Stop();
			AgendaDayDisplay dd = (sender as AgendaDayDisplay);
			DateTime day = dd.Day;
			itemeditor.ReturnPanel = "agenda";
			itemeditor.AcceptEvent += RefreshWeek;
			itemeditor.SetupDate(day);
			General.MainWindow.ShowTaggedPanel("agendaitem");
		}