添加引用DevComponents.DotNetBar2
ToastNotification.ToastBackColor = Color.Red;
ToastNotification.ToastForeColor = Color.White;
ToastNotification.ToastFont = new Font("微软雅黑", 15);
ToastNotification.Show(this, "没有可用模板,请新建。", null, 3000, eToastGlowColor.Red, eToastPosition.TopCenter);