23 Star 202 Fork 79

BBBUG / BBBUG Windows Client

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
AlertWindow.xaml.cs 1.11 KB
一键复制 编辑 原始数据 按行查看 历史
Hamm 提交于 2020-10-19 09:17 . init: 初始化项目
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;
namespace BBBUG.COM
{
/// <summary>
/// AlertWindow.xaml 的交互逻辑
/// </summary>
public partial class AlertWindow : Window
{
public AlertWindow()
{
InitializeComponent();
}
private void Button_Click(object sender, RoutedEventArgs e)
{
this.Close();
}
private void Border_MouseDown(object sender, MouseButtonEventArgs e)
{
if (e.LeftButton == MouseButtonState.Pressed)
{
this.DragMove();
}
}
public void showDialog(string message,string title="BBBUG提示")
{
this.title.Content = title;
this.message.Text = message;
this.ShowDialog();
}
}
}
C#
1
https://gitee.com/bbbug_com/BBbug_Winform_Applicaiton.git
git@gitee.com:bbbug_com/BBbug_Winform_Applicaiton.git
bbbug_com
BBbug_Winform_Applicaiton
BBBUG Windows Client
master

搜索帮助