lu
2025-04-07 e19ea4337fa65725e6e22073a7b600dcc9887d4b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
using DevExpress.Internal.WinApi;
using DevExpress.Utils;
using DevExpress.XtraBars.ToastNotifications;
using DevExpress.XtraEditors;
using DevExpress.XtraTreeList;
using Gs.DevApp.Entity;
using Gs.DevApp.ToolBox;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
 
namespace Gs.DevApp
{
    public partial class XtraForm1 : DevExpress.XtraEditors.XtraForm
    {
        public XtraForm1()
        {
            InitializeComponent();
          
        }
 
        private void simpleButton1_Click(object sender, EventArgs e)
        {
            //toastNotificationsManager1 = new ToastNotificationsManager();
            //VanishingMessage vm = new VanishingMessage(System.Drawing.Color.OrangeRed,  "操作成春树暮云顶戴槈");
            //vm.Show();
            ToolTipControllerShowEventArgs aa = new ToolTipControllerShowEventArgs();
            aa.AllowHtmlText = DefaultBoolean.True;
            aa.Title = "详情"; //HTML, 粗体 
            aa.ToolTip = "你好爱你的克格勃"; //断行 
            aa.ShowBeak = true;
            aa.Rounded = true; ////圆角 
            aa.RoundRadius = 7; //圆角率 
            aa.ToolTipType = ToolTipType.SuperTip; //超级样式,可多行或显示图标 
            aa.ToolTipType = ToolTipType.Standard;//标准样式,可显示鸟嘴。 
            aa.IconType = ToolTipIconType.Information; //消息图标 
            aa.IconSize = ToolTipIconSize.Small; //大图标 
            tips.ShowHint(aa);
        }
    }
}