全國最多中醫師線上諮詢網站-台灣中醫網
發文 回覆 瀏覽次數:1134
推到 Plurk!
推到 Facebook!

请教:有很多问题哦!~~~

尚未結案
lsh998
中階會員


發表:163
回覆:138
積分:60
註冊:2005-01-07

發送簡訊給我
#1 引用回覆 回覆 發表時間:2005-03-18 21:09:50 IP:218.14.xxx.xxx 未訂閱
using System; using System.Drawing; using System.Collections; using System.ComponentModel; using System.Windows.Forms; using System.Data;    namespace lsh998 {                  public class Form1 : System.Windows.Forms.Form //是不是 新建一个类 form1 ,                                                              //继承 类 System.Windows.Forms.Form          {                                  private System.ComponentModel.Container components = null; //这个是什么意思啊?                    public Form1() //是不是 类 Form1() 的构造函数啊?                 {                                                  InitializeComponent(); //是不是 构造函数 Form1() 的实现 ?                                             }                                                      protected override void Dispose( bool disposing ) // 请解释一下这段程序好吗?                                                                       //disposing 是什么?是谁传进来的参数?                 {                         if( disposing )                         {                                 if (components != null)                                  {                                         components.Dispose();                                 }                         }                         base.Dispose( disposing );                 }                    #region Windows Form Designer generated code   /*请问这一句话是什么意思?*/                 ///  /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// private void InitializeComponent() //12 请问 //12 和 //12 之间的这段代码有什么用? { this.components = new System.ComponentModel.Container(); this.Size = new System.Drawing.Size(300,300); this.Text = "Form1"; } //12 #endregion [STAThread] //请问这句话是什么意思? static void Main() { Application.Run(new Form1()); } } } 还有一个问题需要请教各位大哥的是:this 的真正含义是什么?一般是用在什么地方呢? 恳请各位大哥,详细说说 ^_^!, 谢谢!
sryang
尊榮會員


發表:39
回覆:762
積分:920
註冊:2002-06-27

發送簡訊給我
#2 引用回覆 回覆 發表時間:2005-03-19 22:22:28 IP:219.81.xxx.xxx 未訂閱
你這些問題不是基本觀念,就是基本語法,不然就是說明文件中查詢一下就找得到的東西,搜尋一下吧,按個 F1 沒這麼難的。 加油喔,喵~
------
歡迎參訪 "腦殘賤貓的備忘錄" http://maolaoda.blogspot.com/
系統時間:2024-05-19 8:13:28
聯絡我們 | Delphi K.Top討論版
本站聲明
1. 本論壇為無營利行為之開放平台,所有文章都是由網友自行張貼,如牽涉到法律糾紛一切與本站無關。
2. 假如網友發表之內容涉及侵權,而損及您的利益,請立即通知版主刪除。
3. 請勿批評中華民國元首及政府或批評各政黨,是藍是綠本站無權干涉,但這裡不是政治性論壇!