日期:2014-05-17 浏览次数:20888 次
<Window x:Class="Dynastech.Lync.Controls.MiniWindow.TestWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="TestWindow" Height="300" Width="300">
<Grid>
<WebBrowser></WebBrowser>
</Grid>
</Window>
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;
namespace Dynastech.Lync.Controls.MiniWindow
{
/// <summary>
/// TestWindow.xaml 的交互逻辑
/// </summary>
public partial class TestWindow : Window
{
public TestWindow()
{
InitializeComponent();
this.Closed += TestWindow_Closed;
}
void TestWindow_Closed(object sender, EventArgs e)
{
MessageBox.Show("WindowClosed");
}
}
}