如题

解决方案 »

  1.   

    谢谢如果我要打印this.ClientRectangle,请问怎么调用这个函数?
      

  2.   

    System.Diagnostics.Debug.print(); 
    这个就可以了
      

  3.   

    不对,提示System.Diagnostics.Debug不包含print;
    我想用textbox1.text来显示this.ClientRectangle 的值,但是总是出错?
    下面方法,提示类型不对,帮帮忙,谢谢各位弟兄.
     textBox1.Text = System.Diagnostics.Debug.Write (this.ClientRectangle);
      

  4.   

    System.Diagnostics.Debug.print(this.ClientRectangle); 
      

  5.   

    System.Diagnostics.Debug.print(); 
      

  6.   

    textBox1.Text = System.Diagnostics.Debug.Write (this.ClientRectangle);比较头晕
    一个是string ,一个是对象
    一个是要在ui上显示,一个是往调试过程窗口显示看着有点麻麻滴
      

  7.   

    你先弄明白Rectangle对象是啥,string又是啥
    Debug.print又是干啥的先