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); } }
public void mouseMove(Point mousePos) { this.csd.tooltipSet = false; CustomTooltipManager.MouseLeaveTooltipArea(); this.csd.baseControl.parentMouseOver(mousePos); TutorialWindow.tooltip(mousePos); }
public void setCurrentTutorialWindow(TutorialWindow tutorialWindow) { this.m_currentTutorialWindow = tutorialWindow; }