public static void CreateTutorialArrowWindow(bool upArrow, Point offset, AnchorStyles anchor, Form parentWindow)
 {
     bool doShow = false;
     TutorialArrowWindow window = InterfaceMgr.Instance.getTutorialArrowWindow();
     if (window == null)
     {
         window = new TutorialArrowWindow();
         doShow = true;
     }
     else
     {
         if (parentWindow != lastParent)
         {
             window.Close();
             window = new TutorialArrowWindow();
             doShow = true;
         }
         if (!window.Created || !window.Visible)
         {
             doShow = true;
         }
     }
     if ((window != null) && ((doShow || (offset != window.m_offset)) || (anchor != window.m_anchor)))
     {
         lastParent = parentWindow;
         window.show(upArrow, offset, anchor);
         window.updateLocation(parentWindow);
         window.showTutorialArrowWindow(doShow, parentWindow);
     }
 }
        public static void CreateTutorialArrowWindow(bool upArrow, Point offset, AnchorStyles anchor, Form parentWindow)
        {
            bool doShow = false;
            TutorialArrowWindow window = InterfaceMgr.Instance.getTutorialArrowWindow();

            if (window == null)
            {
                window = new TutorialArrowWindow();
                doShow = true;
            }
            else
            {
                if (parentWindow != lastParent)
                {
                    window.Close();
                    window = new TutorialArrowWindow();
                    doShow = true;
                }
                if (!window.Created || !window.Visible)
                {
                    doShow = true;
                }
            }
            if ((window != null) && ((doShow || (offset != window.m_offset)) || (anchor != window.m_anchor)))
            {
                lastParent = parentWindow;
                window.show(upArrow, offset, anchor);
                window.updateLocation(parentWindow);
                window.showTutorialArrowWindow(doShow, parentWindow);
            }
        }
        public static void updateArrow()
        {
            TutorialArrowWindow window = InterfaceMgr.Instance.getTutorialArrowWindow();

            if (((window != null) && window.Created) && window.Visible)
            {
                window.update();
            }
        }
 public void setCurrentTutorialArrowWindow(TutorialArrowWindow donatePopup)
 {
     this.m_currentTutorialArrowWindow = donatePopup;
 }