|
发表于 2007-7-6 15:14:17
|
显示全部楼层
窗体的定义 'Button1
- c& c$ L7 Y' A# m3 K! { '$ y5 }2 X- n" [ E8 E* ~9 ~6 w- g
Me.Button1.Font = New System.Drawing.Font("宋体", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(134, Byte))) ?5 o! L$ T- l. C) Z; C
Me.Button1.Location = New System.Drawing.Point(96, 228) l& Y: E/ u) f6 \5 R' R, M8 j7 [
Me.Button1.Name = "Button1"
+ j; y" Q) w! X& { Me.Button1.TabIndex = 0
% _5 w! N2 ]' N Me.Button1.Text = "应 用"+ G3 y- R" ^& D X( W
'7 a$ i6 T- V3 o7 d: m0 @
'Button24 M& o& X0 r% b. L) [
'% s% q2 W9 i/ M$ `% _& R
Me.Button2.Font = New System.Drawing.Font("宋体", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(134, Byte))
' K" T& H2 R0 y. b. I' j) d Me.Button2.Location = New System.Drawing.Point(296, 228)
# l: X( r$ v- @$ x8 K* u Me.Button2.Name = "Button2"
i6 Z" s: _) _3 M! P Me.Button2.TabIndex = 1
2 I8 x3 ?: V E+ Y) O/ ? Me.Button2.Text = "退 出"* N4 V2 J2 Y e9 G( s& |
'
. D& v$ B! k5 l& |5 c 'Label1
* M6 `7 V- o# c( X }% h '0 h1 ~/ R. i J6 A
Me.Label1.Font = New System.Drawing.Font("黑体", 15.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(134, Byte))
8 P# _* [. g: I( M1 W3 ~/ ]3 q( T Me.Label1.Location = New System.Drawing.Point(141, 17)
8 O: w H0 k/ k Me.Label1.Name = "Label1"
! `- u. C! I _; `8 a2 B, w Me.Label1.Size = New System.Drawing.Size(184, 23)
0 z. c& l1 ~5 J. b7 c! b* Q6 l; K Me.Label1.TabIndex = 3* C+ _) s# o/ T" L, z+ c4 ~. m/ w
Me.Label1.Text = "工程图纸属性表单"
" h5 v/ E% `- M& B2 k1 P9 q Me.Label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter% w( Y6 {2 m. M, _4 E W
'
0 z9 D- ^% w7 f, p( n* ] 'Button3 b; m1 `. d2 |/ c! s
'
3 r/ F1 |* G4 p+ p9 H7 ] Me.Button3.Font = New System.Drawing.Font("宋体", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(134, Byte)), f w$ I. R7 w) }- d
Me.Button3.Location = New System.Drawing.Point(200, 228)
. P( Z2 f L! _1 T2 n Me.Button3.Name = "Button3"
5 y5 X# f7 V7 R. w1 Y4 C Me.Button3.TabIndex = 2; y; U7 W4 j1 f4 u
Me.Button3.Text = "重置") J$ @- v9 V/ b- s7 ]) [. G6 u
'
5 n9 d1 A; ^2 Q$ f' R9 Z 'Label23 t) E1 p1 F5 A
'
+ M4 l/ X: C: [4 v! C. _" K3 z Me.Label2.AutoSize = True0 V# t5 T6 \7 H& g& b- \
Me.Label2.Location = New System.Drawing.Point(31, 57)& |* S/ r# M2 g3 ^. U$ W4 p
Me.Label2.Name = "Label2"" h; W8 i- Q% Q6 x4 Y" [
Me.Label2.Size = New System.Drawing.Size(34, 19)% z& l5 n1 z- t. I7 m
Me.Label2.TabIndex = 4
: O+ O9 z& n, x* B" i+ ]: _. B Me.Label2.Text = "图幅"
: d# a2 n. T- g. e. C Me.Label2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft
% D& K+ Z, q' S2 Y; o( t '# V# R ^" z B' j9 K4 c7 ?
'Label3
: b" U, J, g1 H# C$ _ '
+ v: v% r/ n3 A Me.Label3.Location = New System.Drawing.Point(223, 57)
3 J7 P% t$ F+ Q+ v) A: W Me.Label3.Name = "Label3"1 k/ n! H( a3 ?
Me.Label3.Size = New System.Drawing.Size(34, 19)3 n0 J) L5 i2 J! W- G
Me.Label3.TabIndex = 5+ L# Y# R, t/ H( m, V
Me.Label3.Text = "图框"
7 s \2 S! b, i$ K! a0 A" v: J Me.Label3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft' }6 N% G& H9 l: y+ Z, l- a
'
- X9 a) R( o/ u* t2 J% [ 'Label4
/ j9 P; G8 G! ?( ^6 `1 } ': I1 M5 |/ Z7 n6 L/ g
Me.Label4.Location = New System.Drawing.Point(31, 101)6 f# [; Y. |7 B4 ?% l2 W4 f6 p6 c
Me.Label4.Name = "Label4"
# o+ W" ?( B9 C' P# s2 O Me.Label4.Size = New System.Drawing.Size(34, 19)
6 Q0 R: }) E! v7 y( d Me.Label4.TabIndex = 6. R& C* ^; Q: r
Me.Label4.Text = "尺寸"% h' Q9 n" C. O: B; ?
Me.Label4.TextAlign = System.Drawing.ContentAlignment.MiddleLeft
' {4 n4 m3 s! L2 h: Z# K { Y1 \ '
y2 W" Q. N5 T. g 'Label5
+ ~+ W- x$ a7 h '7 a9 M/ T7 u6 ]1 E4 ?: _
Me.Label5.Location = New System.Drawing.Point(31, 145)
! N' ]" G! G4 p0 a Me.Label5.Name = "Label5"
6 X, S& M4 ?! R& u Me.Label5.Size = New System.Drawing.Size(34, 19)
, o: b; x% E0 C Me.Label5.TabIndex = 7
: `6 J6 B/ x8 S( X: z Me.Label5.Text = "比例"3 ^& a5 z, O3 c( B6 A0 j3 V$ C
Me.Label5.TextAlign = System.Drawing.ContentAlignment.MiddleLeft$ a, [5 d2 l/ r, {
'9 k, T4 [+ y1 V0 F% C
'PaperSizeComboBox2 [+ Y' `9 Z5 P+ S: P. g
'
* ^4 A$ y0 f3 p y, V( L Me.PaperSizeComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList
+ \# d; s5 R4 M" m( B: D$ M) ^+ s Me.PaperSizeComboBox.Items.AddRange(New Object() {"A0", "A1", "A2", "A3", "A4", "自定义"})- ^9 @$ Z6 [ W8 b
Me.PaperSizeComboBox.Location = New System.Drawing.Point(87, 55)
' R& x. C- E5 _; R" [5 j1 A Me.PaperSizeComboBox.Name = "PaperSizeComboBox"
$ _- `, T# u! D# i* B& |' H Me.PaperSizeComboBox.Size = New System.Drawing.Size(121, 22)
( W) E0 z- P& |% D* } Me.PaperSizeComboBox.TabIndex = 8
" _0 ]8 S7 I! a$ a '
: b% o% X* k, u8 J: j- o% S 'ComboBox15 |; N/ G& r4 j8 S. q
'9 Y2 ?7 n* K3 i) m7 x8 Z
Me.ComboBox1.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList5 m( p2 M, d, x2 o( K! A
Me.ComboBox1.Location = New System.Drawing.Point(279, 57)& B! c+ e8 j5 h: `/ f; K# [
Me.ComboBox1.Name = "ComboBox1"
: v+ a/ A7 w; N$ z' v# P$ G9 U" ^ ?* J Me.ComboBox1.Size = New System.Drawing.Size(121, 22)
$ B+ |$ p* G9 r" [" P Me.ComboBox1.TabIndex = 9- f+ H4 {0 n9 M- ]* I* x/ u, T4 g
'. V- M* U% r5 @
'WidthTextBox
2 G s. s& ?4 b, T4 n+ Q '3 \$ y8 I3 F7 [1 j! f
Me.WidthTextBox.Location = New System.Drawing.Point(87, 99): g* V4 ~+ c' s- ]6 K/ ~1 ^. F* ~. E
Me.WidthTextBox.Name = "WidthTextBox") N% n/ v, c6 E1 o1 B
Me.WidthTextBox.Size = New System.Drawing.Size(121, 23)
9 q# M7 X, l! a& r, P' q Me.WidthTextBox.TabIndex = 107 [# |4 l, U' q3 o0 l. T
Me.WidthTextBox.Text = ""$ H3 G2 h$ u& D8 Q& X- ^% R6 _$ r2 i
'
. T9 d- ]4 j/ x- f 'Label6
/ s+ z& h. L: V '! {- \/ `8 n) M) }/ V; y0 Z
Me.Label6.AutoSize = True" O5 U# e+ G9 k/ k# S9 t2 |
Me.Label6.Location = New System.Drawing.Point(223, 101)
# m$ T f" P8 i6 T0 \ Me.Label6.Name = "Label6": W( e& T6 q# d/ J& U. i
Me.Label6.Size = New System.Drawing.Size(20, 19)* T' e& o) C8 X: Z9 a9 q' L3 |
Me.Label6.TabIndex = 11
- V8 Y8 C: O& h7 p Me.Label6.Text = "mm"
* B) r' `& U- Q, Y# l Me.Label6.TextAlign = System.Drawing.ContentAlignment.MiddleLeft7 p0 [" |/ `; h4 e5 Q
'+ a" u2 e/ d2 U3 D1 W K
'HeightTextBox
d. B3 w1 v) B9 U# `) u2 t '
: G5 k5 E8 A$ N6 V2 e% j" \ Me.HeightTextBox.Location = New System.Drawing.Point(279, 99)! j8 Y4 l: w/ B& v8 A/ E
Me.HeightTextBox.Name = "HeightTextBox"; y5 K& S9 t* S7 z1 p
Me.HeightTextBox.Size = New System.Drawing.Size(121, 23)
0 ]2 L: d: @9 @ Me.HeightTextBox.TabIndex = 12
6 J, X- X# K! m* X+ U+ [# B Me.HeightTextBox.Text = ""
# N$ Y1 o9 u6 Y, x '$ o- Y; N! Y& p) B; M
'Label73 A. W5 c) Q0 D7 S5 a" ~% L6 g
'
& v* D9 L6 o- ~. E Me.Label7.AutoSize = True
4 O! y0 D6 l: J3 G4 u/ L1 _ Me.Label7.Location = New System.Drawing.Point(415, 101)5 z0 t. r0 M. b! |6 A% y
Me.Label7.Name = "Label7"
6 T6 R! A7 n/ v ^+ u Me.Label7.Size = New System.Drawing.Size(20, 19)
V! b! s4 C3 s; M Me.Label7.TabIndex = 13
3 L: @4 z7 R4 E1 ? Me.Label7.Text = "mm"
* z/ p4 g8 L7 {: L# [ Me.Label7.TextAlign = System.Drawing.ContentAlignment.MiddleLeft
: ~' d# ?/ U; T: V* _& F9 J '
5 g5 n# \4 V- h: ?8 ]& b, q 'ScaleFactor13 E$ L+ M6 ~( Q' `
'
( m. P& _+ K% Y# I Me.ScaleFactor1.Location = New System.Drawing.Point(87, 145)
3 }& j5 |- l, m( G8 {( W Me.ScaleFactor1.Name = "ScaleFactor1"
' n- J+ N; h7 ]) I Z4 R* H6 V Me.ScaleFactor1.Size = New System.Drawing.Size(121, 23); \4 |7 Y) _: ?2 ]9 B2 [
Me.ScaleFactor1.TabIndex = 14% y7 Q! ]/ Z, P' i# t9 O
Me.ScaleFactor1.Text = ""' g. f& F( B* L6 V. Y! T* T
'
0 J; \' ^! u/ l 'Label87 N1 ^( E3 x6 b1 V7 e
'# y2 Z2 c1 o6 W, S) C+ ?
Me.Label8.AutoSize = True; p" b1 i7 C3 v9 r3 a
Me.Label8.Location = New System.Drawing.Point(239, 145)% L8 l; y1 R9 D: D" D9 I' p
Me.Label8.Name = "Label8"
" G$ o8 `* w5 I( ?' ~" ?8 ~ Me.Label8.Size = New System.Drawing.Size(12, 19)
( r% c" z! N9 V7 K, r Me.Label8.TabIndex = 15% x9 B" G' k3 j% ]1 A6 U4 G
Me.Label8.Text = ":"0 H) |3 N4 P/ _) R* r% L
Me.Label8.TextAlign = System.Drawing.ContentAlignment.MiddleLeft
; M7 o# ]0 A+ c8 ^0 s$ D/ X6 N '
/ @9 C ?. J3 F 'ScaleFactor2
& [( \4 j4 X7 M+ x4 W# y3 ~8 e '; d* b; K4 R0 t
Me.ScaleFactor2.Location = New System.Drawing.Point(279, 145)
* h3 M+ f" F& {3 E7 ?" e Me.ScaleFactor2.Name = "ScaleFactor2"* w% M' k; i- G, g
Me.ScaleFactor2.Size = New System.Drawing.Size(121, 23)+ }( ?8 u( p; G3 l
Me.ScaleFactor2.TabIndex = 16
( Q0 E' z7 D8 w5 c Me.ScaleFactor2.Text = ""
- L O9 |: f, K3 K7 e" | '; V$ p9 m. A: q
'Label9
' z' N' E( D2 G X3 n' Y& V '1 E& K% i. S$ o; N0 t
Me.Label9.AutoSize = True/ T% X8 }* e9 Z+ ^0 Z% o
Me.Label9.Font = New System.Drawing.Font("Verdana", 10.5!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))/ N0 v$ Z6 t2 A) {3 f) u* F
Me.Label9.Location = New System.Drawing.Point(255, 100)/ ?% X+ `% Z, z+ [
Me.Label9.Name = "Label9"
+ m! {7 ?' A0 p: [/ H Me.Label9.Size = New System.Drawing.Size(14, 21)
9 k% W8 z4 ?; i: U Me.Label9.TabIndex = 17 n6 ]4 T) X1 o9 R( ?
Me.Label9.Text = "x"
e8 g% c; Z, k L3 A- Z Me.Label9.TextAlign = System.Drawing.ContentAlignment.MiddleLeft+ i3 y! U6 c+ v
'% G$ e( O) ]3 [: e5 K! z% ?+ C9 X
'Label10. W9 l- w% e8 r6 }' f5 r
'! d& ?8 A" }+ P1 C2 C
Me.Label10.AutoSize = True
! o- r& P) a4 T+ D& E# I Me.Label10.ForeColor = System.Drawing.Color.Red
2 n+ v# |" Q' \ Me.Label10.Location = New System.Drawing.Point(32, 192)+ [( H5 h+ [6 i
Me.Label10.Name = "Label10"
& ]! y1 e+ o. E8 d Me.Label10.Size = New System.Drawing.Size(423, 19)1 F$ _1 ^' t( v- L9 t) {
Me.Label10.TabIndex = 18
; B- n0 N, C, X" n Me.Label10.Text = "注意:自定义图幅时需要自定义图页背景,然后再设置背景图框!"1 A' N3 B" P- V' {' R
Me.Label10.TextAlign = System.Drawing.ContentAlignment.MiddleLeft2 Z4 v0 F9 S: ]! n) r1 R
'/ J# `- `7 l7 q( `+ {$ L' G
'Form12 w3 f2 |9 ]% @! Y' Z& f
'" \7 M% E8 y6 i4 E
Me.AutoScale = False
" \; x) L. {* l0 a Me.AutoScaleBaseSize = New System.Drawing.Size(7, 16)
0 v( K5 }9 } A% v; U3 N Me.ClientSize = New System.Drawing.Size(466, 272)1 _8 D. o! u# w
Me.Controls.Add(Me.Label10)
& |% D2 |0 z6 ~' Z, c5 y& K0 f Me.Controls.Add(Me.Label9)
' H0 m4 y9 N" ~& D! X1 G- O Me.Controls.Add(Me.ScaleFactor2)4 ^# q2 Z/ L- e$ y) l- x! T5 Z
Me.Controls.Add(Me.Label8)+ W T$ A* s+ Y
Me.Controls.Add(Me.ScaleFactor1)6 z+ W: P( F7 q) V, U" S' Z
Me.Controls.Add(Me.Label7), H2 F9 M& j2 d9 u6 s( X* i6 O5 H
Me.Controls.Add(Me.HeightTextBox)" W2 [5 g1 F0 p# ?( _
Me.Controls.Add(Me.Label6)
o# l6 Q. \( l% a! ^% i( ` Me.Controls.Add(Me.WidthTextBox)
7 o" `, [9 s3 \% Z* b Me.Controls.Add(Me.ComboBox1)3 R: |7 ?( n" s
Me.Controls.Add(Me.PaperSizeComboBox)6 `( u' I( w1 U5 v/ t$ a
Me.Controls.Add(Me.Label5)5 _9 }8 O: d8 {7 E8 U
Me.Controls.Add(Me.Label4)+ v% }; m0 O. v8 m' a
Me.Controls.Add(Me.Label3)
# v4 S: f O* e4 |# z( b Me.Controls.Add(Me.Label2)
3 r/ g- o8 ]: h [ Me.Controls.Add(Me.Label1)
# E+ P1 M$ i2 G7 F+ Y. T3 L8 U) o Me.Controls.Add(Me.Button3)
" t8 K5 y* ^- U/ {, F Me.Controls.Add(Me.Button2)! W; n6 X1 y W
Me.Controls.Add(Me.Button1)
7 i' k* C6 i$ i Me.Font = New System.Drawing.Font("宋体", 10.5!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(134, Byte))
# u% T8 {/ h- W8 X Me.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog! t) H- N$ e p
Me.MaximizeBox = False+ g8 i8 v0 O8 o) M6 N% h
Me.MinimizeBox = False
' ~. b7 U! @$ Q# |0 p6 V Me.Name = "Form1"
) y: ~2 j- ^' ?8 X$ M5 }8 ^- | Me.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen" T5 X; u4 W% o6 N: `. O% g% a
Me.Text = "工程图纸属性表单"
( I# r9 g, r5 I' ] Me.ResumeLayout(False)
* ]7 ~3 X8 D$ H5 ]/ o& w9 y: L1 ~# e2 V) _( ^1 c
End Sub |
|