Ejemplo n.º 1
0
 public static void CreateTutorialWindow(int tutorialID, Form parentWindow)
 {
     bool force = false;
     TutorialWindow window = InterfaceMgr.Instance.getTutorialWindow();
     if (window == null)
     {
         window = new TutorialWindow();
         force = true;
     }
     else
     {
         if (parentWindow != lastParent)
         {
             window.Close();
             window = new TutorialWindow();
             force = true;
         }
         if (!window.Created || !window.Visible)
         {
             force = true;
         }
     }
     if (window != null)
     {
         lastParent = parentWindow;
         window.setText(tutorialID, force);
         window.updateLocation(tutorialID, parentWindow);
         window.showTutorialWindow(force, parentWindow);
     }
 }
Ejemplo n.º 2
0
 public void mouseMove(Point mousePos)
 {
     this.csd.tooltipSet = false;
     CustomTooltipManager.MouseLeaveTooltipArea();
     this.csd.baseControl.parentMouseOver(mousePos);
     TutorialWindow.tooltip(mousePos);
 }
Ejemplo n.º 3
0
        public static void CreateTutorialWindow(int tutorialID, Form parentWindow)
        {
            bool           force  = false;
            TutorialWindow window = InterfaceMgr.Instance.getTutorialWindow();

            if (window == null)
            {
                window = new TutorialWindow();
                force  = true;
            }
            else
            {
                if (parentWindow != lastParent)
                {
                    window.Close();
                    window = new TutorialWindow();
                    force  = true;
                }
                if (!window.Created || !window.Visible)
                {
                    force = true;
                }
            }
            if (window != null)
            {
                lastParent = parentWindow;
                window.setText(tutorialID, force);
                window.updateLocation(tutorialID, parentWindow);
                window.showTutorialWindow(force, parentWindow);
            }
        }
Ejemplo n.º 4
0
 public void setCurrentTutorialWindow(TutorialWindow tutorialWindow)
 {
     this.m_currentTutorialWindow = tutorialWindow;
 }