private void detail_Format(object sender, System.EventArgs eArgs) { System.Drawing.SizeF s = new System.Drawing.SizeF(); s.Width = 2; s.Height = 1; this.textBox1.Size = s; }
Private Sub Detail1_Format(ByVal sender As Object, ByVal e As System.EventArgs) Handles Detail1.Format Dim s As System.Drawing.SizeF s.Width = 2 s.Height = 1 Me.TextBox1.Size = s End Sub