📄 frm_deviceinfo.vb
字号:
'Filename : DeviceInfoDlg.vb
'Part of : Phone Navigator VB.NET Application
'Description : Implements a dialog that represents all device specific information
'Version : 3.2
'This example is only to be used with PC Connectivity API version 3.2.
'Compability ("as is") with future versions is not quaranteed.
'Copyright (c) 2005-2007 Nokia Corporation.
'This material, including but not limited to documentation and any related
'computer programs, is protected by intellectual property rights of Nokia
'Corporation and/or its licensors.
'All rights are reserved. Reproducing, modifying, translating, or
'distributing any or all of this material requires the prior written consent
'of Nokia Corporation. Nokia Corporation retains the right to make changes
'to this material at any time without notice. A copyright license is hereby
'granted to download and print a copy of this material for personal use only.
'No other license to any other intellectual property rights is granted. The
'material is provided "as is" without warranty of any kind, either express or
'implied, including without limitation, any warranty of non-infringement,
'merchantability and fitness for a particular purpose. In no event shall
'Nokia Corporation be liable for any direct, indirect, special, incidental,
'or consequential loss or damages, including but not limited to, lost profits
'or revenue,loss of use, cost of substitute program, or loss of data or
'equipment arising out of the use or inability to use the material, even if
'Nokia Corporation has been advised of the likelihood of such damages occurring.
Imports System.Runtime.InteropServices
Public Class FRM_DeviceInfo
Inherits System.Windows.Forms.Form
Dim m_hDMHandle As Integer
Dim m_strSerial As String
#Region " Windows Form Designer generated code "
Public Sub New()
MyBase.New()
'This call is required by the Windows Form Designer.
InitializeComponent()
'Add any initialization after the InitializeComponent() call
End Sub
'Form overrides dispose to clean up the component list.
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
'Required by the Windows Form Designer
Private components As System.ComponentModel.IContainer
'NOTE: The following procedure is required by the Windows Form Designer
'It can be modified using the Windows Form Designer.
'Do not modify it using the code editor.
Friend WithEvents groupBoxSync As System.Windows.Forms.GroupBox
Friend WithEvents labelCIDS As System.Windows.Forms.Label
Friend WithEvents labelSADM As System.Windows.Forms.Label
Friend WithEvents labelSyncSupport As System.Windows.Forms.Label
Friend WithEvents labelSADS As System.Windows.Forms.Label
Friend WithEvents buttonClose As System.Windows.Forms.Button
Friend WithEvents groupBoxGen As System.Windows.Forms.GroupBox
Friend WithEvents labelLang As System.Windows.Forms.Label
Friend WithEvents labelVersion As System.Windows.Forms.Label
Friend WithEvents labelName As System.Windows.Forms.Label
Friend WithEvents groupBoxType As System.Windows.Forms.GroupBox
Friend WithEvents labelS80 As System.Windows.Forms.Label
Friend WithEvents labelS603ed As System.Windows.Forms.Label
Friend WithEvents labelS602ed As System.Windows.Forms.Label
Friend WithEvents labelS40 As System.Windows.Forms.Label
Friend WithEvents labelUnknown As System.Windows.Forms.Label
Friend WithEvents groupBoxFS As System.Windows.Forms.GroupBox
Friend WithEvents labelConversion As System.Windows.Forms.Label
Friend WithEvents labelSIS As System.Windows.Forms.Label
Friend WithEvents labelJava As System.Windows.Forms.Label
Friend WithEvents labelFSSupport As System.Windows.Forms.Label
<System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
Dim resources As System.ComponentModel.ComponentResourceManager = New System.ComponentModel.ComponentResourceManager(GetType(FRM_DeviceInfo))
Me.groupBoxSync = New System.Windows.Forms.GroupBox
Me.labelCIDS = New System.Windows.Forms.Label
Me.labelSADM = New System.Windows.Forms.Label
Me.labelSyncSupport = New System.Windows.Forms.Label
Me.labelSADS = New System.Windows.Forms.Label
Me.buttonClose = New System.Windows.Forms.Button
Me.groupBoxGen = New System.Windows.Forms.GroupBox
Me.labelLang = New System.Windows.Forms.Label
Me.labelVersion = New System.Windows.Forms.Label
Me.labelName = New System.Windows.Forms.Label
Me.groupBoxType = New System.Windows.Forms.GroupBox
Me.labelS80 = New System.Windows.Forms.Label
Me.labelS603ed = New System.Windows.Forms.Label
Me.labelS602ed = New System.Windows.Forms.Label
Me.labelS40 = New System.Windows.Forms.Label
Me.labelUnknown = New System.Windows.Forms.Label
Me.groupBoxFS = New System.Windows.Forms.GroupBox
Me.labelConversion = New System.Windows.Forms.Label
Me.labelSIS = New System.Windows.Forms.Label
Me.labelJava = New System.Windows.Forms.Label
Me.labelFSSupport = New System.Windows.Forms.Label
Me.groupBoxSync.SuspendLayout()
Me.groupBoxGen.SuspendLayout()
Me.groupBoxType.SuspendLayout()
Me.groupBoxFS.SuspendLayout()
Me.SuspendLayout()
'
'groupBoxSync
'
Me.groupBoxSync.Controls.Add(Me.labelCIDS)
Me.groupBoxSync.Controls.Add(Me.labelSADM)
Me.groupBoxSync.Controls.Add(Me.labelSyncSupport)
Me.groupBoxSync.Controls.Add(Me.labelSADS)
Me.groupBoxSync.Location = New System.Drawing.Point(352, 131)
Me.groupBoxSync.Name = "groupBoxSync"
Me.groupBoxSync.Size = New System.Drawing.Size(336, 119)
Me.groupBoxSync.TabIndex = 12
Me.groupBoxSync.TabStop = False
Me.groupBoxSync.Text = "Syncronization Support"
'
'labelCIDS
'
Me.labelCIDS.Enabled = False
Me.labelCIDS.ImageAlign = System.Drawing.ContentAlignment.MiddleRight
Me.labelCIDS.Location = New System.Drawing.Point(16, 73)
Me.labelCIDS.Name = "labelCIDS"
Me.labelCIDS.Size = New System.Drawing.Size(312, 16)
Me.labelCIDS.TabIndex = 3
Me.labelCIDS.Text = "Device supports Client Initiated (CI) Data Syncronization"
'
'labelSADM
'
Me.labelSADM.Enabled = False
Me.labelSADM.ImageAlign = System.Drawing.ContentAlignment.MiddleRight
Me.labelSADM.Location = New System.Drawing.Point(16, 54)
Me.labelSADM.Name = "labelSADM"
Me.labelSADM.Size = New System.Drawing.Size(312, 16)
Me.labelSADM.TabIndex = 2
Me.labelSADM.Text = "Device supports Server Alerted (SA) Device Management"
'
'labelSyncSupport
'
Me.labelSyncSupport.ImageAlign = System.Drawing.ContentAlignment.MiddleRight
Me.labelSyncSupport.Location = New System.Drawing.Point(16, 16)
Me.labelSyncSupport.Name = "labelSyncSupport"
Me.labelSyncSupport.Size = New System.Drawing.Size(312, 16)
Me.labelSyncSupport.TabIndex = 0
'
'labelSADS
'
Me.labelSADS.Enabled = False
Me.labelSADS.ImageAlign = System.Drawing.ContentAlignment.MiddleRight
Me.labelSADS.Location = New System.Drawing.Point(16, 35)
Me.labelSADS.Name = "labelSADS"
Me.labelSADS.Size = New System.Drawing.Size(312, 16)
Me.labelSADS.TabIndex = 1
Me.labelSADS.Text = "Device supports Server Alerted (SA) Data Syncronization"
'
'buttonClose
'
Me.buttonClose.DialogResult = System.Windows.Forms.DialogResult.Cancel
Me.buttonClose.Location = New System.Drawing.Point(616, 259)
Me.buttonClose.Name = "buttonClose"
Me.buttonClose.Size = New System.Drawing.Size(75, 23)
Me.buttonClose.TabIndex = 13
Me.buttonClose.Text = "Close"
'
'groupBoxGen
'
Me.groupBoxGen.Controls.Add(Me.labelLang)
Me.groupBoxGen.Controls.Add(Me.labelVersion)
Me.groupBoxGen.Controls.Add(Me.labelName)
Me.groupBoxGen.Location = New System.Drawing.Point(8, 8)
Me.groupBoxGen.Name = "groupBoxGen"
Me.groupBoxGen.Size = New System.Drawing.Size(336, 119)
Me.groupBoxGen.TabIndex = 9
Me.groupBoxGen.TabStop = False
Me.groupBoxGen.Text = "General"
'
'labelLang
'
Me.labelLang.Enabled = False
Me.labelLang.ImageAlign = System.Drawing.ContentAlignment.MiddleRight
Me.labelLang.Location = New System.Drawing.Point(16, 54)
Me.labelLang.Name = "labelLang"
Me.labelLang.Size = New System.Drawing.Size(312, 18)
Me.labelLang.TabIndex = 2
Me.labelLang.Text = "Used Language: "
'
'labelVersion
'
Me.labelVersion.Enabled = False
Me.labelVersion.ImageAlign = System.Drawing.ContentAlignment.MiddleRight
Me.labelVersion.Location = New System.Drawing.Point(16, 35)
Me.labelVersion.Name = "labelVersion"
Me.labelVersion.Size = New System.Drawing.Size(312, 16)
Me.labelVersion.TabIndex = 1
Me.labelVersion.Text = "Software Version: "
'
'labelName
'
Me.labelName.Enabled = False
Me.labelName.ImageAlign = System.Drawing.ContentAlignment.MiddleRight
Me.labelName.Location = New System.Drawing.Point(16, 16)
Me.labelName.Name = "labelName"
Me.labelName.Size = New System.Drawing.Size(312, 16)
Me.labelName.TabIndex = 0
Me.labelName.Text = "Device Type Name: "
'
'groupBoxType
'
Me.groupBoxType.Controls.Add(Me.labelS80)
Me.groupBoxType.Controls.Add(Me.labelS603ed)
Me.groupBoxType.Controls.Add(Me.labelS602ed)
Me.groupBoxType.Controls.Add(Me.labelS40)
Me.groupBoxType.Controls.Add(Me.labelUnknown)
Me.groupBoxType.Location = New System.Drawing.Point(352, 8)
Me.groupBoxType.Name = "groupBoxType"
Me.groupBoxType.Size = New System.Drawing.Size(336, 119)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -