wpf 如何让当前窗口隐藏
2021-03-02 15:27
阅读:386
标签:this present als xaml 完成 box microsoft class min
XMAL中
Window x:Class="WpfNoScreen.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="MainWindow" Height="350" Width="525" ShowInTaskbar="False" WindowState="Minimized" Visibility="Hidden">
Grid>
Grid>
Window>
构造函数中
// ShowInTaskbar="False" WindowState="Minimized" Visibility="Hidden"
this.ShowInTaskbar = false;
this.Visibility = Visibility.Hidden;
MessageBox.Show("完成了");
wpf 如何让当前窗口隐藏
标签:this present als xaml 完成 box microsoft class min
原文地址:https://www.cnblogs.com/lingLuoChengMi/p/13038733.html
上一篇:11 API
评论
亲,登录后才可以留言!