代碼講解:
在MainWindow.xaml中設置mainwindow的屬性如下
AllowsTransparency="True"
WindowStyle="None"
Background="Transparent"
可使用不規則窗口。
代碼講解:
在MainWindow.xaml中設置mainwindow的屬性如下
AllowsTransparency="True"
WindowStyle="None"
Background="Transparent"
可使用不規則窗口。
this.richTextBox2.SelectionStart=this.richTextBox2.Text.Length; this.richTextBox2.ScrollToCaret();
public partial class MyMessageBox : Window { public static void Show(string strErrorInfo) {