From 75b427e877ee7cb24116db3df19bf2a73e1986f9 Mon Sep 17 00:00:00 2001
From: lu <99954486@qq.com>
Date: 星期四, 08 五月 2025 16:01:47 +0800
Subject: [PATCH] fqc
---
DevApp/Gs.DevApp/XtraForm1.cs | 34 ++++++++++++++--------------------
1 files changed, 14 insertions(+), 20 deletions(-)
diff --git a/DevApp/Gs.DevApp/XtraForm1.cs b/DevApp/Gs.DevApp/XtraForm1.cs
index 820046c..ad5953f 100644
--- a/DevApp/Gs.DevApp/XtraForm1.cs
+++ b/DevApp/Gs.DevApp/XtraForm1.cs
@@ -1,19 +1,5 @@
-锘縰sing DevExpress.Internal.WinApi;
-using DevExpress.XtraBars.ToastNotifications;
-using DevExpress.XtraEditors;
-using DevExpress.XtraTreeList;
-using Gs.DevApp.Entity;
-using Gs.DevApp.ToolBox;
-using Newtonsoft.Json;
+锘縰sing DevExpress.Utils;
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
{
@@ -22,18 +8,26 @@
public XtraForm1()
{
InitializeComponent();
-
+
}
private void simpleButton1_Click(object sender, EventArgs e)
{
//toastNotificationsManager1 = new ToastNotificationsManager();
- //VanishingMessage vm = new VanishingMessage(System.Drawing.Color.OrangeRed, "鎿嶄綔鎴愭槬鏍戞毊浜戦《鎴存", 1);
+ //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; //澶у浘鏍�
- VanishingMessage vm = new VanishingMessage(System.Drawing.Color.DodgerBlue, "鎿嶄綔鎴愭槬鏍戞毊浜戦《鎴存", 1);
- vm.Show();
-
}
}
}
\ No newline at end of file
--
Gitblit v1.9.3