例如 視窗的應用程式 當Loaded完成 可以使用 Debug.WriteLine() 來提示成功Loaded 寫在Loaded最後一行 Debug.WriteLine("Finished Window Loading"); Finished Window Loading 會顯示在輸出視窗。