Example #1
0
	        private void CalendarAPIChanged(GoogleAPI OldValue,
		        GoogleAPI NewValue)
		        {
		        }
Example #2
0
        private bool Startup()
            {
            if (CalendarAPI != null)
                return true;
            CalendarAPI = new GoogleAPI();
            CalendarAPI.CreateCalendarTable();
            CalendarAPI.CheckForStopProcessingCall += (Sender, Reason) =>
	            {
				if (WMB.Basics.GetComputerName().ToUpper() != "HEINZ64")
					return false;
				if (MessageBox.Show(Reason + "\r\nWollen Sie die Loop stoppen?", "SicherheitsAbfrage",
                    MessageBoxButton.YesNo)
                    == MessageBoxResult.Yes)
                    return true;
                return false;
                };

            return true;
            }