using System; using System.Drawing; using System.IO; using System.Threading; using System.Windows.Forms; using DevExpress.XtraBars.Alerter; using DevExpress.XtraEditors; namespace WindowsFormsApplication1 { public partial class Form2 : XtraForm { pub
原文:[WPF]右下角弹出自定义通知样式(Notification)--简单教程 1.先看效果 2.实现 1.主界面是MainWindow 上面就只摆放一个Button即可.在Button的点击事件中需要new一个弹出的NotificationWindow.代码如下: public static List<NotificationWindow> _dialogs = new List<NotificationWindow>(); int i = 0; private void Bu
工作中会有很多的弹框,用来添加模板,用来信息提示,,我现在用的模板有dialog(用来添加数据模板内容),还有一个就是自写的showPrompt用来判断错误或者正确的信息~~ 样子大概就是这样的,, 其中有几种调用状态,成功/失败/异常等~ 首先写一个提示的函数方法 function showPrompt(html, type, callback) { var type = type || 'common'; var typeClass = ''; if (type == 'common') {