39 lines
1.1 KiB
C#
39 lines
1.1 KiB
C#
using Plane.Windows.Messages;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
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.Navigation;
|
|
using System.Windows.Shapes;
|
|
|
|
namespace Plane.WpfTests
|
|
{
|
|
/// <summary>
|
|
/// Interaction logic for MainWindow.xaml
|
|
/// </summary>
|
|
public partial class MainWindow : Window
|
|
{
|
|
public MainWindow()
|
|
{
|
|
InitializeComponent();
|
|
}
|
|
|
|
private void btnTestAlert_Click(object sender, RoutedEventArgs e)
|
|
{
|
|
Alert.Show("Hello 大家好,我是林俊清。");
|
|
}
|
|
|
|
private void btnTestAlert2_Click(object sender, RoutedEventArgs e)
|
|
{
|
|
Alert.ShowOKCancel("啦啦啦。。。!!!,,,|||---+++===#%&……¥……##¥##@%#$@%#, I have a table in my little bedroom.", "Title 标题", "确定(_O)", "取消(_C)");
|
|
}
|
|
}
|
|
}
|