|
发表于 2007-7-6 15:14:17
|
显示全部楼层
窗体的定义 'Button1" @4 d2 T/ y5 v0 c* G( I
'
. O8 g, V$ z# d4 g1 r Me.Button1.Font = New System.Drawing.Font("宋体", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(134, Byte))- b2 `& H. k$ r/ c3 o& y. {4 I
Me.Button1.Location = New System.Drawing.Point(96, 228). `# ]: O& k4 p! J
Me.Button1.Name = "Button1"1 {7 ^. N# X6 \
Me.Button1.TabIndex = 0
4 {4 R3 C! @2 g* C Me.Button1.Text = "应 用"
. r N8 F. T, ^, K0 z, @ '
* P7 W* x8 z, R0 E8 I- Y$ x2 q 'Button2
2 T2 {; a' t, d' n: A: E '
. n3 w; c3 _6 k9 S* N( k# j K Me.Button2.Font = New System.Drawing.Font("宋体", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(134, Byte))
# C& a( }9 z# w( @ K1 J4 v Me.Button2.Location = New System.Drawing.Point(296, 228)
! j. T( ]- Y/ Z* l Me.Button2.Name = "Button2"
7 f* k/ e. y* X S Me.Button2.TabIndex = 1
{. z- N4 j2 Q4 t% N: N! r3 I Me.Button2.Text = "退 出"
- x5 R6 j( h! n2 }9 u. U! |8 |- \ '
8 S9 N0 {- d. a6 j 'Label1' J+ ?" X, ]4 w3 |1 x7 l0 _ H
'+ Q2 V: R: `# L x6 t
Me.Label1.Font = New System.Drawing.Font("黑体", 15.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(134, Byte)): K6 g4 o6 P& I( \9 A/ [1 E6 {4 G
Me.Label1.Location = New System.Drawing.Point(141, 17)
3 o% h2 Z8 x$ ?& M; C! R$ z" Z% T Me.Label1.Name = "Label1"/ Q( B" k8 f8 |/ V3 z
Me.Label1.Size = New System.Drawing.Size(184, 23)( |/ E" Y# T$ |6 q5 o
Me.Label1.TabIndex = 31 M% W4 @+ d9 \" R, e8 u: b
Me.Label1.Text = "工程图纸属性表单"
1 ?8 e q E0 Z" I/ W5 x Me.Label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter) q( w& z# N: a! ~
'9 @& M8 i6 X$ A: z* p
'Button3) _ M8 k8 w, @/ h& d) {
'
% H% r+ x7 `6 q9 G. J0 V+ |8 l5 T" o Me.Button3.Font = New System.Drawing.Font("宋体", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(134, Byte))! S6 f$ b E; a e" |+ ]- b
Me.Button3.Location = New System.Drawing.Point(200, 228). |- j3 J8 ?+ f0 \# p
Me.Button3.Name = "Button3"
& P. \ a/ j J( Q Me.Button3.TabIndex = 2
1 e1 F# g* B0 o: U. b* @ Me.Button3.Text = "重置"
5 {3 M! @( x* T7 w: q* c '
. ^# m* z$ l# ?5 G+ |, ^ 'Label2
# @+ M4 R7 ^. | ` '
% ^8 Z/ x+ a) m s7 \ t Me.Label2.AutoSize = True' S* a1 d1 G* U/ W5 A
Me.Label2.Location = New System.Drawing.Point(31, 57)' g. R2 Q% J" ~4 f2 k2 [, O2 n8 ?
Me.Label2.Name = "Label2"# i" d+ a" |; J( b/ q$ t8 [
Me.Label2.Size = New System.Drawing.Size(34, 19)" u5 e2 h! ], K. D4 R9 M: w4 R# L
Me.Label2.TabIndex = 4, r. B8 q, d. s5 x
Me.Label2.Text = "图幅"
* p' i- v' `) C$ ?. F( |' ~ Me.Label2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft
3 Z; ~6 b. e1 D# p; f% p ') C2 t9 \ Y/ o7 U
'Label3+ k6 `# l$ Y t0 N
'' @! R' |' \: x' ]; u+ U
Me.Label3.Location = New System.Drawing.Point(223, 57)
; R& M. l! j, u% {! \) S1 O Me.Label3.Name = "Label3"
! v9 i5 Z1 G. W0 K/ f' O1 f' O5 I Me.Label3.Size = New System.Drawing.Size(34, 19). \1 w8 n- f) W2 b7 I
Me.Label3.TabIndex = 5 q" k% c6 P( h" l
Me.Label3.Text = "图框"; {% n9 J) {& H& F
Me.Label3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft" J0 H. h% I2 A+ x9 {
'5 e" [2 n/ C& Q0 P6 r/ M9 P k
'Label45 t& n7 L2 [5 |/ m \* k
'7 R! ?& D. U7 U I
Me.Label4.Location = New System.Drawing.Point(31, 101)
- u4 ?, g# ~. [+ d1 O$ r, y1 X6 R Me.Label4.Name = "Label4"
- i- P- N4 \. {5 _. n8 Y Me.Label4.Size = New System.Drawing.Size(34, 19)
( X3 ^1 `* _1 r p Me.Label4.TabIndex = 6
) t6 T0 f1 d* L7 W Me.Label4.Text = "尺寸"9 r) i3 p4 ~2 |) M1 J* `) d" f
Me.Label4.TextAlign = System.Drawing.ContentAlignment.MiddleLeft
7 S& [9 X1 Z3 }% I& m '5 o) ~/ p; |5 V `
'Label5
9 E7 _3 u3 Q" Z I8 w9 [: M '+ i+ B" T! J: e" j+ ~* |
Me.Label5.Location = New System.Drawing.Point(31, 145)$ e+ m: }- s N; Z6 c0 U
Me.Label5.Name = "Label5"# {% \9 O0 F9 o# b9 o& U( c3 W8 S
Me.Label5.Size = New System.Drawing.Size(34, 19)
0 D' ^) {6 _# V Me.Label5.TabIndex = 7* l# X5 I6 s' v
Me.Label5.Text = "比例"5 S( \( v1 I7 U: j8 C& O* j- ^* z
Me.Label5.TextAlign = System.Drawing.ContentAlignment.MiddleLeft) X# o4 R$ Z) k1 w7 r
'0 h! j M$ ?$ ]) {3 Y. ]( d
'PaperSizeComboBox
" n) o8 x8 m) ~( ^7 o; |: W& @& u; b '
7 N3 A n3 S# h" N+ z# |! X9 Z- o* x Me.PaperSizeComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList
9 b, [: D; M$ J. s6 B( H Me.PaperSizeComboBox.Items.AddRange(New Object() {"A0", "A1", "A2", "A3", "A4", "自定义"})
5 |2 J9 I# o {! O Me.PaperSizeComboBox.Location = New System.Drawing.Point(87, 55)$ L6 R7 C ?+ V( t
Me.PaperSizeComboBox.Name = "PaperSizeComboBox"& j5 r" m; v( D% h+ v) L/ \0 _
Me.PaperSizeComboBox.Size = New System.Drawing.Size(121, 22)* R# ?* u% L* {& I! A% E4 C ~
Me.PaperSizeComboBox.TabIndex = 8
/ n) P: Q. X) F% O '. P5 p3 p% @# c0 u$ u/ U0 t
'ComboBox1! m4 `: Y3 ~$ k3 S
'. @) d, x. {5 X2 {2 @- O H# z
Me.ComboBox1.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList3 V/ I% R. T# W* O' H
Me.ComboBox1.Location = New System.Drawing.Point(279, 57)5 }, g( j) m" d; m J
Me.ComboBox1.Name = "ComboBox1"
a- @; d6 @+ r Me.ComboBox1.Size = New System.Drawing.Size(121, 22)/ d' d" x0 {. G4 o J5 v5 W
Me.ComboBox1.TabIndex = 9
3 g: |2 X) R; c; m# s4 ]7 N '
8 L# R. q! |7 o3 t* C/ ~8 q 'WidthTextBox+ L& _1 R% @1 E& x" E, W% \6 c
'$ p# z/ Z, x) N: F; V0 w
Me.WidthTextBox.Location = New System.Drawing.Point(87, 99)
1 v1 _0 ?6 c3 n3 F Me.WidthTextBox.Name = "WidthTextBox"9 }3 U4 j, H" W, b% [6 @5 l
Me.WidthTextBox.Size = New System.Drawing.Size(121, 23)+ @$ H/ l5 S s& w! I( z
Me.WidthTextBox.TabIndex = 10
3 p# ~/ J6 @! b! C9 X Me.WidthTextBox.Text = ""( _: j& [, [2 |; M- ~
') I5 G* k, K& _0 h, P7 w- e
'Label61 h& Q3 n# x% a! h1 q, N3 t
'
0 Q( v% Q l1 U) E8 c3 | Me.Label6.AutoSize = True8 w4 ?/ T8 m8 L! t4 [& s
Me.Label6.Location = New System.Drawing.Point(223, 101)* P! Q3 g" J9 z. L2 ~, ~
Me.Label6.Name = "Label6". \8 n' Z0 e4 q1 ~7 V" L
Me.Label6.Size = New System.Drawing.Size(20, 19). d# n$ @$ h% z+ v- ~
Me.Label6.TabIndex = 112 K! ]& q0 m3 A, x. d S- I
Me.Label6.Text = "mm". X$ P+ u2 g* k/ t- [& d
Me.Label6.TextAlign = System.Drawing.ContentAlignment.MiddleLeft' g* y" m d# \
'- c& x0 o8 E# E: A. T5 e
'HeightTextBox
) e4 A6 K. r" j6 b: Q) T% ^, t '
3 Q5 N* n1 L. J Me.HeightTextBox.Location = New System.Drawing.Point(279, 99)7 u' D" U9 `. n& ^3 u
Me.HeightTextBox.Name = "HeightTextBox"8 E) n+ s, G- U9 f" j" B
Me.HeightTextBox.Size = New System.Drawing.Size(121, 23)
3 d8 n3 i& _( | Me.HeightTextBox.TabIndex = 128 P2 f; z2 W5 c: ^0 S P, X
Me.HeightTextBox.Text = "", f+ Q% Y, f6 b: p9 y4 r: r
'- M' I' U: e s3 `8 i3 o4 k
'Label77 X0 P5 x' ?% O: l/ g
'
0 m! G5 u( L' h& t- D f. u( o Me.Label7.AutoSize = True6 [0 o( ^; X' C4 N) t6 O( M% {% [5 E3 T
Me.Label7.Location = New System.Drawing.Point(415, 101)
8 K: Z& y& O6 t0 ] Me.Label7.Name = "Label7"* a0 b& ^/ Q5 H0 S9 P) L; j* _/ E
Me.Label7.Size = New System.Drawing.Size(20, 19)
9 n3 v( |; l$ Y1 G Me.Label7.TabIndex = 13' H" T* N9 j. k, m! X, H
Me.Label7.Text = "mm"
( X4 ~. K# X! O" Z; y. \. |# ^ Me.Label7.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; S" x, N! S+ A$ s: J5 ~/ c, O3 `
'/ U5 S. z% D O' @/ q% c
'ScaleFactor1
) P2 h3 h8 H& U5 n& S5 N '! w& {- b# }- W" ]8 T& |+ Y; _
Me.ScaleFactor1.Location = New System.Drawing.Point(87, 145)! m+ e+ r7 D3 P, e6 g
Me.ScaleFactor1.Name = "ScaleFactor1"8 \# B0 @* O8 S) a
Me.ScaleFactor1.Size = New System.Drawing.Size(121, 23), \$ U) u/ t, }+ v
Me.ScaleFactor1.TabIndex = 14
6 b+ C( w& ]! n# y+ [! G/ o! S Me.ScaleFactor1.Text = ""+ L! ^6 ]" a5 ~! K4 S/ c& O
'
1 }: A9 f7 D3 a$ x 'Label80 F! v4 u! v4 K9 M
'
4 a. s" s( x6 i0 ?( O3 C3 l Me.Label8.AutoSize = True
& w8 ~- c+ E( M' h2 }( I Me.Label8.Location = New System.Drawing.Point(239, 145)% Z, C9 K$ E- w* f( M; ~6 [; K
Me.Label8.Name = "Label8", M1 P' _7 O' h) z! F, t! ^5 O
Me.Label8.Size = New System.Drawing.Size(12, 19). n+ K5 _8 c8 X/ S: A
Me.Label8.TabIndex = 15
3 G$ v& J, r% n0 i* Q* B Me.Label8.Text = ":"+ M2 k8 J! G% p T) C& \
Me.Label8.TextAlign = System.Drawing.ContentAlignment.MiddleLeft
$ B/ E1 V/ `4 l '
9 k" ^; ^, X$ p/ O 'ScaleFactor2
: I. |1 b" \5 [ '; v5 o L3 g$ j y
Me.ScaleFactor2.Location = New System.Drawing.Point(279, 145)
4 M# N3 j( G* z' U/ w: b3 { Me.ScaleFactor2.Name = "ScaleFactor2"# _ O4 G$ w& v
Me.ScaleFactor2.Size = New System.Drawing.Size(121, 23)
# |3 C7 }; z6 G+ }" O Me.ScaleFactor2.TabIndex = 16
1 S6 X* @% i, b6 q2 g Me.ScaleFactor2.Text = ""
F$ {5 Z* ]5 Y c& T8 E- D( N3 X '7 o) _7 o }' J B; _7 U# n' P
'Label9
. \- V2 S$ d" a; ~8 [- I '3 L0 V4 G1 I9 G7 ^4 h
Me.Label9.AutoSize = True, ]& j+ e! f" P$ v
Me.Label9.Font = New System.Drawing.Font("Verdana", 10.5!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
( h1 [1 Y8 ~+ D- b* R Me.Label9.Location = New System.Drawing.Point(255, 100)
4 U4 e! p5 J" |$ F; A/ {: p, @ Me.Label9.Name = "Label9"
- ?, w8 v( u4 J* Y) c Me.Label9.Size = New System.Drawing.Size(14, 21)# z/ W4 T3 y2 W" g8 S" d
Me.Label9.TabIndex = 173 f9 [! `1 X: `0 t, }
Me.Label9.Text = "x"
3 C; m4 L S0 C0 _- ~8 \ Me.Label9.TextAlign = System.Drawing.ContentAlignment.MiddleLeft8 ~% `2 M9 s/ `* n8 _. d0 A
'
9 a) D+ x4 e7 G9 h/ O# ?( r& G 'Label10
# X6 n6 R- g( ] '8 X( m$ @7 U9 v$ ~( S5 W: l7 `! s
Me.Label10.AutoSize = True
7 g* I, }8 l, Z7 a3 f' L/ ]+ r. ~* g Me.Label10.ForeColor = System.Drawing.Color.Red+ R6 x3 w/ g3 I+ F6 x/ y
Me.Label10.Location = New System.Drawing.Point(32, 192). x4 O# D& u5 A6 N9 `% ~9 @
Me.Label10.Name = "Label10"
6 y- }$ {3 |% n) m Me.Label10.Size = New System.Drawing.Size(423, 19)4 \, d7 X& n0 O1 X- @
Me.Label10.TabIndex = 18
7 P! H# ~$ x" x Me.Label10.Text = "注意:自定义图幅时需要自定义图页背景,然后再设置背景图框!"
- d& Q; M5 ?" e1 R Me.Label10.TextAlign = System.Drawing.ContentAlignment.MiddleLeft0 f4 o5 @) o5 q
'
( c9 N1 K* j0 t* I1 U 'Form1
# y6 U% ~7 p. n% @2 ^* ~5 o5 Y '/ H0 A6 F8 r- ~( b. c2 t
Me.AutoScale = False. E2 g! } f2 \6 V
Me.AutoScaleBaseSize = New System.Drawing.Size(7, 16)
6 j0 C/ o( _2 P! v Me.ClientSize = New System.Drawing.Size(466, 272)
! H0 O$ d+ X3 f3 v/ x. h Me.Controls.Add(Me.Label10)
- T! Q. D5 W1 n h/ b. { Me.Controls.Add(Me.Label9), g! x! `0 ~" g9 A
Me.Controls.Add(Me.ScaleFactor2)
Z8 @, v) C3 ]; D: R/ B Me.Controls.Add(Me.Label8)5 E' g2 Y$ r: N b5 L9 R8 x2 K# {
Me.Controls.Add(Me.ScaleFactor1)* H ?! R E/ w" y% o# S/ T: e/ a
Me.Controls.Add(Me.Label7)
* K S: B- r% w' y5 u Me.Controls.Add(Me.HeightTextBox)- G R6 W# ?6 o6 ]
Me.Controls.Add(Me.Label6)
+ C9 D7 M% X7 Y9 C8 X C9 B Me.Controls.Add(Me.WidthTextBox). H! h k7 f# s* @& m6 X
Me.Controls.Add(Me.ComboBox1)# t3 W" d, ^; e0 f6 {; x
Me.Controls.Add(Me.PaperSizeComboBox)
; b; `! n% B1 R0 f* f* B Me.Controls.Add(Me.Label5)
! x+ c( ~* o9 v: _' e Me.Controls.Add(Me.Label4)8 ^ \3 _ |& X& k- [) Y; {
Me.Controls.Add(Me.Label3)
; n- r5 N( w3 ?# } C Me.Controls.Add(Me.Label2)
3 M) k7 c& _% _" W. j1 V; M6 D Me.Controls.Add(Me.Label1)
/ K' j ]& _0 {& G( v Me.Controls.Add(Me.Button3)
1 G2 z! V9 x" i; I+ S7 w Me.Controls.Add(Me.Button2)
7 T* H" y# W- l( O k4 a* m; l& i+ y Me.Controls.Add(Me.Button1)
$ _: N9 j8 J8 V% W) V* ]1 I( C6 x Me.Font = New System.Drawing.Font("宋体", 10.5!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(134, Byte))
+ S9 ]# f* s1 H; ?1 Z5 Q Me.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog
. c+ j2 R% W& j Me.MaximizeBox = False
( E# ]3 D+ Y! ]+ l8 U6 E0 v$ @ Me.MinimizeBox = False
# O% m$ ?5 M3 W- e/ a Me.Name = "Form1"' U0 K& k r, q8 u& L
Me.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen% h/ J. c Z: ~( P, q+ G
Me.Text = "工程图纸属性表单"5 q: Z1 n# u5 A9 x$ T
Me.ResumeLayout(False)
% H$ k+ J5 @+ K3 ~: E% ~3 P6 d6 S
: V+ F( h6 R: E. w End Sub |
|