protected override void OnSourceInitialized(EventArgs e) { WindowsHelper.RemoveIcon(this); //使用win32函数去除Window的Icon部分 }