17 Ağustos 2013 Cumartesi

VB.NET Form Özellikleri

VB.NET'te formun pek çok  özelliğini değiştirebilirsiniz. Bu konu ile ilgili bir örnek aşağıda verilmiştir.
Formun boyutu,transparan özelliği,vb özellikleri değiştirilmiştir.



       Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!)
       Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
        Me.BackColor = System.Drawing.Color.Black
        Me.ClientSize = New System.Drawing.Size(334, 312)
        Me.Controls.Add(Me.Label1)
        Me.ForeColor = System.Drawing.SystemColors.ControlLightLight
        Me.FormBorderStyle =System.Windows.Forms.FormBorderStyle.FixedSingle
        Me.Icon = CType(resources.GetObject("$this.Icon"), System.Drawing.Icon)
        Me.Name = "Form1"
        Me.Opacity = 0.45R
        Me.StartPosition =System.Windows.Forms.FormStartPosition.CenterScreen
        Me.Text = "Merhaba Dünya"
        Me.ResumeLayout(False)
        Me.PerformLayout()