C# winform 快速方便注释

在vs里面  要写注释 之需要 敲出   /// 

就会出来 ///  下面第一个方法的注释 

当你在调用这个方法时 将会出现你写的注释....

///


  /// 写你想写的注释...
  ///

  /// 对应参数的注释...
  /// 对应参数的注释...
  private void StockPlan_Load(object sender, System.EventArgs e)
  {
   System.Diagnostics.Process.Start("TimeDate.cpl");
   ds=stock.getStockInfo();
   ds.Tables[0].TableName="stock";
   this.dviewStockInfo.Table=ds.Tables["stock"];
   this.dgridStockInfo.DataSource=this.dviewStockInfo;
   setGrid();
  } 

你可能感兴趣的:(WinForm)