コード例 #1
0
ファイル: Astrogator.cs プロジェクト: DMagic1/Astrogator
        /// <summary>
        /// React to the user de-hovering the app launcher by hiding the tooltip.
        /// </summary>
        private void onAppLaunchHoverOut()
        {
            DbgFmt("Unhovered");

            if (tooltip != null)
            {
                tooltip.Dismiss();
                tooltip = null;
            }
        }
コード例 #2
0
ファイル: Astrogator.cs プロジェクト: DMagic1/Astrogator
        /// <summary>
        /// React to user hovering over the app launcher by showing the tooltip.
        /// </summary>
        private void onAppLaunchHover()
        {
            DbgFmt("Hovered over");

            if (tooltip == null)
            {
                tooltip = TooltipView.AppLauncherTooltip(
                    AstrogationView.DisplayName,
                    Description,
                    launcher);
            }
            tooltip.Show();
        }