Ejemplo n.º 1
0
	    private void ProcessSpecialGoogleRequests ()
		    {
			SpecialGoogleRequests ExternalRequests = new SpecialGoogleRequests ();
		    DataTable RequestTable = ExternalRequests.GetExternelGoogleRequests ();
		    foreach (DataRow Entry in RequestTable.Rows)
			    {
			    SelectedCalendarConnection = AllCalendars [Entry ["KalenderNameID"].ToString ()];
			    SelectedCalendarConnection.DeleteEventEntry (Entry ["IDToPostProcess"].ToString (), true);
				Entry.Delete ();
			    }
		    DataSet Changes = RequestTable.DataSet.GetChanges ();
		    if (Changes != null)
			    AltErlaaInfoWCFAccess.SetCommonDataSet (Changes);
		    }
Ejemplo n.º 2
0
	    public void CreateSingleCalendarTable (SpecialGoogleRequests.SymbolicCalendar CalendarToUse)
			{
			foreach (String Key in AllCalendars.Keys)
				{
				if (AllCalendars [Key].SymbKalender == CalendarToUse)
					{
					Calendar Entry = AllCalendars [Key].ConnectedGoogleCalendar;
					AllCalendars [Key].CheckForStopProcessingCall += (Sender, Reason) =>
						{
						if (CheckForStopProcessingCall != null)
							return CheckForStopProcessingCall (Sender, Reason);
						return false;
						};
					SelectedCalendarConnection = AllCalendars[Key];
					}
				}
			}