頁面頂部加上
<#@ template language="C#" debug="true" hostspecific="True" #>
在需要進行調試的代碼加
System.Diagnostics.Debugger.Launch();
頁面頂部加上
<#@ template language="C#" debug="true" hostspecific="True" #>
在需要進行調試的代碼加
System.Diagnostics.Debugger.Launch();
this.richTextBox2.SelectionStart=this.richTextBox2.Text.Length; this.richTextBox2.ScrollToCaret();
在書上學到繪圖驗證碼示例,記錄一下 //生成驗證碼 public string CheckCode() { int number; char code;