📄 form1.vb
字号:
Public Class Form1
Inherits System.Windows.Forms.Form
#Region " Windows 窗体设计器生成的代码 "
Public Sub New()
MyBase.New()
'该调用是 Windows 窗体设计器所必需的。
InitializeComponent()
'在 InitializeComponent() 调用之后添加任何初始化
End Sub
'窗体重写 dispose 以清理组件列表。
Protected Overloads Overrides Sub Dispose(ByVal disposing As Boolean)
If disposing Then
If Not (components Is Nothing) Then
components.Dispose()
End If
End If
MyBase.Dispose(disposing)
End Sub
'Windows 窗体设计器所必需的
Private components As System.ComponentModel.IContainer
'注意: 以下过程是 Windows 窗体设计器所必需的
'可以使用 Windows 窗体设计器修改此过程。
'不要使用代码编辑器修改它。
Friend WithEvents Axvgctrl1 As Axvgctrl40.Axvgctrl
Friend WithEvents OpenFileDialog1 As System.Windows.Forms.OpenFileDialog
Friend WithEvents SaveFileDialog1 As System.Windows.Forms.SaveFileDialog
Friend WithEvents Button4 As System.Windows.Forms.Button
Friend WithEvents TextBox1 As System.Windows.Forms.TextBox
Friend WithEvents Button3 As System.Windows.Forms.Button
Friend WithEvents Button2 As System.Windows.Forms.Button
Friend WithEvents Button1 As System.Windows.Forms.Button
Friend WithEvents AxvgInspector1 As Axvgctrl40.AxvgInspector
<System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
Dim resources As System.Resources.ResourceManager = New System.Resources.ResourceManager(GetType(Form1))
Me.Axvgctrl1 = New Axvgctrl40.Axvgctrl
Me.OpenFileDialog1 = New System.Windows.Forms.OpenFileDialog
Me.SaveFileDialog1 = New System.Windows.Forms.SaveFileDialog
Me.Button4 = New System.Windows.Forms.Button
Me.TextBox1 = New System.Windows.Forms.TextBox
Me.Button3 = New System.Windows.Forms.Button
Me.Button2 = New System.Windows.Forms.Button
Me.Button1 = New System.Windows.Forms.Button
Me.AxvgInspector1 = New Axvgctrl40.AxvgInspector
CType(Me.Axvgctrl1, System.ComponentModel.ISupportInitialize).BeginInit()
CType(Me.AxvgInspector1, System.ComponentModel.ISupportInitialize).BeginInit()
Me.SuspendLayout()
'
'Axvgctrl1
'
Me.Axvgctrl1.Enabled = True
Me.Axvgctrl1.Location = New System.Drawing.Point(8, 8)
Me.Axvgctrl1.Name = "Axvgctrl1"
Me.Axvgctrl1.OcxState = CType(resources.GetObject("Axvgctrl1.OcxState"), System.Windows.Forms.AxHost.State)
Me.Axvgctrl1.Size = New System.Drawing.Size(496, 520)
Me.Axvgctrl1.TabIndex = 0
'
'Button4
'
Me.Button4.Location = New System.Drawing.Point(512, 104)
Me.Button4.Name = "Button4"
Me.Button4.Size = New System.Drawing.Size(192, 24)
Me.Button4.TabIndex = 12
Me.Button4.Text = "图形写入内存"
'
'TextBox1
'
Me.TextBox1.Location = New System.Drawing.Point(512, 176)
Me.TextBox1.Multiline = True
Me.TextBox1.Name = "TextBox1"
Me.TextBox1.Size = New System.Drawing.Size(91, 96)
Me.TextBox1.TabIndex = 11
Me.TextBox1.Text = "<?xml version=""1.0"" encoding=""gb2312""?>" & Microsoft.VisualBasic.ChrW(13) & Microsoft.VisualBasic.ChrW(10) & "<vg version=""452"" gridsize=""10"" range=""-" & _
"2,-25,924,631"" windowstate=""1"" backcolor=""$FFFFFF"" frontcolor=""$0"" pattern=""1"">" & Microsoft.VisualBasic.ChrW(13) & Microsoft.VisualBasic.ChrW(10) & "<page name=""打印纸"" bounds=""0,0,827,1169"" visible=""false"" margin=""100,100,100,100""" & _
" paperwidth=""2570"" paperheight=""1820"" orientation=""2""/>" & Microsoft.VisualBasic.ChrW(13) & Microsoft.VisualBasic.ChrW(10) & "<sheet name=""Sheet1"" bo" & _
"unds=""25,15,908,607"">" & Microsoft.VisualBasic.ChrW(13) & Microsoft.VisualBasic.ChrW(10) & "<elliment name=""图标1"" bounds=""318,552,908,607"">" & Microsoft.VisualBasic.ChrW(13) & Microsoft.VisualBasic.ChrW(10) & "<text nam" & _
"e=""Text1"" bounds=""318,552,578,577"" pattern=""1"" fontname=""宋体"" fontsize=""14"" numbe" & _
"rdigital=""2"" text=""地理接线图""/>" & Microsoft.VisualBasic.ChrW(13) & Microsoft.VisualBasic.ChrW(10) & "<text name=""Text2"" bounds=""578,552,908,577"" pattern" & _
"=""1"" fontname=""宋体"" fontsize=""14"" numberdigital=""2"" text=""Power GIS for Windows98" & _
"/NT""/>" & Microsoft.VisualBasic.ChrW(13) & Microsoft.VisualBasic.ChrW(10) & "<text name=""Text3"" bounds=""318,577,428,607"" pattern=""1"" fontname=""宋体"" fo" & _
"ntsize=""14"" numberdigital=""2"" text=""尺寸:A4纵""/>" & Microsoft.VisualBasic.ChrW(13) & Microsoft.VisualBasic.ChrW(10) & "<text name=""Text4"" bounds=""428,57" & _
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -