private void Refresh_Click(object sender, EventArgs e)
        {
            UCTabbedDocument ucDoc = GetActiveUCTabbedDocument();

            if (ucDoc != null)
            {
                ucDoc.SelfRefresh();
            }
        }
 private void SystemTray(bool show)
 {
     if (show)
     {
         WindowState        = FormWindowState.Maximized;
         this.ShowInTaskbar = true;
         UCTabbedDocument doc = GetUCTabbedDocumentByType(typeof(ActivePlanManager));
         if (doc != null)
         {
             doc.SelfRefresh(false);
         }
     }
     else
     {
         this.ShowInTaskbar = false;
     }
 }