Exemplo n.º 1
0
 private void Ribbon_Close(object sender, EventArgs e)
 {
     _mail      = null;
     _appt      = null;
     _touch     = null;
     _timerForm = null;
 }
Exemplo n.º 2
0
 private void settings_Load(object sender, EventArgs e)
 {
     this.Width   = 385;
     panWait.Left = 0;
     SetUIWorking();
     lblVersion.Text    = "Shuri Outlook Addin Version " + GetVersion();// Properties.Resources.Version;
     lblCopy.Text       = string.Format("©Copyright 2017-{0} Shuri, Inc. All rights reserved.", DateTime.Now.Year);
     _timerForm         = new TimerForm();
     _timerForm.Visible = false;
     _timerForm.timerSettings.Interval = 400;
     _timerForm.timerSettings.Tick    += Initialize;
     _timerForm.timerSettings.Start();
 }
Exemplo n.º 3
0
        private Outlook.OlItemType _itemType  = Outlook.OlItemType.olJournalItem;  //olJournalItem == NONE

        #region Initialization & UI
        private void Ribbon_Load(object sender, RibbonUIEventArgs e)
        {
            try
            {
                _timerForm         = new TimerForm();
                _timerForm.Visible = false;
                _timerForm.timerCalRibbon.Interval = 1500;
                _timerForm.timerCalRibbon.Tick    += Initialize;
                _timerForm.timerCalRibbon.Start();
            }
            catch (Exception ex)
            {
                Debug.WriteLine("Error: " + ex.Message);
                Debug.WriteLine("Stacktrace: " + ex.StackTrace);
            }
        }
Exemplo n.º 4
0
 private void Start_Timer()
 {
     try
     {
         _timerForm         = new TimerForm();
         _timerForm.Visible = false;
         _timerForm.timerApptRibbon.Interval = 300;
         _timerForm.timerApptRibbon.Tick    += Initialize;
         _timerForm.timerApptRibbon.Start();
     }
     catch (Exception ex)
     {
         Debug.WriteLine("Error: " + ex.Message);
         Debug.WriteLine("Stacktrace: " + ex.StackTrace);
     }
 }