10/05/29 14:59:36 d7f0XFIO
>>802
上下左右にアンカー設定つけてデザイナーがどういうコード吐くか見てみるといいよ
Form1.Designer.csってところに出力される
ちなみにVC#2008EE(.net3.5)だと
        private void InitializeComponent()
        {
            this.textBox1 = new System.Windows.Forms.TextBox();
            this.SuspendLayout();
            //
            // textBox1
            //
            this.textBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                        | System.Windows.Forms.AnchorStyles.Left)
                        | System.Windows.Forms.AnchorStyles.Right)));
            this.textBox1.Location = new System.Drawing.Point(13, 13);
            this.textBox1.Multiline = true;
            this.textBox1.Name = "textBox1";
            this.textBox1.Size = new System.Drawing.Size(267, 241);
            this.textBox1.TabIndex = 0;
てな感じだった
それに指定できる項目がどうなってるか気になるなら
System.Windows.Forms.AnchorStyles.
まで打って候補を確認してみればいいのに