diff --git a/Controller.vb b/Controller.vb index d8d7a83..458d7d7 100644 --- a/Controller.vb +++ b/Controller.vb @@ -97,6 +97,7 @@ Public Class Controller EXTRUDE REVOLVE SCREW + SWEPT RULED MERGESURF EXPLODESURF @@ -123,6 +124,7 @@ Public Class Controller SCALE SCALE3D OFFSET + SELECTGROUP End Enum Public Enum GRID_TYPE As Integer NONE = 0 @@ -1185,6 +1187,9 @@ Public Class Controller ' Revolve Plus Case CMD.SCREW Return ProcessScrew() + ' Swept + Case CMD.SWEPT + Return ProcessSwept() ' Ruled Case CMD.RULED Return ProcessRuled() @@ -1263,6 +1268,9 @@ Public Class Controller ' Offset Case CMD.OFFSET Return ProcessOffset() + ' Selezione gruppo + case CMD.SELECTGROUP + Return ProcessSelectGroup() End Select Return False End Function @@ -1322,6 +1330,10 @@ Public Class Controller DragRevolve() Case CMD.SCREW DragScrew() + Case CMD.SWEPT + DragSwept() + Case CMD.RULED + DragRuled() Case CMD.TRIMEXTENDCURVE DragExtendCurve() Case CMD.SETCURVETHICKNESS @@ -1658,6 +1670,12 @@ Public Class Controller End If Dim nId As Integer = EgtGetLastSelectedObj() Select Case EgtGetType(nId) + Case GDB_TY.GROUP + Dim frNew As New Frame3d + If Not EgtFrame(nId, GDB_ID.ROOT, frNew) Then Return False + EnableCommandLog() + EgtSetGridFrame(frNew) + DisableCommandLog() Case GDB_TY.GEO_POINT Dim ptOrig As Point3d If Not EgtStartPoint(nId, GDB_ID.ROOT, ptOrig) Then Return False @@ -1825,6 +1843,19 @@ Public Class Controller Return True End Function + Private Function ProcessSelectGroup() As Boolean + If m_nStep <> 0 Then Return False + ' Lo seleziono + EnableCommandLog() + Dim bOk As Boolean = EgtSelectObj(m_nLast) + DisableCommandLog() + If Not bOk Then Return False + ' Aggiorno visualizzazione + RaiseEvent UpdateUI(Me, False) + EgtDraw() + Return True + End Function + Private Function ProcessSelectPartLayerObj() As Boolean If m_nStep <> 0 Then Return False @@ -2338,6 +2369,7 @@ Public Class Controller m_ptP1 = m_ptLast m_sepP1 = m_sepLast m_nIdP1 = m_nIdLast + m_ptCont = m_ptLast m_nStep = 2 m_Scene.EnableDrag() RaiseEvent PrepareInputBox("LINE 2P", "Insert End Point ", "", False, True) @@ -2910,6 +2942,7 @@ Public Class Controller m_ptP1 = m_ptLast m_vtLast = m_vtCont m_dAux = LEN_STD + m_ptCont = m_ptLast m_Scene.SetStatusSelPoint(False) m_nStep = 2 m_Scene.DisableDrag() @@ -3882,28 +3915,100 @@ Public Class Controller End If End Sub - Private Function ProcessRuled() As Boolean - If m_nStep <> 0 Then + Private Function ProcessSwept() As Boolean + Select Case m_nStep + Case 0 + ' deve esistere un gruppo corrente e devo poter creare il gruppo di drag + If GetCurrLayer() = GDB_ID.NULL Or Not m_Scene.CreateDragGroup() Then Return False + ' imposto nuovo stato + m_nStep = 1 + ' abilito dialogo + RaiseEvent PrepareInputBox("SWEPT", "", "CapEnds", False, True) + RaiseEvent SetInputBoxCheck(m_bLastExtrudeCheck) + m_nInpType = IBT.TY_NULL + ' anteprima + EgtDisableModified() + DragSwept() + EgtEnableModified() + Case 1 + ' creo la superficie swept (a partire da due contorni selezionati) + EnableCommandLog() + Dim nGuideId As Integer = EgtGetLastSelectedObj() + Dim nSectId As Integer = EgtGetPrevSelectedObj() + EgtCreateSurfTmSwept(GetCurrLayer(), nSectId, nGuideId, m_bLast, m_dEpsStm) + DisableCommandLog() + ' reset stato scena + m_Scene.ResetStatus() + ' reset stato + m_nStep = 0 + RaiseEvent UpdateUI(Me, True) + Case Else + m_nStep = 0 Return False - End If - ' posso partire solo se esiste un gruppo corrente - If GetCurrLayer() = GDB_ID.NULL Then - Return False - End If - ' creo la superficie rigata (a partire da due contorni selezionati) - EnableCommandLog() - Dim nLastId As Integer = EgtGetLastSelectedObj() - Dim nPrevId As Integer = EgtGetPrevSelectedObj() - EgtCreateSurfTmRuled(GetCurrLayer(), nPrevId, nLastId, m_dEpsStm) - DisableCommandLog() - ' reset stato scena - m_Scene.ResetStatus() - ' reset stato - m_nStep = 0 - RaiseEvent UpdateUI(Me, True) + End Select Return True End Function + Private Sub DragSwept() + If m_nStep = 1 Then + ' cancello eventuale vecchia superficie di swept + EgtEmptyGroup(m_Scene.GetDragGroup()) + ' creo la superficie di swept (a partire dai contorni selezionati) + Dim nGuideId As Integer = EgtGetLastSelectedObj() + Dim nSectId As Integer = EgtGetPrevSelectedObj() + ' eseguo + EgtCreateSurfTmSwept(m_Scene.GetDragGroup(), nSectId, nGuideId, m_bLast, EPS_STM_DRAG) + EgtDraw() + End If + End Sub + + Private Function ProcessRuled() As Boolean + Select Case m_nStep + Case 0 + ' deve esistere un gruppo corrente e devo poter creare il gruppo di drag + If GetCurrLayer() = GDB_ID.NULL Or Not m_Scene.CreateDragGroup() Then Return False + ' imposto nuovo stato + m_nStep = 1 + ' abilito dialogo + RaiseEvent PrepareInputBox("RULED", "", "MinDist", False, True) + RaiseEvent SetInputBoxCheck(m_bLastExtrudeCheck) + m_nInpType = IBT.TY_NULL + ' anteprima + EgtDisableModified() + DragRuled() + EgtEnableModified() + Case 1 + ' creo la superficie rigata (a partire da due contorni selezionati) + EnableCommandLog() + Dim nLastId As Integer = EgtGetLastSelectedObj() + Dim nPrevId As Integer = EgtGetPrevSelectedObj() + EgtCreateSurfTmRuled(GetCurrLayer(), nPrevId, nLastId, If( m_bLast, RUL_TYPE.MINDIST, RUL_TYPE.ISOPAR), m_dEpsStm) + DisableCommandLog() + ' reset stato scena + m_Scene.ResetStatus() + ' reset stato + m_nStep = 0 + RaiseEvent UpdateUI(Me, True) + Case Else + m_nStep = 0 + Return False + End Select + Return True + End Function + + Private Sub DragRuled() + If m_nStep = 1 Then + ' cancello eventuale vecchia superficie rigata + EgtEmptyGroup(m_Scene.GetDragGroup()) + ' creo la superficie rigatat (a partire dai contorni selezionati) + Dim nGuideId As Integer = EgtGetLastSelectedObj() + Dim nSectId As Integer = EgtGetPrevSelectedObj() + ' eseguo + EgtCreateSurfTmRuled(m_Scene.GetDragGroup(), nSectId, nGuideId, If( m_bLast, RUL_TYPE.MINDIST, RUL_TYPE.ISOPAR), EPS_STM_DRAG) + EgtDraw() + End If + End Sub + Private Function ProcessMergeSurf() As Boolean If m_nStep <> 0 Then Return False diff --git a/EgtInterface.vb b/EgtInterface.vb index 1a52498..b65b1f9 100644 --- a/EgtInterface.vb +++ b/EgtInterface.vb @@ -1109,6 +1109,34 @@ Public Function EgtGetKeyOptions(nProd As Integer, nVer As Integer, nLev As Inte End If End Function + +Private Function EgtGetKeyLeftDays_32(ByRef nLeftDays As Integer) As Boolean +End Function + +Private Function EgtGetKeyLeftDays_64(ByRef nLeftDays As Integer) As Boolean +End Function +Public Function EgtGetKeyLeftDays(ByRef nLeftDays As Integer) As Boolean + If IntPtr.Size = 4 Then + Return EgtGetKeyLeftDays_32(nLeftDays) + Else + Return EgtGetKeyLeftDays_64(nLeftDays) + End If +End Function + + +Private Function EgtGetKeyOptLeftDays_32(ByRef nOptLeftDays As Integer) As Boolean +End Function + +Private Function EgtGetKeyOptLeftDays_64(ByRef nOptLeftDays As Integer) As Boolean +End Function +Public Function EgtGetKeyOptLeftDays(ByRef nOptLeftDays As Integer) As Boolean + If IntPtr.Size = 4 Then + Return EgtGetKeyOptLeftDays_32(nOptLeftDays) + Else + Return EgtGetKeyOptLeftDays_64(nOptLeftDays) + End If +End Function + Private Function EgtGetOsInfo_32(ByRef psOsInfo As IntPtr) As Boolean End Function @@ -1289,6 +1317,43 @@ Public Function EgtSetMainWindowHandle(hMainWnd As IntPtr) As Boolean End If End Function + +Private Function EgtGetStringUtf8FromIni_32(sSec As String, sKey As String, sDef As String, ByRef sVal As IntPtr, sIniFile As String) As Boolean +End Function + +Private Function EgtGetStringUtf8FromIni_64(sSec As String, sKey As String, sDef As String, ByRef sVal As IntPtr, sIniFile As String) As Boolean +End Function +Public Function EgtGetStringUtf8FromIni(sSec As String, sKey As String, sDef As String, ByRef sVal As String, sIniFile As String) As Boolean + Dim psVal As IntPtr + Dim bOk As Boolean + If IntPtr.Size = 4 Then + bOk = EgtGetStringUtf8FromIni_32(sSec, sKey, sDef, psVal, sIniFile) + Else + bOk = EgtGetStringUtf8FromIni_64(sSec, sKey, sDef, psVal, sIniFile) + End If + If bOk Then + sVal = Marshal.PtrToStringUni(psVal) + EgtFreeMemory(psVal) + Else + sVal = String.Empty + End If + Return bOk +End Function + + +Private Function EgtWriteStringUtf8toIni_32(sSec As String, sKey As String, sVal As String, sIniFile As String) As Boolean +End Function + +Private Function EgtWriteStringUtf8toIni_64(sSec As String, sKey As String, sVal As String, sIniFile As String) As Boolean +End Function +Public Function EgtWriteStringUtf8toIni(sSec As String, sKey As String, sVal As String, sIniFile As String) As Boolean + If IntPtr.Size = 4 Then + Return EgtWriteStringUtf8toIni_32(sSec, sKey, sVal, sIniFile) + Else + Return EgtWriteStringUtf8toIni_64(sSec, sKey, sVal, sIniFile) + End If +End Function + '---------- UiUnits ------------------------------------------------------------ @@ -2401,6 +2466,23 @@ Public Function EgtCreateCircleCPEx(nParentId As Integer, ByRef PtCen As Point3d End If End Function + +Private Function EgtCreateArc_32(nParentId As Integer, ByRef PtCen As Point3d, dRad As Double, + dAngIniDeg As Double, dAngCenDeg As Double, dDeltaN As Double, Optional nRefType As GDB_RT = GDB_RT.LOC) As Integer +End Function + +Private Function EgtCreateArc_64(nParentId As Integer, ByRef PtCen As Point3d, dRad As Double, + dAngIniDeg As Double, dAngCenDeg As Double, dDeltaN As Double, Optional nRefType As GDB_RT = GDB_RT.LOC) As Integer +End Function +Public Function EgtCreateArc(nParentId As Integer, ByRef PtCen As Point3d, dRad As Double, + dAngIniDeg As Double, dAngCenDeg As Double, dDeltaN As Double, Optional nRefType As GDB_RT = GDB_RT.LOC) As Integer + If IntPtr.Size = 4 Then + Return EgtCreateArc_32(nParentId, PtCen, dRad, dAngIniDeg, dAngCenDeg, dDeltaN, nRefType) + Else + Return EgtCreateArc_64(nParentId, PtCen, dRad, dAngIniDeg, dAngCenDeg, dDeltaN, nRefType) + End If +End Function + Private Function EgtCreateArc3P_32(nParentId As Integer, ByRef PtStart As Point3d, ByRef PtMid As Point3d, ByRef PtEnd As Point3d, Optional nRefType As GDB_RT = GDB_RT.LOC) As Integer @@ -2904,17 +2986,31 @@ Public Function EgtCreateSurfTmByScrewing(nParentId As Integer, nCrvId As Intege End If End Function + +Private Function EgtCreateSurfTmSwept_32(nParentId As Integer, nSectId As Integer, nGuideId As Integer, bCapEnds As Boolean, dLinTol As Double) As Integer +End Function + +Private Function EgtCreateSurfTmSwept_64(nParentId As Integer, nSectId As Integer, nGuideId As Integer, bCapEnds As Boolean, dLinTol As Double) As Integer +End Function +Public Function EgtCreateSurfTmSwept(nParentId As Integer, nSectId As Integer, nGuideId As Integer, bCapEnds As Boolean, dLinTol As Double) As Integer + If IntPtr.Size = 4 Then + Return EgtCreateSurfTmSwept_32(nParentId, nSectId, nGuideId, bCapEnds, dLinTol) + Else + Return EgtCreateSurfTmSwept_64(nParentId, nSectId, nGuideId, bCapEnds, dLinTol) + End If +End Function + -Private Function EgtCreateSurfTmRuled_32(nParentId As Integer, nCrvId1 As Integer, nCrvId2 As Integer, dLinTol As Double) As Integer +Private Function EgtCreateSurfTmRuled_32(nParentId As Integer, nCrvId1 As Integer, nCrvId2 As Integer, nType As Integer, dLinTol As Double) As Integer End Function -Private Function EgtCreateSurfTmRuled_64(nParentId As Integer, nCrvId1 As Integer, nCrvId2 As Integer, dLinTol As Double) As Integer +Private Function EgtCreateSurfTmRuled_64(nParentId As Integer, nCrvId1 As Integer, nCrvId2 As Integer, nType As Integer, dLinTol As Double) As Integer End Function -Public Function EgtCreateSurfTmRuled(nParentId As Integer, nCrvId1 As Integer, nCrvId2 As Integer, dLinTol As Double) As Integer +Public Function EgtCreateSurfTmRuled(nParentId As Integer, nCrvId1 As Integer, nCrvId2 As Integer, nType As Integer, dLinTol As Double) As Integer If IntPtr.Size = 4 Then - Return EgtCreateSurfTmRuled_32(nParentId, nCrvId1, nCrvId2, dLinTol) + Return EgtCreateSurfTmRuled_32(nParentId, nCrvId1, nCrvId2, nType, dLinTol) Else - Return EgtCreateSurfTmRuled_64(nParentId, nCrvId1, nCrvId2, dLinTol) + Return EgtCreateSurfTmRuled_64(nParentId, nCrvId1, nCrvId2, nType, dLinTol) End If End Function @@ -6519,6 +6615,23 @@ End Function '---------- Nestings ----------------------------------------------------------- + +Private Function EgtCreateAdjustFlatParts_32(nType As Integer, dToler As Double) As Boolean +End Function + +Private Function EgtCreateAdjustFlatParts_64(nType As Integer, dToler As Double) As Boolean +End Function +Public Function EgtCreateAdjustFlatParts(nType As Integer, dToler As Double) As Boolean + If IntPtr.Size = 4 Then + Return EgtCreateAdjustFlatParts_32(nType, dToler) + Else + Return EgtCreateAdjustFlatParts_64(nType, dToler) + End If +End Function +Public Function EgtCreateAdjustFlatParts(nType As Integer) As Boolean + Return EgtCreateAdjustFlatParts(nType, 0.1) +End Function + Private Function EgtCreateFlatParts_32(nType As Integer, dToler As Double) As Boolean End Function @@ -6536,6 +6649,34 @@ Public Function EgtCreateFlatParts(nType As Integer) As Boolean Return EgtCreateFlatParts(nType, 0.10000000000000001) End Function + +Private Function EgtAdjustFlatParts_32() As Boolean +End Function + +Private Function EgtAdjustFlatParts_64() As Boolean +End Function +Public Function EgtAdjustFlatParts() As Boolean + If IntPtr.Size = 4 Then + Return EgtAdjustFlatParts_32() + Else + Return EgtAdjustFlatParts_64() + End If +End Function + + +Private Function EgtAdjustFlatPart_32(nPartId As Integer) As Boolean +End Function + +Private Function EgtAdjustFlatPart_64(nPartId As Integer) As Boolean +End Function +Public Function EgtAdjustFlatPart(nPartId As Integer) As Boolean + If IntPtr.Size = 4 Then + Return EgtAdjustFlatPart_32(nPartId) + Else + Return EgtAdjustFlatPart_64(nPartId) + End If +End Function + Private Function EgtAdjustFlatPartLayer_32(nLayerId As Integer) As Boolean End Function @@ -12164,6 +12305,11 @@ Public Enum SLI_TYPE As Integer TG_FIN = 4 TOUCH = 5 End Enum +'Costanti : tipo di costruzione di superficie rigata +Public Enum RUL_TYPE As Integer + ISOPAR = 0 + MINDIST = 1 +End Enum 'Costanti : flag per import CNC (sommabili tra loro) Public Enum EIC_FL As Integer NONE = 0 @@ -12640,7 +12786,8 @@ Public Enum MCH_SIM As Integer STOP_ = 3 OUTSTROKE = 4 DIR_ERR = 5 - ERR = 6 + COLLISION = 6 + ERR = 7 End Enum 'Costanti : stato di simulazione Public Enum MCH_SIM_ST As Integer diff --git a/Form1.Designer.vb b/Form1.Designer.vb index 7f9c840..c0d92ee 100644 --- a/Form1.Designer.vb +++ b/Form1.Designer.vb @@ -187,37 +187,38 @@ Partial Class Form1 Me.MruSFile6 = New System.Windows.Forms.ToolStripMenuItem() Me.MruSFile7 = New System.Windows.Forms.ToolStripMenuItem() Me.MruSFile8 = New System.Windows.Forms.ToolStripMenuItem() - Me.TableLayoutPanel1.SuspendLayout() - Me.TabControl1.SuspendLayout() - Me.TabFile.SuspendLayout() - CType(Me.PictureBox1, System.ComponentModel.ISupportInitialize).BeginInit() - Me.TabView.SuspendLayout() - CType(Me.PictureBox5, System.ComponentModel.ISupportInitialize).BeginInit() - CType(Me.PictureBox4, System.ComponentModel.ISupportInitialize).BeginInit() - CType(Me.PictureBox3, System.ComponentModel.ISupportInitialize).BeginInit() - Me.TabCPlane.SuspendLayout() - CType(Me.PictureBox2, System.ComponentModel.ISupportInitialize).BeginInit() - Me.TableLayoutPanel3.SuspendLayout() - Me.Panel1.SuspendLayout() - Me.InputBox.SuspendLayout() - Me.TabControl2.SuspendLayout() - Me.TabDraw.SuspendLayout() - Me.TabConstruct.SuspendLayout() - Me.TabEdit.SuspendLayout() - Me.TabTransform.SuspendLayout() - Me.TabSpecial.SuspendLayout() - Me.StatusStrip1.SuspendLayout() - Me.ContextMenuTreeView1.SuspendLayout() - Me.ContextMenuMruFiles.SuspendLayout() - Me.ContextMenuMruScripts.SuspendLayout() - Me.SuspendLayout() + Me.btnSwept = New System.Windows.Forms.Button() + Me.TableLayoutPanel1.SuspendLayout + Me.TabControl1.SuspendLayout + Me.TabFile.SuspendLayout + CType(Me.PictureBox1,System.ComponentModel.ISupportInitialize).BeginInit + Me.TabView.SuspendLayout + CType(Me.PictureBox5,System.ComponentModel.ISupportInitialize).BeginInit + CType(Me.PictureBox4,System.ComponentModel.ISupportInitialize).BeginInit + CType(Me.PictureBox3,System.ComponentModel.ISupportInitialize).BeginInit + Me.TabCPlane.SuspendLayout + CType(Me.PictureBox2,System.ComponentModel.ISupportInitialize).BeginInit + Me.TableLayoutPanel3.SuspendLayout + Me.Panel1.SuspendLayout + Me.InputBox.SuspendLayout + Me.TabControl2.SuspendLayout + Me.TabDraw.SuspendLayout + Me.TabConstruct.SuspendLayout + Me.TabEdit.SuspendLayout + Me.TabTransform.SuspendLayout + Me.TabSpecial.SuspendLayout + Me.StatusStrip1.SuspendLayout + Me.ContextMenuTreeView1.SuspendLayout + Me.ContextMenuMruFiles.SuspendLayout + Me.ContextMenuMruScripts.SuspendLayout + Me.SuspendLayout ' 'TableLayoutPanel1 ' Me.TableLayoutPanel1.ColumnCount = 3 - Me.TableLayoutPanel1.ColumnStyles.Add(New System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 89.0!)) - Me.TableLayoutPanel1.ColumnStyles.Add(New System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100.0!)) - Me.TableLayoutPanel1.ColumnStyles.Add(New System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 220.0!)) + Me.TableLayoutPanel1.ColumnStyles.Add(New System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 89!)) + Me.TableLayoutPanel1.ColumnStyles.Add(New System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100!)) + Me.TableLayoutPanel1.ColumnStyles.Add(New System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 220!)) Me.TableLayoutPanel1.Controls.Add(Me.Scene1, 1, 1) Me.TableLayoutPanel1.Controls.Add(Me.TabControl1, 0, 0) Me.TableLayoutPanel1.Controls.Add(Me.TableLayoutPanel3, 2, 1) @@ -228,10 +229,10 @@ Partial Class Form1 Me.TableLayoutPanel1.Margin = New System.Windows.Forms.Padding(2) Me.TableLayoutPanel1.Name = "TableLayoutPanel1" Me.TableLayoutPanel1.RowCount = 4 - Me.TableLayoutPanel1.RowStyles.Add(New System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 82.0!)) - Me.TableLayoutPanel1.RowStyles.Add(New System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100.0!)) + Me.TableLayoutPanel1.RowStyles.Add(New System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 82!)) + Me.TableLayoutPanel1.RowStyles.Add(New System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100!)) Me.TableLayoutPanel1.RowStyles.Add(New System.Windows.Forms.RowStyle()) - Me.TableLayoutPanel1.RowStyles.Add(New System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 22.0!)) + Me.TableLayoutPanel1.RowStyles.Add(New System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 22!)) Me.TableLayoutPanel1.Size = New System.Drawing.Size(1096, 645) Me.TableLayoutPanel1.TabIndex = 0 ' @@ -253,7 +254,7 @@ Partial Class Form1 Me.TabControl1.Controls.Add(Me.TabView) Me.TabControl1.Controls.Add(Me.TabCPlane) Me.TabControl1.Dock = System.Windows.Forms.DockStyle.Fill - Me.TabControl1.HotTrack = True + Me.TabControl1.HotTrack = true Me.TabControl1.ItemSize = New System.Drawing.Size(60, 18) Me.TabControl1.Location = New System.Drawing.Point(0, 0) Me.TabControl1.Margin = New System.Windows.Forms.Padding(0) @@ -288,7 +289,7 @@ Partial Class Form1 Me.btnInsert.FlatAppearance.MouseDownBackColor = System.Drawing.SystemColors.Control Me.btnInsert.FlatAppearance.MouseOverBackColor = System.Drawing.SystemColors.GradientInactiveCaption Me.btnInsert.FlatStyle = System.Windows.Forms.FlatStyle.Flat - Me.btnInsert.Image = CType(resources.GetObject("btnInsert.Image"), System.Drawing.Image) + Me.btnInsert.Image = CType(resources.GetObject("btnInsert.Image"),System.Drawing.Image) Me.btnInsert.ImageAlign = System.Drawing.ContentAlignment.TopCenter Me.btnInsert.Location = New System.Drawing.Point(112, 0) Me.btnInsert.Name = "btnInsert" @@ -296,7 +297,7 @@ Partial Class Form1 Me.btnInsert.TabIndex = 28 Me.btnInsert.Text = "Insert" Me.btnInsert.TextAlign = System.Drawing.ContentAlignment.BottomCenter - Me.btnInsert.UseVisualStyleBackColor = True + Me.btnInsert.UseVisualStyleBackColor = true ' 'btnSaveAs ' @@ -305,7 +306,7 @@ Partial Class Form1 Me.btnSaveAs.FlatAppearance.MouseDownBackColor = System.Drawing.SystemColors.Control Me.btnSaveAs.FlatAppearance.MouseOverBackColor = System.Drawing.SystemColors.GradientInactiveCaption Me.btnSaveAs.FlatStyle = System.Windows.Forms.FlatStyle.Flat - Me.btnSaveAs.Image = CType(resources.GetObject("btnSaveAs.Image"), System.Drawing.Image) + Me.btnSaveAs.Image = CType(resources.GetObject("btnSaveAs.Image"),System.Drawing.Image) Me.btnSaveAs.ImageAlign = System.Drawing.ContentAlignment.TopCenter Me.btnSaveAs.Location = New System.Drawing.Point(224, 0) Me.btnSaveAs.Margin = New System.Windows.Forms.Padding(2) @@ -314,7 +315,7 @@ Partial Class Form1 Me.btnSaveAs.TabIndex = 27 Me.btnSaveAs.Text = "Save as" Me.btnSaveAs.TextAlign = System.Drawing.ContentAlignment.BottomCenter - Me.btnSaveAs.UseVisualStyleBackColor = True + Me.btnSaveAs.UseVisualStyleBackColor = true ' 'PictureBox1 ' @@ -323,7 +324,7 @@ Partial Class Form1 Me.PictureBox1.Name = "PictureBox1" Me.PictureBox1.Size = New System.Drawing.Size(2, 40) Me.PictureBox1.TabIndex = 26 - Me.PictureBox1.TabStop = False + Me.PictureBox1.TabStop = false ' 'btnNew ' @@ -332,7 +333,7 @@ Partial Class Form1 Me.btnNew.FlatAppearance.MouseDownBackColor = System.Drawing.SystemColors.Control Me.btnNew.FlatAppearance.MouseOverBackColor = System.Drawing.SystemColors.GradientInactiveCaption Me.btnNew.FlatStyle = System.Windows.Forms.FlatStyle.Flat - Me.btnNew.Image = CType(resources.GetObject("btnNew.Image"), System.Drawing.Image) + Me.btnNew.Image = CType(resources.GetObject("btnNew.Image"),System.Drawing.Image) Me.btnNew.ImageAlign = System.Drawing.ContentAlignment.TopCenter Me.btnNew.Location = New System.Drawing.Point(0, 0) Me.btnNew.Margin = New System.Windows.Forms.Padding(2) @@ -341,7 +342,7 @@ Partial Class Form1 Me.btnNew.TabIndex = 5 Me.btnNew.Text = "New" Me.btnNew.TextAlign = System.Drawing.ContentAlignment.BottomCenter - Me.btnNew.UseVisualStyleBackColor = True + Me.btnNew.UseVisualStyleBackColor = true ' 'btnOpen ' @@ -351,7 +352,7 @@ Partial Class Form1 Me.btnOpen.FlatAppearance.MouseDownBackColor = System.Drawing.SystemColors.Control Me.btnOpen.FlatAppearance.MouseOverBackColor = System.Drawing.SystemColors.GradientInactiveCaption Me.btnOpen.FlatStyle = System.Windows.Forms.FlatStyle.Flat - Me.btnOpen.Image = CType(resources.GetObject("btnOpen.Image"), System.Drawing.Image) + Me.btnOpen.Image = CType(resources.GetObject("btnOpen.Image"),System.Drawing.Image) Me.btnOpen.ImageAlign = System.Drawing.ContentAlignment.TopCenter Me.btnOpen.Location = New System.Drawing.Point(56, 0) Me.btnOpen.Margin = New System.Windows.Forms.Padding(2) @@ -360,7 +361,7 @@ Partial Class Form1 Me.btnOpen.TabIndex = 0 Me.btnOpen.Text = "Open" Me.btnOpen.TextAlign = System.Drawing.ContentAlignment.BottomCenter - Me.btnOpen.UseVisualStyleBackColor = True + Me.btnOpen.UseVisualStyleBackColor = true ' 'btnSave ' @@ -369,7 +370,7 @@ Partial Class Form1 Me.btnSave.FlatAppearance.MouseDownBackColor = System.Drawing.SystemColors.Control Me.btnSave.FlatAppearance.MouseOverBackColor = System.Drawing.SystemColors.GradientInactiveCaption Me.btnSave.FlatStyle = System.Windows.Forms.FlatStyle.Flat - Me.btnSave.Image = CType(resources.GetObject("btnSave.Image"), System.Drawing.Image) + Me.btnSave.Image = CType(resources.GetObject("btnSave.Image"),System.Drawing.Image) Me.btnSave.ImageAlign = System.Drawing.ContentAlignment.TopCenter Me.btnSave.Location = New System.Drawing.Point(168, 0) Me.btnSave.Margin = New System.Windows.Forms.Padding(2) @@ -378,7 +379,7 @@ Partial Class Form1 Me.btnSave.TabIndex = 1 Me.btnSave.Text = "Save" Me.btnSave.TextAlign = System.Drawing.ContentAlignment.BottomCenter - Me.btnSave.UseVisualStyleBackColor = True + Me.btnSave.UseVisualStyleBackColor = true ' 'btnImport ' @@ -387,7 +388,7 @@ Partial Class Form1 Me.btnImport.FlatAppearance.MouseDownBackColor = System.Drawing.SystemColors.Control Me.btnImport.FlatAppearance.MouseOverBackColor = System.Drawing.SystemColors.GradientInactiveCaption Me.btnImport.FlatStyle = System.Windows.Forms.FlatStyle.Flat - Me.btnImport.Image = CType(resources.GetObject("btnImport.Image"), System.Drawing.Image) + Me.btnImport.Image = CType(resources.GetObject("btnImport.Image"),System.Drawing.Image) Me.btnImport.ImageAlign = System.Drawing.ContentAlignment.TopCenter Me.btnImport.Location = New System.Drawing.Point(280, 0) Me.btnImport.Name = "btnImport" @@ -395,7 +396,7 @@ Partial Class Form1 Me.btnImport.TabIndex = 6 Me.btnImport.Text = "Import" Me.btnImport.TextAlign = System.Drawing.ContentAlignment.BottomCenter - Me.btnImport.UseVisualStyleBackColor = True + Me.btnImport.UseVisualStyleBackColor = true ' 'btnExport ' @@ -404,7 +405,7 @@ Partial Class Form1 Me.btnExport.FlatAppearance.MouseDownBackColor = System.Drawing.SystemColors.Control Me.btnExport.FlatAppearance.MouseOverBackColor = System.Drawing.SystemColors.GradientInactiveCaption Me.btnExport.FlatStyle = System.Windows.Forms.FlatStyle.Flat - Me.btnExport.Image = CType(resources.GetObject("btnExport.Image"), System.Drawing.Image) + Me.btnExport.Image = CType(resources.GetObject("btnExport.Image"),System.Drawing.Image) Me.btnExport.ImageAlign = System.Drawing.ContentAlignment.TopCenter Me.btnExport.Location = New System.Drawing.Point(336, 0) Me.btnExport.Name = "btnExport" @@ -412,7 +413,7 @@ Partial Class Form1 Me.btnExport.TabIndex = 4 Me.btnExport.Text = "Export" Me.btnExport.TextAlign = System.Drawing.ContentAlignment.BottomCenter - Me.btnExport.UseVisualStyleBackColor = True + Me.btnExport.UseVisualStyleBackColor = true ' 'btnExec ' @@ -421,7 +422,7 @@ Partial Class Form1 Me.btnExec.FlatAppearance.MouseDownBackColor = System.Drawing.SystemColors.Control Me.btnExec.FlatAppearance.MouseOverBackColor = System.Drawing.SystemColors.GradientInactiveCaption Me.btnExec.FlatStyle = System.Windows.Forms.FlatStyle.Flat - Me.btnExec.Image = CType(resources.GetObject("btnExec.Image"), System.Drawing.Image) + Me.btnExec.Image = CType(resources.GetObject("btnExec.Image"),System.Drawing.Image) Me.btnExec.ImageAlign = System.Drawing.ContentAlignment.TopCenter Me.btnExec.Location = New System.Drawing.Point(396, 0) Me.btnExec.Name = "btnExec" @@ -429,7 +430,7 @@ Partial Class Form1 Me.btnExec.TabIndex = 2 Me.btnExec.Text = "Exec" Me.btnExec.TextAlign = System.Drawing.ContentAlignment.BottomCenter - Me.btnExec.UseVisualStyleBackColor = True + Me.btnExec.UseVisualStyleBackColor = true ' 'TabView ' @@ -470,7 +471,7 @@ Partial Class Form1 Me.btnCPlane.FlatAppearance.MouseDownBackColor = System.Drawing.SystemColors.Control Me.btnCPlane.FlatAppearance.MouseOverBackColor = System.Drawing.SystemColors.GradientInactiveCaption Me.btnCPlane.FlatStyle = System.Windows.Forms.FlatStyle.Flat - Me.btnCPlane.Image = CType(resources.GetObject("btnCPlane.Image"), System.Drawing.Image) + Me.btnCPlane.Image = CType(resources.GetObject("btnCPlane.Image"),System.Drawing.Image) Me.btnCPlane.ImageAlign = System.Drawing.ContentAlignment.TopCenter Me.btnCPlane.Location = New System.Drawing.Point(850, 0) Me.btnCPlane.Name = "btnCPlane" @@ -478,7 +479,7 @@ Partial Class Form1 Me.btnCPlane.TabIndex = 32 Me.btnCPlane.Text = "CPlane" Me.btnCPlane.TextAlign = System.Drawing.ContentAlignment.BottomCenter - Me.btnCPlane.UseVisualStyleBackColor = False + Me.btnCPlane.UseVisualStyleBackColor = false ' 'btnIsoNW ' @@ -487,7 +488,7 @@ Partial Class Form1 Me.btnIsoNW.FlatAppearance.MouseDownBackColor = System.Drawing.SystemColors.Control Me.btnIsoNW.FlatAppearance.MouseOverBackColor = System.Drawing.SystemColors.GradientInactiveCaption Me.btnIsoNW.FlatStyle = System.Windows.Forms.FlatStyle.Flat - Me.btnIsoNW.Image = CType(resources.GetObject("btnIsoNW.Image"), System.Drawing.Image) + Me.btnIsoNW.Image = CType(resources.GetObject("btnIsoNW.Image"),System.Drawing.Image) Me.btnIsoNW.ImageAlign = System.Drawing.ContentAlignment.TopCenter Me.btnIsoNW.Location = New System.Drawing.Point(796, 0) Me.btnIsoNW.Name = "btnIsoNW" @@ -495,7 +496,7 @@ Partial Class Form1 Me.btnIsoNW.TabIndex = 31 Me.btnIsoNW.Text = "Iso NW" Me.btnIsoNW.TextAlign = System.Drawing.ContentAlignment.BottomCenter - Me.btnIsoNW.UseVisualStyleBackColor = False + Me.btnIsoNW.UseVisualStyleBackColor = false ' 'btnIsoNE ' @@ -504,7 +505,7 @@ Partial Class Form1 Me.btnIsoNE.FlatAppearance.MouseDownBackColor = System.Drawing.SystemColors.Control Me.btnIsoNE.FlatAppearance.MouseOverBackColor = System.Drawing.SystemColors.GradientInactiveCaption Me.btnIsoNE.FlatStyle = System.Windows.Forms.FlatStyle.Flat - Me.btnIsoNE.Image = CType(resources.GetObject("btnIsoNE.Image"), System.Drawing.Image) + Me.btnIsoNE.Image = CType(resources.GetObject("btnIsoNE.Image"),System.Drawing.Image) Me.btnIsoNE.ImageAlign = System.Drawing.ContentAlignment.TopCenter Me.btnIsoNE.Location = New System.Drawing.Point(740, 0) Me.btnIsoNE.Name = "btnIsoNE" @@ -512,7 +513,7 @@ Partial Class Form1 Me.btnIsoNE.TabIndex = 30 Me.btnIsoNE.Text = "Iso NE" Me.btnIsoNE.TextAlign = System.Drawing.ContentAlignment.BottomCenter - Me.btnIsoNE.UseVisualStyleBackColor = False + Me.btnIsoNE.UseVisualStyleBackColor = false ' 'btnIsoSE ' @@ -521,7 +522,7 @@ Partial Class Form1 Me.btnIsoSE.FlatAppearance.MouseDownBackColor = System.Drawing.SystemColors.Control Me.btnIsoSE.FlatAppearance.MouseOverBackColor = System.Drawing.SystemColors.GradientInactiveCaption Me.btnIsoSE.FlatStyle = System.Windows.Forms.FlatStyle.Flat - Me.btnIsoSE.Image = CType(resources.GetObject("btnIsoSE.Image"), System.Drawing.Image) + Me.btnIsoSE.Image = CType(resources.GetObject("btnIsoSE.Image"),System.Drawing.Image) Me.btnIsoSE.ImageAlign = System.Drawing.ContentAlignment.TopCenter Me.btnIsoSE.Location = New System.Drawing.Point(684, 0) Me.btnIsoSE.Name = "btnIsoSE" @@ -529,7 +530,7 @@ Partial Class Form1 Me.btnIsoSE.TabIndex = 29 Me.btnIsoSE.Text = "Iso SE" Me.btnIsoSE.TextAlign = System.Drawing.ContentAlignment.BottomCenter - Me.btnIsoSE.UseVisualStyleBackColor = False + Me.btnIsoSE.UseVisualStyleBackColor = false ' 'chkGetDist ' @@ -540,7 +541,7 @@ Partial Class Form1 Me.chkGetDist.FlatAppearance.MouseDownBackColor = System.Drawing.SystemColors.Control Me.chkGetDist.FlatAppearance.MouseOverBackColor = System.Drawing.SystemColors.GradientInactiveCaption Me.chkGetDist.FlatStyle = System.Windows.Forms.FlatStyle.Flat - Me.chkGetDist.Image = CType(resources.GetObject("chkGetDist.Image"), System.Drawing.Image) + Me.chkGetDist.Image = CType(resources.GetObject("chkGetDist.Image"),System.Drawing.Image) Me.chkGetDist.ImageAlign = System.Drawing.ContentAlignment.TopCenter Me.chkGetDist.Location = New System.Drawing.Point(1024, 0) Me.chkGetDist.Name = "chkGetDist" @@ -548,7 +549,7 @@ Partial Class Form1 Me.chkGetDist.TabIndex = 24 Me.chkGetDist.Text = "GetDist" Me.chkGetDist.TextAlign = System.Drawing.ContentAlignment.BottomCenter - Me.chkGetDist.UseVisualStyleBackColor = True + Me.chkGetDist.UseVisualStyleBackColor = true ' 'chkAnalyze ' @@ -559,14 +560,14 @@ Partial Class Form1 Me.chkAnalyze.FlatAppearance.MouseDownBackColor = System.Drawing.SystemColors.Control Me.chkAnalyze.FlatAppearance.MouseOverBackColor = System.Drawing.SystemColors.GradientInactiveCaption Me.chkAnalyze.FlatStyle = System.Windows.Forms.FlatStyle.Flat - Me.chkAnalyze.Image = CType(resources.GetObject("chkAnalyze.Image"), System.Drawing.Image) + Me.chkAnalyze.Image = CType(resources.GetObject("chkAnalyze.Image"),System.Drawing.Image) Me.chkAnalyze.Location = New System.Drawing.Point(968, 0) Me.chkAnalyze.Name = "chkAnalyze" Me.chkAnalyze.Size = New System.Drawing.Size(56, 48) Me.chkAnalyze.TabIndex = 25 Me.chkAnalyze.Text = "Analyze" Me.chkAnalyze.TextAlign = System.Drawing.ContentAlignment.BottomCenter - Me.chkAnalyze.UseVisualStyleBackColor = True + Me.chkAnalyze.UseVisualStyleBackColor = true ' 'PictureBox5 ' @@ -575,7 +576,7 @@ Partial Class Form1 Me.PictureBox5.Name = "PictureBox5" Me.PictureBox5.Size = New System.Drawing.Size(2, 40) Me.PictureBox5.TabIndex = 28 - Me.PictureBox5.TabStop = False + Me.PictureBox5.TabStop = false ' 'PictureBox4 ' @@ -584,7 +585,7 @@ Partial Class Form1 Me.PictureBox4.Name = "PictureBox4" Me.PictureBox4.Size = New System.Drawing.Size(2, 40) Me.PictureBox4.TabIndex = 28 - Me.PictureBox4.TabStop = False + Me.PictureBox4.TabStop = false ' 'chkCurveDir ' @@ -595,7 +596,7 @@ Partial Class Form1 Me.chkCurveDir.FlatAppearance.MouseDownBackColor = System.Drawing.SystemColors.Control Me.chkCurveDir.FlatAppearance.MouseOverBackColor = System.Drawing.SystemColors.GradientInactiveCaption Me.chkCurveDir.FlatStyle = System.Windows.Forms.FlatStyle.Flat - Me.chkCurveDir.Image = CType(resources.GetObject("chkCurveDir.Image"), System.Drawing.Image) + Me.chkCurveDir.Image = CType(resources.GetObject("chkCurveDir.Image"),System.Drawing.Image) Me.chkCurveDir.ImageAlign = System.Drawing.ContentAlignment.TopCenter Me.chkCurveDir.Location = New System.Drawing.Point(912, 0) Me.chkCurveDir.Name = "chkCurveDir" @@ -603,7 +604,7 @@ Partial Class Form1 Me.chkCurveDir.TabIndex = 20 Me.chkCurveDir.Text = "CurveDir" Me.chkCurveDir.TextAlign = System.Drawing.ContentAlignment.BottomCenter - Me.chkCurveDir.UseVisualStyleBackColor = True + Me.chkCurveDir.UseVisualStyleBackColor = true ' 'PictureBox3 ' @@ -612,7 +613,7 @@ Partial Class Form1 Me.PictureBox3.Name = "PictureBox3" Me.PictureBox3.Size = New System.Drawing.Size(2, 40) Me.PictureBox3.TabIndex = 28 - Me.PictureBox3.TabStop = False + Me.PictureBox3.TabStop = false ' 'btnShading ' @@ -623,19 +624,19 @@ Partial Class Form1 Me.btnShading.FlatAppearance.MouseDownBackColor = System.Drawing.SystemColors.Control Me.btnShading.FlatAppearance.MouseOverBackColor = System.Drawing.SystemColors.GradientInactiveCaption Me.btnShading.FlatStyle = System.Windows.Forms.FlatStyle.Flat - Me.btnShading.Font = New System.Drawing.Font("Microsoft Sans Serif", 8.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte)) - Me.btnShading.Image = CType(resources.GetObject("btnShading.Image"), System.Drawing.Image) + Me.btnShading.Font = New System.Drawing.Font("Microsoft Sans Serif", 8!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0,Byte)) + Me.btnShading.Image = CType(resources.GetObject("btnShading.Image"),System.Drawing.Image) Me.btnShading.ImageAlign = System.Drawing.ContentAlignment.TopCenter Me.btnShading.Location = New System.Drawing.Point(112, 0) Me.btnShading.Margin = New System.Windows.Forms.Padding(0) Me.btnShading.Name = "btnShading" Me.btnShading.Size = New System.Drawing.Size(56, 48) Me.btnShading.TabIndex = 23 - Me.btnShading.TabStop = True + Me.btnShading.TabStop = true Me.btnShading.Text = "Shading" Me.btnShading.TextAlign = System.Drawing.ContentAlignment.BottomCenter - Me.btnShading.UseCompatibleTextRendering = True - Me.btnShading.UseVisualStyleBackColor = True + Me.btnShading.UseCompatibleTextRendering = true + Me.btnShading.UseVisualStyleBackColor = true ' 'btnWireFrame ' @@ -646,19 +647,19 @@ Partial Class Form1 Me.btnWireFrame.FlatAppearance.MouseDownBackColor = System.Drawing.SystemColors.Control Me.btnWireFrame.FlatAppearance.MouseOverBackColor = System.Drawing.SystemColors.GradientInactiveCaption Me.btnWireFrame.FlatStyle = System.Windows.Forms.FlatStyle.Flat - Me.btnWireFrame.Font = New System.Drawing.Font("Microsoft Sans Serif", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte)) - Me.btnWireFrame.Image = CType(resources.GetObject("btnWireFrame.Image"), System.Drawing.Image) + Me.btnWireFrame.Font = New System.Drawing.Font("Microsoft Sans Serif", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0,Byte)) + Me.btnWireFrame.Image = CType(resources.GetObject("btnWireFrame.Image"),System.Drawing.Image) Me.btnWireFrame.ImageAlign = System.Drawing.ContentAlignment.TopCenter Me.btnWireFrame.Location = New System.Drawing.Point(0, 0) Me.btnWireFrame.Margin = New System.Windows.Forms.Padding(0) Me.btnWireFrame.Name = "btnWireFrame" Me.btnWireFrame.Size = New System.Drawing.Size(56, 48) Me.btnWireFrame.TabIndex = 21 - Me.btnWireFrame.TabStop = True + Me.btnWireFrame.TabStop = true Me.btnWireFrame.Text = "WFrame" Me.btnWireFrame.TextAlign = System.Drawing.ContentAlignment.BottomCenter - Me.btnWireFrame.UseCompatibleTextRendering = True - Me.btnWireFrame.UseVisualStyleBackColor = True + Me.btnWireFrame.UseCompatibleTextRendering = true + Me.btnWireFrame.UseVisualStyleBackColor = true ' 'btnHiddenLine ' @@ -669,18 +670,18 @@ Partial Class Form1 Me.btnHiddenLine.FlatAppearance.MouseDownBackColor = System.Drawing.SystemColors.Control Me.btnHiddenLine.FlatAppearance.MouseOverBackColor = System.Drawing.SystemColors.GradientInactiveCaption Me.btnHiddenLine.FlatStyle = System.Windows.Forms.FlatStyle.Flat - Me.btnHiddenLine.Font = New System.Drawing.Font("Microsoft Sans Serif", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte)) - Me.btnHiddenLine.Image = CType(resources.GetObject("btnHiddenLine.Image"), System.Drawing.Image) + Me.btnHiddenLine.Font = New System.Drawing.Font("Microsoft Sans Serif", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0,Byte)) + Me.btnHiddenLine.Image = CType(resources.GetObject("btnHiddenLine.Image"),System.Drawing.Image) Me.btnHiddenLine.ImageAlign = System.Drawing.ContentAlignment.TopCenter Me.btnHiddenLine.Location = New System.Drawing.Point(56, 0) Me.btnHiddenLine.Name = "btnHiddenLine" Me.btnHiddenLine.Size = New System.Drawing.Size(56, 48) Me.btnHiddenLine.TabIndex = 22 - Me.btnHiddenLine.TabStop = True + Me.btnHiddenLine.TabStop = true Me.btnHiddenLine.Text = "HLine" Me.btnHiddenLine.TextAlign = System.Drawing.ContentAlignment.BottomCenter - Me.btnHiddenLine.UseCompatibleTextRendering = True - Me.btnHiddenLine.UseVisualStyleBackColor = True + Me.btnHiddenLine.UseCompatibleTextRendering = true + Me.btnHiddenLine.UseVisualStyleBackColor = true ' 'btnZoomOut ' @@ -689,7 +690,7 @@ Partial Class Form1 Me.btnZoomOut.FlatAppearance.MouseDownBackColor = System.Drawing.SystemColors.Control Me.btnZoomOut.FlatAppearance.MouseOverBackColor = System.Drawing.SystemColors.GradientInactiveCaption Me.btnZoomOut.FlatStyle = System.Windows.Forms.FlatStyle.Flat - Me.btnZoomOut.Image = CType(resources.GetObject("btnZoomOut.Image"), System.Drawing.Image) + Me.btnZoomOut.Image = CType(resources.GetObject("btnZoomOut.Image"),System.Drawing.Image) Me.btnZoomOut.ImageAlign = System.Drawing.ContentAlignment.TopCenter Me.btnZoomOut.Location = New System.Drawing.Point(284, 0) Me.btnZoomOut.Name = "btnZoomOut" @@ -697,8 +698,8 @@ Partial Class Form1 Me.btnZoomOut.TabIndex = 15 Me.btnZoomOut.Text = "ZoomOut" Me.btnZoomOut.TextAlign = System.Drawing.ContentAlignment.BottomCenter - Me.btnZoomOut.UseCompatibleTextRendering = True - Me.btnZoomOut.UseVisualStyleBackColor = False + Me.btnZoomOut.UseCompatibleTextRendering = true + Me.btnZoomOut.UseVisualStyleBackColor = false ' 'btnIsoSW ' @@ -707,7 +708,7 @@ Partial Class Form1 Me.btnIsoSW.FlatAppearance.MouseDownBackColor = System.Drawing.SystemColors.Control Me.btnIsoSW.FlatAppearance.MouseOverBackColor = System.Drawing.SystemColors.GradientInactiveCaption Me.btnIsoSW.FlatStyle = System.Windows.Forms.FlatStyle.Flat - Me.btnIsoSW.Image = CType(resources.GetObject("btnIsoSW.Image"), System.Drawing.Image) + Me.btnIsoSW.Image = CType(resources.GetObject("btnIsoSW.Image"),System.Drawing.Image) Me.btnIsoSW.ImageAlign = System.Drawing.ContentAlignment.TopCenter Me.btnIsoSW.Location = New System.Drawing.Point(628, 0) Me.btnIsoSW.Name = "btnIsoSW" @@ -715,7 +716,7 @@ Partial Class Form1 Me.btnIsoSW.TabIndex = 8 Me.btnIsoSW.Text = "Iso SW" Me.btnIsoSW.TextAlign = System.Drawing.ContentAlignment.BottomCenter - Me.btnIsoSW.UseVisualStyleBackColor = False + Me.btnIsoSW.UseVisualStyleBackColor = false ' 'btnBack ' @@ -724,7 +725,7 @@ Partial Class Form1 Me.btnBack.FlatAppearance.MouseDownBackColor = System.Drawing.SystemColors.Control Me.btnBack.FlatAppearance.MouseOverBackColor = System.Drawing.SystemColors.GradientInactiveCaption Me.btnBack.FlatStyle = System.Windows.Forms.FlatStyle.Flat - Me.btnBack.Image = CType(resources.GetObject("btnBack.Image"), System.Drawing.Image) + Me.btnBack.Image = CType(resources.GetObject("btnBack.Image"),System.Drawing.Image) Me.btnBack.ImageAlign = System.Drawing.ContentAlignment.TopCenter Me.btnBack.Location = New System.Drawing.Point(516, 0) Me.btnBack.Name = "btnBack" @@ -732,7 +733,7 @@ Partial Class Form1 Me.btnBack.TabIndex = 11 Me.btnBack.Text = "Back" Me.btnBack.TextAlign = System.Drawing.ContentAlignment.BottomCenter - Me.btnBack.UseVisualStyleBackColor = False + Me.btnBack.UseVisualStyleBackColor = false ' 'btnRight ' @@ -741,7 +742,7 @@ Partial Class Form1 Me.btnRight.FlatAppearance.MouseDownBackColor = System.Drawing.SystemColors.Control Me.btnRight.FlatAppearance.MouseOverBackColor = System.Drawing.SystemColors.GradientInactiveCaption Me.btnRight.FlatStyle = System.Windows.Forms.FlatStyle.Flat - Me.btnRight.Image = CType(resources.GetObject("btnRight.Image"), System.Drawing.Image) + Me.btnRight.Image = CType(resources.GetObject("btnRight.Image"),System.Drawing.Image) Me.btnRight.ImageAlign = System.Drawing.ContentAlignment.TopCenter Me.btnRight.Location = New System.Drawing.Point(460, 0) Me.btnRight.Name = "btnRight" @@ -749,7 +750,7 @@ Partial Class Form1 Me.btnRight.TabIndex = 12 Me.btnRight.Text = "Right" Me.btnRight.TextAlign = System.Drawing.ContentAlignment.BottomCenter - Me.btnRight.UseVisualStyleBackColor = False + Me.btnRight.UseVisualStyleBackColor = false ' 'btnLeft ' @@ -758,7 +759,7 @@ Partial Class Form1 Me.btnLeft.FlatAppearance.MouseDownBackColor = System.Drawing.SystemColors.Control Me.btnLeft.FlatAppearance.MouseOverBackColor = System.Drawing.SystemColors.GradientInactiveCaption Me.btnLeft.FlatStyle = System.Windows.Forms.FlatStyle.Flat - Me.btnLeft.Image = CType(resources.GetObject("btnLeft.Image"), System.Drawing.Image) + Me.btnLeft.Image = CType(resources.GetObject("btnLeft.Image"),System.Drawing.Image) Me.btnLeft.ImageAlign = System.Drawing.ContentAlignment.TopCenter Me.btnLeft.Location = New System.Drawing.Point(572, 0) Me.btnLeft.Name = "btnLeft" @@ -766,7 +767,7 @@ Partial Class Form1 Me.btnLeft.TabIndex = 10 Me.btnLeft.Text = "Left" Me.btnLeft.TextAlign = System.Drawing.ContentAlignment.BottomCenter - Me.btnLeft.UseVisualStyleBackColor = False + Me.btnLeft.UseVisualStyleBackColor = false ' 'btnZoomAll ' @@ -775,8 +776,8 @@ Partial Class Form1 Me.btnZoomAll.FlatAppearance.MouseDownBackColor = System.Drawing.SystemColors.Control Me.btnZoomAll.FlatAppearance.MouseOverBackColor = System.Drawing.SystemColors.GradientInactiveCaption Me.btnZoomAll.FlatStyle = System.Windows.Forms.FlatStyle.Flat - Me.btnZoomAll.Font = New System.Drawing.Font("Microsoft Sans Serif", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte)) - Me.btnZoomAll.Image = CType(resources.GetObject("btnZoomAll.Image"), System.Drawing.Image) + Me.btnZoomAll.Font = New System.Drawing.Font("Microsoft Sans Serif", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0,Byte)) + Me.btnZoomAll.Image = CType(resources.GetObject("btnZoomAll.Image"),System.Drawing.Image) Me.btnZoomAll.ImageAlign = System.Drawing.ContentAlignment.TopCenter Me.btnZoomAll.Location = New System.Drawing.Point(172, 0) Me.btnZoomAll.Name = "btnZoomAll" @@ -784,8 +785,8 @@ Partial Class Form1 Me.btnZoomAll.TabIndex = 13 Me.btnZoomAll.Text = "ZoomAll" Me.btnZoomAll.TextAlign = System.Drawing.ContentAlignment.BottomCenter - Me.btnZoomAll.UseCompatibleTextRendering = True - Me.btnZoomAll.UseVisualStyleBackColor = False + Me.btnZoomAll.UseCompatibleTextRendering = true + Me.btnZoomAll.UseVisualStyleBackColor = false ' 'btnFront ' @@ -794,7 +795,7 @@ Partial Class Form1 Me.btnFront.FlatAppearance.MouseDownBackColor = System.Drawing.SystemColors.Control Me.btnFront.FlatAppearance.MouseOverBackColor = System.Drawing.SystemColors.GradientInactiveCaption Me.btnFront.FlatStyle = System.Windows.Forms.FlatStyle.Flat - Me.btnFront.Image = CType(resources.GetObject("btnFront.Image"), System.Drawing.Image) + Me.btnFront.Image = CType(resources.GetObject("btnFront.Image"),System.Drawing.Image) Me.btnFront.ImageAlign = System.Drawing.ContentAlignment.TopCenter Me.btnFront.Location = New System.Drawing.Point(404, 0) Me.btnFront.Name = "btnFront" @@ -802,7 +803,7 @@ Partial Class Form1 Me.btnFront.TabIndex = 9 Me.btnFront.Text = "Front" Me.btnFront.TextAlign = System.Drawing.ContentAlignment.BottomCenter - Me.btnFront.UseVisualStyleBackColor = False + Me.btnFront.UseVisualStyleBackColor = false ' 'btnZoomIn ' @@ -811,7 +812,7 @@ Partial Class Form1 Me.btnZoomIn.FlatAppearance.MouseDownBackColor = System.Drawing.SystemColors.Control Me.btnZoomIn.FlatAppearance.MouseOverBackColor = System.Drawing.SystemColors.GradientInactiveCaption Me.btnZoomIn.FlatStyle = System.Windows.Forms.FlatStyle.Flat - Me.btnZoomIn.Image = CType(resources.GetObject("btnZoomIn.Image"), System.Drawing.Image) + Me.btnZoomIn.Image = CType(resources.GetObject("btnZoomIn.Image"),System.Drawing.Image) Me.btnZoomIn.ImageAlign = System.Drawing.ContentAlignment.TopCenter Me.btnZoomIn.Location = New System.Drawing.Point(228, 0) Me.btnZoomIn.Name = "btnZoomIn" @@ -819,8 +820,8 @@ Partial Class Form1 Me.btnZoomIn.TabIndex = 14 Me.btnZoomIn.Text = "ZoomIn" Me.btnZoomIn.TextAlign = System.Drawing.ContentAlignment.BottomCenter - Me.btnZoomIn.UseCompatibleTextRendering = True - Me.btnZoomIn.UseVisualStyleBackColor = False + Me.btnZoomIn.UseCompatibleTextRendering = true + Me.btnZoomIn.UseVisualStyleBackColor = false ' 'btnTop ' @@ -829,7 +830,7 @@ Partial Class Form1 Me.btnTop.FlatAppearance.MouseDownBackColor = System.Drawing.SystemColors.Control Me.btnTop.FlatAppearance.MouseOverBackColor = System.Drawing.SystemColors.GradientInactiveCaption Me.btnTop.FlatStyle = System.Windows.Forms.FlatStyle.Flat - Me.btnTop.Image = CType(resources.GetObject("btnTop.Image"), System.Drawing.Image) + Me.btnTop.Image = CType(resources.GetObject("btnTop.Image"),System.Drawing.Image) Me.btnTop.ImageAlign = System.Drawing.ContentAlignment.TopCenter Me.btnTop.Location = New System.Drawing.Point(348, 0) Me.btnTop.Name = "btnTop" @@ -837,7 +838,7 @@ Partial Class Form1 Me.btnTop.TabIndex = 7 Me.btnTop.Text = "Top" Me.btnTop.TextAlign = System.Drawing.ContentAlignment.BottomCenter - Me.btnTop.UseVisualStyleBackColor = False + Me.btnTop.UseVisualStyleBackColor = false ' 'TabCPlane ' @@ -871,7 +872,7 @@ Partial Class Form1 Me.btnCPlaneView.FlatAppearance.MouseDownBackColor = System.Drawing.SystemColors.Control Me.btnCPlaneView.FlatAppearance.MouseOverBackColor = System.Drawing.SystemColors.GradientInactiveCaption Me.btnCPlaneView.FlatStyle = System.Windows.Forms.FlatStyle.Flat - Me.btnCPlaneView.Image = CType(resources.GetObject("btnCPlaneView.Image"), System.Drawing.Image) + Me.btnCPlaneView.Image = CType(resources.GetObject("btnCPlaneView.Image"),System.Drawing.Image) Me.btnCPlaneView.ImageAlign = System.Drawing.ContentAlignment.TopCenter Me.btnCPlaneView.Location = New System.Drawing.Point(336, 0) Me.btnCPlaneView.Name = "btnCPlaneView" @@ -879,7 +880,7 @@ Partial Class Form1 Me.btnCPlaneView.TabIndex = 40 Me.btnCPlaneView.Text = "View" Me.btnCPlaneView.TextAlign = System.Drawing.ContentAlignment.BottomCenter - Me.btnCPlaneView.UseVisualStyleBackColor = False + Me.btnCPlaneView.UseVisualStyleBackColor = false ' 'btnCPlanePerpObj ' @@ -888,7 +889,7 @@ Partial Class Form1 Me.btnCPlanePerpObj.FlatAppearance.MouseDownBackColor = System.Drawing.SystemColors.Control Me.btnCPlanePerpObj.FlatAppearance.MouseOverBackColor = System.Drawing.SystemColors.GradientInactiveCaption Me.btnCPlanePerpObj.FlatStyle = System.Windows.Forms.FlatStyle.Flat - Me.btnCPlanePerpObj.Image = CType(resources.GetObject("btnCPlanePerpObj.Image"), System.Drawing.Image) + Me.btnCPlanePerpObj.Image = CType(resources.GetObject("btnCPlanePerpObj.Image"),System.Drawing.Image) Me.btnCPlanePerpObj.ImageAlign = System.Drawing.ContentAlignment.TopCenter Me.btnCPlanePerpObj.Location = New System.Drawing.Point(620, 0) Me.btnCPlanePerpObj.Name = "btnCPlanePerpObj" @@ -896,7 +897,7 @@ Partial Class Form1 Me.btnCPlanePerpObj.TabIndex = 39 Me.btnCPlanePerpObj.Text = "Perp" Me.btnCPlanePerpObj.TextAlign = System.Drawing.ContentAlignment.BottomCenter - Me.btnCPlanePerpObj.UseVisualStyleBackColor = False + Me.btnCPlanePerpObj.UseVisualStyleBackColor = false ' 'btnCPlaneObj ' @@ -905,7 +906,7 @@ Partial Class Form1 Me.btnCPlaneObj.FlatAppearance.MouseDownBackColor = System.Drawing.SystemColors.Control Me.btnCPlaneObj.FlatAppearance.MouseOverBackColor = System.Drawing.SystemColors.GradientInactiveCaption Me.btnCPlaneObj.FlatStyle = System.Windows.Forms.FlatStyle.Flat - Me.btnCPlaneObj.Image = CType(resources.GetObject("btnCPlaneObj.Image"), System.Drawing.Image) + Me.btnCPlaneObj.Image = CType(resources.GetObject("btnCPlaneObj.Image"),System.Drawing.Image) Me.btnCPlaneObj.ImageAlign = System.Drawing.ContentAlignment.TopCenter Me.btnCPlaneObj.Location = New System.Drawing.Point(676, 0) Me.btnCPlaneObj.Name = "btnCPlaneObj" @@ -913,7 +914,7 @@ Partial Class Form1 Me.btnCPlaneObj.TabIndex = 38 Me.btnCPlaneObj.Text = "Object" Me.btnCPlaneObj.TextAlign = System.Drawing.ContentAlignment.BottomCenter - Me.btnCPlaneObj.UseVisualStyleBackColor = False + Me.btnCPlaneObj.UseVisualStyleBackColor = false ' 'btnCplane3P ' @@ -922,7 +923,7 @@ Partial Class Form1 Me.btnCplane3P.FlatAppearance.MouseDownBackColor = System.Drawing.SystemColors.Control Me.btnCplane3P.FlatAppearance.MouseOverBackColor = System.Drawing.SystemColors.GradientInactiveCaption Me.btnCplane3P.FlatStyle = System.Windows.Forms.FlatStyle.Flat - Me.btnCplane3P.Image = CType(resources.GetObject("btnCplane3P.Image"), System.Drawing.Image) + Me.btnCplane3P.Image = CType(resources.GetObject("btnCplane3P.Image"),System.Drawing.Image) Me.btnCplane3P.ImageAlign = System.Drawing.ContentAlignment.TopCenter Me.btnCplane3P.Location = New System.Drawing.Point(564, 0) Me.btnCplane3P.Name = "btnCplane3P" @@ -930,7 +931,7 @@ Partial Class Form1 Me.btnCplane3P.TabIndex = 37 Me.btnCplane3P.Text = "3 Points" Me.btnCplane3P.TextAlign = System.Drawing.ContentAlignment.BottomCenter - Me.btnCplane3P.UseVisualStyleBackColor = False + Me.btnCplane3P.UseVisualStyleBackColor = false ' 'btnCplaneRotate ' @@ -939,7 +940,7 @@ Partial Class Form1 Me.btnCplaneRotate.FlatAppearance.MouseDownBackColor = System.Drawing.SystemColors.Control Me.btnCplaneRotate.FlatAppearance.MouseOverBackColor = System.Drawing.SystemColors.GradientInactiveCaption Me.btnCplaneRotate.FlatStyle = System.Windows.Forms.FlatStyle.Flat - Me.btnCplaneRotate.Image = CType(resources.GetObject("btnCplaneRotate.Image"), System.Drawing.Image) + Me.btnCplaneRotate.Image = CType(resources.GetObject("btnCplaneRotate.Image"),System.Drawing.Image) Me.btnCplaneRotate.ImageAlign = System.Drawing.ContentAlignment.TopCenter Me.btnCplaneRotate.Location = New System.Drawing.Point(508, 0) Me.btnCplaneRotate.Name = "btnCplaneRotate" @@ -947,7 +948,7 @@ Partial Class Form1 Me.btnCplaneRotate.TabIndex = 36 Me.btnCplaneRotate.Text = "Rotate" Me.btnCplaneRotate.TextAlign = System.Drawing.ContentAlignment.BottomCenter - Me.btnCplaneRotate.UseVisualStyleBackColor = False + Me.btnCplaneRotate.UseVisualStyleBackColor = false ' 'btnCplaneBottom ' @@ -956,7 +957,7 @@ Partial Class Form1 Me.btnCplaneBottom.FlatAppearance.MouseDownBackColor = System.Drawing.SystemColors.Control Me.btnCplaneBottom.FlatAppearance.MouseOverBackColor = System.Drawing.SystemColors.GradientInactiveCaption Me.btnCplaneBottom.FlatStyle = System.Windows.Forms.FlatStyle.Flat - Me.btnCplaneBottom.Image = CType(resources.GetObject("btnCplaneBottom.Image"), System.Drawing.Image) + Me.btnCplaneBottom.Image = CType(resources.GetObject("btnCplaneBottom.Image"),System.Drawing.Image) Me.btnCplaneBottom.ImageAlign = System.Drawing.ContentAlignment.TopCenter Me.btnCplaneBottom.Location = New System.Drawing.Point(280, 0) Me.btnCplaneBottom.Name = "btnCplaneBottom" @@ -964,7 +965,7 @@ Partial Class Form1 Me.btnCplaneBottom.TabIndex = 35 Me.btnCplaneBottom.Text = "Bottom" Me.btnCplaneBottom.TextAlign = System.Drawing.ContentAlignment.BottomCenter - Me.btnCplaneBottom.UseVisualStyleBackColor = False + Me.btnCplaneBottom.UseVisualStyleBackColor = false ' 'btnCplaneLeft ' @@ -973,7 +974,7 @@ Partial Class Form1 Me.btnCplaneLeft.FlatAppearance.MouseDownBackColor = System.Drawing.SystemColors.Control Me.btnCplaneLeft.FlatAppearance.MouseOverBackColor = System.Drawing.SystemColors.GradientInactiveCaption Me.btnCplaneLeft.FlatStyle = System.Windows.Forms.FlatStyle.Flat - Me.btnCplaneLeft.Image = CType(resources.GetObject("btnCplaneLeft.Image"), System.Drawing.Image) + Me.btnCplaneLeft.Image = CType(resources.GetObject("btnCplaneLeft.Image"),System.Drawing.Image) Me.btnCplaneLeft.ImageAlign = System.Drawing.ContentAlignment.TopCenter Me.btnCplaneLeft.Location = New System.Drawing.Point(224, 0) Me.btnCplaneLeft.Name = "btnCplaneLeft" @@ -981,7 +982,7 @@ Partial Class Form1 Me.btnCplaneLeft.TabIndex = 34 Me.btnCplaneLeft.Text = "Left" Me.btnCplaneLeft.TextAlign = System.Drawing.ContentAlignment.BottomCenter - Me.btnCplaneLeft.UseVisualStyleBackColor = False + Me.btnCplaneLeft.UseVisualStyleBackColor = false ' 'btnCplaneBack ' @@ -990,7 +991,7 @@ Partial Class Form1 Me.btnCplaneBack.FlatAppearance.MouseDownBackColor = System.Drawing.SystemColors.Control Me.btnCplaneBack.FlatAppearance.MouseOverBackColor = System.Drawing.SystemColors.GradientInactiveCaption Me.btnCplaneBack.FlatStyle = System.Windows.Forms.FlatStyle.Flat - Me.btnCplaneBack.Image = CType(resources.GetObject("btnCplaneBack.Image"), System.Drawing.Image) + Me.btnCplaneBack.Image = CType(resources.GetObject("btnCplaneBack.Image"),System.Drawing.Image) Me.btnCplaneBack.ImageAlign = System.Drawing.ContentAlignment.TopCenter Me.btnCplaneBack.Location = New System.Drawing.Point(168, 0) Me.btnCplaneBack.Name = "btnCplaneBack" @@ -998,7 +999,7 @@ Partial Class Form1 Me.btnCplaneBack.TabIndex = 33 Me.btnCplaneBack.Text = "Back" Me.btnCplaneBack.TextAlign = System.Drawing.ContentAlignment.BottomCenter - Me.btnCplaneBack.UseVisualStyleBackColor = False + Me.btnCplaneBack.UseVisualStyleBackColor = false ' 'btnCplaneElevation ' @@ -1007,7 +1008,7 @@ Partial Class Form1 Me.btnCplaneElevation.FlatAppearance.MouseDownBackColor = System.Drawing.SystemColors.Control Me.btnCplaneElevation.FlatAppearance.MouseOverBackColor = System.Drawing.SystemColors.GradientInactiveCaption Me.btnCplaneElevation.FlatStyle = System.Windows.Forms.FlatStyle.Flat - Me.btnCplaneElevation.Image = CType(resources.GetObject("btnCplaneElevation.Image"), System.Drawing.Image) + Me.btnCplaneElevation.Image = CType(resources.GetObject("btnCplaneElevation.Image"),System.Drawing.Image) Me.btnCplaneElevation.ImageAlign = System.Drawing.ContentAlignment.TopCenter Me.btnCplaneElevation.Location = New System.Drawing.Point(396, 0) Me.btnCplaneElevation.Name = "btnCplaneElevation" @@ -1015,7 +1016,7 @@ Partial Class Form1 Me.btnCplaneElevation.TabIndex = 32 Me.btnCplaneElevation.Text = "Elevat" Me.btnCplaneElevation.TextAlign = System.Drawing.ContentAlignment.BottomCenter - Me.btnCplaneElevation.UseVisualStyleBackColor = False + Me.btnCplaneElevation.UseVisualStyleBackColor = false ' 'btnCplaneRight ' @@ -1024,7 +1025,7 @@ Partial Class Form1 Me.btnCplaneRight.FlatAppearance.MouseDownBackColor = System.Drawing.SystemColors.Control Me.btnCplaneRight.FlatAppearance.MouseOverBackColor = System.Drawing.SystemColors.GradientInactiveCaption Me.btnCplaneRight.FlatStyle = System.Windows.Forms.FlatStyle.Flat - Me.btnCplaneRight.Image = CType(resources.GetObject("btnCplaneRight.Image"), System.Drawing.Image) + Me.btnCplaneRight.Image = CType(resources.GetObject("btnCplaneRight.Image"),System.Drawing.Image) Me.btnCplaneRight.ImageAlign = System.Drawing.ContentAlignment.TopCenter Me.btnCplaneRight.Location = New System.Drawing.Point(112, 0) Me.btnCplaneRight.Name = "btnCplaneRight" @@ -1032,7 +1033,7 @@ Partial Class Form1 Me.btnCplaneRight.TabIndex = 31 Me.btnCplaneRight.Text = "Right" Me.btnCplaneRight.TextAlign = System.Drawing.ContentAlignment.BottomCenter - Me.btnCplaneRight.UseVisualStyleBackColor = False + Me.btnCplaneRight.UseVisualStyleBackColor = false ' 'btnCplaneOrigin ' @@ -1041,7 +1042,7 @@ Partial Class Form1 Me.btnCplaneOrigin.FlatAppearance.MouseDownBackColor = System.Drawing.SystemColors.Control Me.btnCplaneOrigin.FlatAppearance.MouseOverBackColor = System.Drawing.SystemColors.GradientInactiveCaption Me.btnCplaneOrigin.FlatStyle = System.Windows.Forms.FlatStyle.Flat - Me.btnCplaneOrigin.Image = CType(resources.GetObject("btnCplaneOrigin.Image"), System.Drawing.Image) + Me.btnCplaneOrigin.Image = CType(resources.GetObject("btnCplaneOrigin.Image"),System.Drawing.Image) Me.btnCplaneOrigin.ImageAlign = System.Drawing.ContentAlignment.TopCenter Me.btnCplaneOrigin.Location = New System.Drawing.Point(452, 0) Me.btnCplaneOrigin.Name = "btnCplaneOrigin" @@ -1049,7 +1050,7 @@ Partial Class Form1 Me.btnCplaneOrigin.TabIndex = 30 Me.btnCplaneOrigin.Text = "Origin" Me.btnCplaneOrigin.TextAlign = System.Drawing.ContentAlignment.BottomCenter - Me.btnCplaneOrigin.UseVisualStyleBackColor = False + Me.btnCplaneOrigin.UseVisualStyleBackColor = false ' 'PictureBox2 ' @@ -1058,7 +1059,7 @@ Partial Class Form1 Me.PictureBox2.Name = "PictureBox2" Me.PictureBox2.Size = New System.Drawing.Size(2, 40) Me.PictureBox2.TabIndex = 29 - Me.PictureBox2.TabStop = False + Me.PictureBox2.TabStop = false ' 'btnCplaneFront ' @@ -1067,7 +1068,7 @@ Partial Class Form1 Me.btnCplaneFront.FlatAppearance.MouseDownBackColor = System.Drawing.SystemColors.Control Me.btnCplaneFront.FlatAppearance.MouseOverBackColor = System.Drawing.SystemColors.GradientInactiveCaption Me.btnCplaneFront.FlatStyle = System.Windows.Forms.FlatStyle.Flat - Me.btnCplaneFront.Image = CType(resources.GetObject("btnCplaneFront.Image"), System.Drawing.Image) + Me.btnCplaneFront.Image = CType(resources.GetObject("btnCplaneFront.Image"),System.Drawing.Image) Me.btnCplaneFront.ImageAlign = System.Drawing.ContentAlignment.TopCenter Me.btnCplaneFront.Location = New System.Drawing.Point(56, 0) Me.btnCplaneFront.Name = "btnCplaneFront" @@ -1075,7 +1076,7 @@ Partial Class Form1 Me.btnCplaneFront.TabIndex = 9 Me.btnCplaneFront.Text = "Front" Me.btnCplaneFront.TextAlign = System.Drawing.ContentAlignment.BottomCenter - Me.btnCplaneFront.UseVisualStyleBackColor = False + Me.btnCplaneFront.UseVisualStyleBackColor = false ' 'btnCplaneTop ' @@ -1084,7 +1085,7 @@ Partial Class Form1 Me.btnCplaneTop.FlatAppearance.MouseDownBackColor = System.Drawing.SystemColors.Control Me.btnCplaneTop.FlatAppearance.MouseOverBackColor = System.Drawing.SystemColors.GradientInactiveCaption Me.btnCplaneTop.FlatStyle = System.Windows.Forms.FlatStyle.Flat - Me.btnCplaneTop.Image = CType(resources.GetObject("btnCplaneTop.Image"), System.Drawing.Image) + Me.btnCplaneTop.Image = CType(resources.GetObject("btnCplaneTop.Image"),System.Drawing.Image) Me.btnCplaneTop.ImageAlign = System.Drawing.ContentAlignment.TopCenter Me.btnCplaneTop.Location = New System.Drawing.Point(0, 0) Me.btnCplaneTop.Name = "btnCplaneTop" @@ -1092,12 +1093,12 @@ Partial Class Form1 Me.btnCplaneTop.TabIndex = 8 Me.btnCplaneTop.Text = "Top" Me.btnCplaneTop.TextAlign = System.Drawing.ContentAlignment.BottomCenter - Me.btnCplaneTop.UseVisualStyleBackColor = False + Me.btnCplaneTop.UseVisualStyleBackColor = false ' 'TableLayoutPanel3 ' Me.TableLayoutPanel3.ColumnCount = 1 - Me.TableLayoutPanel3.ColumnStyles.Add(New System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100.0!)) + Me.TableLayoutPanel3.ColumnStyles.Add(New System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100!)) Me.TableLayoutPanel3.Controls.Add(Me.tBoxInfo, 0, 2) Me.TableLayoutPanel3.Controls.Add(Me.tboxCmd, 0, 4) Me.TableLayoutPanel3.Controls.Add(Me.TreeView1, 0, 1) @@ -1108,11 +1109,11 @@ Partial Class Form1 Me.TableLayoutPanel3.Margin = New System.Windows.Forms.Padding(0) Me.TableLayoutPanel3.Name = "TableLayoutPanel3" Me.TableLayoutPanel3.RowCount = 5 - Me.TableLayoutPanel3.RowStyles.Add(New System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 50.0!)) - Me.TableLayoutPanel3.RowStyles.Add(New System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 70.0!)) - Me.TableLayoutPanel3.RowStyles.Add(New System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 30.0!)) - Me.TableLayoutPanel3.RowStyles.Add(New System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 160.0!)) - Me.TableLayoutPanel3.RowStyles.Add(New System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 70.0!)) + Me.TableLayoutPanel3.RowStyles.Add(New System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 50!)) + Me.TableLayoutPanel3.RowStyles.Add(New System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 70!)) + Me.TableLayoutPanel3.RowStyles.Add(New System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 30!)) + Me.TableLayoutPanel3.RowStyles.Add(New System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 160!)) + Me.TableLayoutPanel3.RowStyles.Add(New System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 70!)) Me.TableLayoutPanel3.Size = New System.Drawing.Size(220, 541) Me.TableLayoutPanel3.TabIndex = 9 ' @@ -1122,34 +1123,34 @@ Partial Class Form1 Me.tBoxInfo.Dock = System.Windows.Forms.DockStyle.Fill Me.tBoxInfo.Location = New System.Drawing.Point(1, 232) Me.tBoxInfo.Margin = New System.Windows.Forms.Padding(1, 0, 1, 0) - Me.tBoxInfo.Multiline = True + Me.tBoxInfo.Multiline = true Me.tBoxInfo.Name = "tBoxInfo" - Me.tBoxInfo.ReadOnly = True + Me.tBoxInfo.ReadOnly = true Me.tBoxInfo.ScrollBars = System.Windows.Forms.ScrollBars.Vertical Me.tBoxInfo.Size = New System.Drawing.Size(218, 78) Me.tBoxInfo.TabIndex = 24 - Me.tBoxInfo.WordWrap = False + Me.tBoxInfo.WordWrap = false ' 'tboxCmd ' Me.tboxCmd.BackColor = System.Drawing.SystemColors.Window Me.tboxCmd.Dock = System.Windows.Forms.DockStyle.Fill - Me.tboxCmd.Font = New System.Drawing.Font("Microsoft Sans Serif", 9.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte)) + Me.tboxCmd.Font = New System.Drawing.Font("Microsoft Sans Serif", 9.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0,Byte)) Me.tboxCmd.Location = New System.Drawing.Point(1, 470) Me.tboxCmd.Margin = New System.Windows.Forms.Padding(1, 0, 1, 0) - Me.tboxCmd.Multiline = True + Me.tboxCmd.Multiline = true Me.tboxCmd.Name = "tboxCmd" Me.tboxCmd.ScrollBars = System.Windows.Forms.ScrollBars.Vertical Me.tboxCmd.Size = New System.Drawing.Size(218, 71) Me.tboxCmd.TabIndex = 23 - Me.tboxCmd.WordWrap = False + Me.tboxCmd.WordWrap = false ' 'TreeView1 ' - Me.TreeView1.CheckBoxes = True + Me.TreeView1.CheckBoxes = true Me.TreeView1.Dock = System.Windows.Forms.DockStyle.Fill - Me.TreeView1.FullRowSelect = True - Me.TreeView1.HideSelection = False + Me.TreeView1.FullRowSelect = true + Me.TreeView1.HideSelection = false Me.TreeView1.ImageIndex = 0 Me.TreeView1.ImageList = Me.ImageList1 Me.TreeView1.Location = New System.Drawing.Point(1, 50) @@ -1162,7 +1163,7 @@ Partial Class Form1 ' 'ImageList1 ' - Me.ImageList1.ImageStream = CType(resources.GetObject("ImageList1.ImageStream"), System.Windows.Forms.ImageListStreamer) + Me.ImageList1.ImageStream = CType(resources.GetObject("ImageList1.ImageStream"),System.Windows.Forms.ImageListStreamer) Me.ImageList1.TransparentColor = System.Drawing.Color.Transparent Me.ImageList1.Images.SetKeyName(0, "Maters.ico") Me.ImageList1.Images.SetKeyName(1, "NoGeo.ico") @@ -1183,14 +1184,14 @@ Partial Class Form1 ' 'ImageList2 ' - Me.ImageList2.ImageStream = CType(resources.GetObject("ImageList2.ImageStream"), System.Windows.Forms.ImageListStreamer) + Me.ImageList2.ImageStream = CType(resources.GetObject("ImageList2.ImageStream"),System.Windows.Forms.ImageListStreamer) Me.ImageList2.TransparentColor = System.Drawing.Color.Transparent Me.ImageList2.Images.SetKeyName(0, "LampOff.png") Me.ImageList2.Images.SetKeyName(1, "LampOn.png") ' 'Panel1 ' - Me.Panel1.AutoSize = True + Me.Panel1.AutoSize = true Me.Panel1.Controls.Add(Me.txtColor) Me.Panel1.Controls.Add(Me.btnColor) Me.Panel1.Controls.Add(Me.btnNewLayer) @@ -1207,7 +1208,7 @@ Partial Class Form1 Me.txtColor.BackColor = System.Drawing.SystemColors.ControlLightLight Me.txtColor.Location = New System.Drawing.Point(175, 0) Me.txtColor.Name = "txtColor" - Me.txtColor.ReadOnly = True + Me.txtColor.ReadOnly = true Me.txtColor.Size = New System.Drawing.Size(41, 20) Me.txtColor.TabIndex = 1 ' @@ -1218,7 +1219,7 @@ Partial Class Form1 Me.btnColor.Size = New System.Drawing.Size(70, 24) Me.btnColor.TabIndex = 28 Me.btnColor.Text = "Color" - Me.btnColor.UseVisualStyleBackColor = True + Me.btnColor.UseVisualStyleBackColor = true ' 'btnNewLayer ' @@ -1228,7 +1229,7 @@ Partial Class Form1 Me.btnNewLayer.Size = New System.Drawing.Size(70, 24) Me.btnNewLayer.TabIndex = 27 Me.btnNewLayer.Text = "New Layer" - Me.btnNewLayer.UseVisualStyleBackColor = True + Me.btnNewLayer.UseVisualStyleBackColor = true ' 'txtPartLay ' @@ -1236,7 +1237,7 @@ Partial Class Form1 Me.txtPartLay.Location = New System.Drawing.Point(3, 0) Me.txtPartLay.Margin = New System.Windows.Forms.Padding(2, 0, 2, 2) Me.txtPartLay.Name = "txtPartLay" - Me.txtPartLay.ReadOnly = True + Me.txtPartLay.ReadOnly = true Me.txtPartLay.Size = New System.Drawing.Size(173, 20) Me.txtPartLay.TabIndex = 25 ' @@ -1248,11 +1249,11 @@ Partial Class Form1 Me.btnNewPart.Size = New System.Drawing.Size(70, 24) Me.btnNewPart.TabIndex = 26 Me.btnNewPart.Text = "New Part" - Me.btnNewPart.UseVisualStyleBackColor = True + Me.btnNewPart.UseVisualStyleBackColor = true ' 'InputBox ' - Me.InputBox.AutoSize = True + Me.InputBox.AutoSize = true Me.InputBox.Controls.Add(Me.btnDone) Me.InputBox.Controls.Add(Me.btnShow) Me.InputBox.Controls.Add(Me.InputCheck) @@ -1260,13 +1261,13 @@ Partial Class Form1 Me.InputBox.Controls.Add(Me.InputLabel) Me.InputBox.Controls.Add(Me.InputCombo) Me.InputBox.Dock = System.Windows.Forms.DockStyle.Fill - Me.InputBox.Font = New System.Drawing.Font("Microsoft Sans Serif", 10.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte)) + Me.InputBox.Font = New System.Drawing.Font("Microsoft Sans Serif", 10.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0,Byte)) Me.InputBox.Location = New System.Drawing.Point(1, 313) Me.InputBox.Margin = New System.Windows.Forms.Padding(1, 3, 1, 3) Me.InputBox.Name = "InputBox" Me.InputBox.Size = New System.Drawing.Size(218, 154) Me.InputBox.TabIndex = 26 - Me.InputBox.TabStop = False + Me.InputBox.TabStop = false ' 'btnDone ' @@ -1275,7 +1276,7 @@ Partial Class Form1 Me.btnDone.Size = New System.Drawing.Size(75, 23) Me.btnDone.TabIndex = 4 Me.btnDone.Text = "Done" - Me.btnDone.UseVisualStyleBackColor = True + Me.btnDone.UseVisualStyleBackColor = true ' 'btnShow ' @@ -1284,44 +1285,44 @@ Partial Class Form1 Me.btnShow.Size = New System.Drawing.Size(75, 23) Me.btnShow.TabIndex = 3 Me.btnShow.Text = "Show" - Me.btnShow.UseVisualStyleBackColor = True + Me.btnShow.UseVisualStyleBackColor = true ' 'InputCheck ' - Me.InputCheck.Font = New System.Drawing.Font("Microsoft Sans Serif", 10.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte)) + Me.InputCheck.Font = New System.Drawing.Font("Microsoft Sans Serif", 10.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0,Byte)) Me.InputCheck.Location = New System.Drawing.Point(9, 69) Me.InputCheck.Name = "InputCheck" Me.InputCheck.Size = New System.Drawing.Size(205, 23) Me.InputCheck.TabIndex = 2 - Me.InputCheck.UseVisualStyleBackColor = True - Me.InputCheck.Visible = False + Me.InputCheck.UseVisualStyleBackColor = true + Me.InputCheck.Visible = false ' 'InputText ' - Me.InputText.Font = New System.Drawing.Font("Microsoft Sans Serif", 10.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte)) + Me.InputText.Font = New System.Drawing.Font("Microsoft Sans Serif", 10.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0,Byte)) Me.InputText.Location = New System.Drawing.Point(5, 42) Me.InputText.MinimumSize = New System.Drawing.Size(188, 26) Me.InputText.Name = "InputText" Me.InputText.Size = New System.Drawing.Size(209, 23) Me.InputText.TabIndex = 1 - Me.InputText.Visible = False + Me.InputText.Visible = false ' 'InputLabel ' - Me.InputLabel.Font = New System.Drawing.Font("Microsoft Sans Serif", 10.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte)) + Me.InputLabel.Font = New System.Drawing.Font("Microsoft Sans Serif", 10.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0,Byte)) Me.InputLabel.Location = New System.Drawing.Point(3, 17) Me.InputLabel.Name = "InputLabel" Me.InputLabel.Size = New System.Drawing.Size(215, 23) Me.InputLabel.TabIndex = 0 Me.InputLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft - Me.InputLabel.Visible = False + Me.InputLabel.Visible = false ' 'InputCombo ' - Me.InputCombo.AllowDrop = True + Me.InputCombo.AllowDrop = true Me.InputCombo.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList - Me.InputCombo.Font = New System.Drawing.Font("Microsoft Sans Serif", 10.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte)) - Me.InputCombo.FormattingEnabled = True + Me.InputCombo.Font = New System.Drawing.Font("Microsoft Sans Serif", 10.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0,Byte)) + Me.InputCombo.FormattingEnabled = true Me.InputCombo.Location = New System.Drawing.Point(26, 95) Me.InputCombo.Margin = New System.Windows.Forms.Padding(0) Me.InputCombo.MaxDropDownItems = 4 @@ -1338,10 +1339,10 @@ Partial Class Form1 Me.TabControl2.Controls.Add(Me.TabTransform) Me.TabControl2.Controls.Add(Me.TabSpecial) Me.TabControl2.Dock = System.Windows.Forms.DockStyle.Fill - Me.TabControl2.HotTrack = True + Me.TabControl2.HotTrack = true Me.TabControl2.Location = New System.Drawing.Point(0, 82) Me.TabControl2.Margin = New System.Windows.Forms.Padding(0) - Me.TabControl2.Multiline = True + Me.TabControl2.Multiline = true Me.TabControl2.Name = "TabControl2" Me.TabControl2.SelectedIndex = 0 Me.TabControl2.Size = New System.Drawing.Size(89, 541) @@ -1375,7 +1376,7 @@ Partial Class Form1 Me.btnFillet.FlatAppearance.MouseDownBackColor = System.Drawing.SystemColors.Control Me.btnFillet.FlatAppearance.MouseOverBackColor = System.Drawing.SystemColors.GradientInactiveCaption Me.btnFillet.FlatStyle = System.Windows.Forms.FlatStyle.Flat - Me.btnFillet.Image = CType(resources.GetObject("btnFillet.Image"), System.Drawing.Image) + Me.btnFillet.Image = CType(resources.GetObject("btnFillet.Image"),System.Drawing.Image) Me.btnFillet.ImageAlign = System.Drawing.ContentAlignment.TopCenter Me.btnFillet.Location = New System.Drawing.Point(3, 336) Me.btnFillet.Name = "btnFillet" @@ -1383,7 +1384,7 @@ Partial Class Form1 Me.btnFillet.TabIndex = 41 Me.btnFillet.Text = "Fillet" Me.btnFillet.TextAlign = System.Drawing.ContentAlignment.BottomCenter - Me.btnFillet.UseVisualStyleBackColor = False + Me.btnFillet.UseVisualStyleBackColor = false ' 'btnPolygon ' @@ -1392,7 +1393,7 @@ Partial Class Form1 Me.btnPolygon.FlatAppearance.MouseDownBackColor = System.Drawing.SystemColors.Control Me.btnPolygon.FlatAppearance.MouseOverBackColor = System.Drawing.SystemColors.GradientInactiveCaption Me.btnPolygon.FlatStyle = System.Windows.Forms.FlatStyle.Flat - Me.btnPolygon.Image = CType(resources.GetObject("btnPolygon.Image"), System.Drawing.Image) + Me.btnPolygon.Image = CType(resources.GetObject("btnPolygon.Image"),System.Drawing.Image) Me.btnPolygon.ImageAlign = System.Drawing.ContentAlignment.TopCenter Me.btnPolygon.Location = New System.Drawing.Point(0, 432) Me.btnPolygon.Name = "btnPolygon" @@ -1400,7 +1401,7 @@ Partial Class Form1 Me.btnPolygon.TabIndex = 40 Me.btnPolygon.Text = "Polygon" Me.btnPolygon.TextAlign = System.Drawing.ContentAlignment.BottomCenter - Me.btnPolygon.UseVisualStyleBackColor = False + Me.btnPolygon.UseVisualStyleBackColor = false ' 'btnText ' @@ -1409,7 +1410,7 @@ Partial Class Form1 Me.btnText.FlatAppearance.MouseDownBackColor = System.Drawing.SystemColors.Control Me.btnText.FlatAppearance.MouseOverBackColor = System.Drawing.SystemColors.GradientInactiveCaption Me.btnText.FlatStyle = System.Windows.Forms.FlatStyle.Flat - Me.btnText.Image = CType(resources.GetObject("btnText.Image"), System.Drawing.Image) + Me.btnText.Image = CType(resources.GetObject("btnText.Image"),System.Drawing.Image) Me.btnText.ImageAlign = System.Drawing.ContentAlignment.TopCenter Me.btnText.Location = New System.Drawing.Point(0, 480) Me.btnText.Name = "btnText" @@ -1417,7 +1418,7 @@ Partial Class Form1 Me.btnText.TabIndex = 39 Me.btnText.Text = "Text" Me.btnText.TextAlign = System.Drawing.ContentAlignment.BottomCenter - Me.btnText.UseVisualStyleBackColor = False + Me.btnText.UseVisualStyleBackColor = false ' 'btnRectangle2P ' @@ -1426,7 +1427,7 @@ Partial Class Form1 Me.btnRectangle2P.FlatAppearance.MouseDownBackColor = System.Drawing.SystemColors.Control Me.btnRectangle2P.FlatAppearance.MouseOverBackColor = System.Drawing.SystemColors.GradientInactiveCaption Me.btnRectangle2P.FlatStyle = System.Windows.Forms.FlatStyle.Flat - Me.btnRectangle2P.Image = CType(resources.GetObject("btnRectangle2P.Image"), System.Drawing.Image) + Me.btnRectangle2P.Image = CType(resources.GetObject("btnRectangle2P.Image"),System.Drawing.Image) Me.btnRectangle2P.ImageAlign = System.Drawing.ContentAlignment.TopCenter Me.btnRectangle2P.Location = New System.Drawing.Point(0, 384) Me.btnRectangle2P.Name = "btnRectangle2P" @@ -1434,7 +1435,7 @@ Partial Class Form1 Me.btnRectangle2P.TabIndex = 38 Me.btnRectangle2P.Text = "Rect 2p" Me.btnRectangle2P.TextAlign = System.Drawing.ContentAlignment.BottomCenter - Me.btnRectangle2P.UseVisualStyleBackColor = False + Me.btnRectangle2P.UseVisualStyleBackColor = false ' 'btnLinePDL ' @@ -1443,7 +1444,7 @@ Partial Class Form1 Me.btnLinePDL.FlatAppearance.MouseDownBackColor = System.Drawing.SystemColors.Control Me.btnLinePDL.FlatAppearance.MouseOverBackColor = System.Drawing.SystemColors.GradientInactiveCaption Me.btnLinePDL.FlatStyle = System.Windows.Forms.FlatStyle.Flat - Me.btnLinePDL.Image = CType(resources.GetObject("btnLinePDL.Image"), System.Drawing.Image) + Me.btnLinePDL.Image = CType(resources.GetObject("btnLinePDL.Image"),System.Drawing.Image) Me.btnLinePDL.ImageAlign = System.Drawing.ContentAlignment.TopCenter Me.btnLinePDL.Location = New System.Drawing.Point(0, 96) Me.btnLinePDL.Name = "btnLinePDL" @@ -1451,7 +1452,7 @@ Partial Class Form1 Me.btnLinePDL.TabIndex = 36 Me.btnLinePDL.Text = "Line pdl" Me.btnLinePDL.TextAlign = System.Drawing.ContentAlignment.BottomCenter - Me.btnLinePDL.UseVisualStyleBackColor = False + Me.btnLinePDL.UseVisualStyleBackColor = false ' 'btnArcPDP ' @@ -1460,7 +1461,7 @@ Partial Class Form1 Me.btnArcPDP.FlatAppearance.MouseDownBackColor = System.Drawing.SystemColors.Control Me.btnArcPDP.FlatAppearance.MouseOverBackColor = System.Drawing.SystemColors.GradientInactiveCaption Me.btnArcPDP.FlatStyle = System.Windows.Forms.FlatStyle.Flat - Me.btnArcPDP.Image = CType(resources.GetObject("btnArcPDP.Image"), System.Drawing.Image) + Me.btnArcPDP.Image = CType(resources.GetObject("btnArcPDP.Image"),System.Drawing.Image) Me.btnArcPDP.ImageAlign = System.Drawing.ContentAlignment.TopCenter Me.btnArcPDP.Location = New System.Drawing.Point(0, 288) Me.btnArcPDP.Name = "btnArcPDP" @@ -1468,7 +1469,7 @@ Partial Class Form1 Me.btnArcPDP.TabIndex = 35 Me.btnArcPDP.Text = "Arc pdp" Me.btnArcPDP.TextAlign = System.Drawing.ContentAlignment.BottomCenter - Me.btnArcPDP.UseVisualStyleBackColor = False + Me.btnArcPDP.UseVisualStyleBackColor = false ' 'btnCircle ' @@ -1477,7 +1478,7 @@ Partial Class Form1 Me.btnCircle.FlatAppearance.MouseDownBackColor = System.Drawing.SystemColors.Control Me.btnCircle.FlatAppearance.MouseOverBackColor = System.Drawing.SystemColors.GradientInactiveCaption Me.btnCircle.FlatStyle = System.Windows.Forms.FlatStyle.Flat - Me.btnCircle.Image = CType(resources.GetObject("btnCircle.Image"), System.Drawing.Image) + Me.btnCircle.Image = CType(resources.GetObject("btnCircle.Image"),System.Drawing.Image) Me.btnCircle.ImageAlign = System.Drawing.ContentAlignment.TopCenter Me.btnCircle.Location = New System.Drawing.Point(0, 144) Me.btnCircle.Name = "btnCircle" @@ -1485,7 +1486,7 @@ Partial Class Form1 Me.btnCircle.TabIndex = 34 Me.btnCircle.Text = "Circle" Me.btnCircle.TextAlign = System.Drawing.ContentAlignment.BottomCenter - Me.btnCircle.UseVisualStyleBackColor = False + Me.btnCircle.UseVisualStyleBackColor = false ' 'btnArc3P ' @@ -1494,7 +1495,7 @@ Partial Class Form1 Me.btnArc3P.FlatAppearance.MouseDownBackColor = System.Drawing.SystemColors.Control Me.btnArc3P.FlatAppearance.MouseOverBackColor = System.Drawing.SystemColors.GradientInactiveCaption Me.btnArc3P.FlatStyle = System.Windows.Forms.FlatStyle.Flat - Me.btnArc3P.Image = CType(resources.GetObject("btnArc3P.Image"), System.Drawing.Image) + Me.btnArc3P.Image = CType(resources.GetObject("btnArc3P.Image"),System.Drawing.Image) Me.btnArc3P.ImageAlign = System.Drawing.ContentAlignment.TopCenter Me.btnArc3P.Location = New System.Drawing.Point(0, 240) Me.btnArc3P.Name = "btnArc3P" @@ -1502,7 +1503,7 @@ Partial Class Form1 Me.btnArc3P.TabIndex = 33 Me.btnArc3P.Text = "Arc 3p" Me.btnArc3P.TextAlign = System.Drawing.ContentAlignment.BottomCenter - Me.btnArc3P.UseVisualStyleBackColor = False + Me.btnArc3P.UseVisualStyleBackColor = false ' 'btnArcCSE ' @@ -1511,7 +1512,7 @@ Partial Class Form1 Me.btnArcCSE.FlatAppearance.MouseDownBackColor = System.Drawing.SystemColors.Control Me.btnArcCSE.FlatAppearance.MouseOverBackColor = System.Drawing.SystemColors.GradientInactiveCaption Me.btnArcCSE.FlatStyle = System.Windows.Forms.FlatStyle.Flat - Me.btnArcCSE.Image = CType(resources.GetObject("btnArcCSE.Image"), System.Drawing.Image) + Me.btnArcCSE.Image = CType(resources.GetObject("btnArcCSE.Image"),System.Drawing.Image) Me.btnArcCSE.ImageAlign = System.Drawing.ContentAlignment.TopCenter Me.btnArcCSE.Location = New System.Drawing.Point(0, 192) Me.btnArcCSE.Name = "btnArcCSE" @@ -1519,7 +1520,7 @@ Partial Class Form1 Me.btnArcCSE.TabIndex = 32 Me.btnArcCSE.Text = "Arc cse" Me.btnArcCSE.TextAlign = System.Drawing.ContentAlignment.BottomCenter - Me.btnArcCSE.UseVisualStyleBackColor = False + Me.btnArcCSE.UseVisualStyleBackColor = false ' 'btnPoint ' @@ -1528,7 +1529,7 @@ Partial Class Form1 Me.btnPoint.FlatAppearance.MouseDownBackColor = System.Drawing.SystemColors.Control Me.btnPoint.FlatAppearance.MouseOverBackColor = System.Drawing.SystemColors.GradientInactiveCaption Me.btnPoint.FlatStyle = System.Windows.Forms.FlatStyle.Flat - Me.btnPoint.Image = CType(resources.GetObject("btnPoint.Image"), System.Drawing.Image) + Me.btnPoint.Image = CType(resources.GetObject("btnPoint.Image"),System.Drawing.Image) Me.btnPoint.ImageAlign = System.Drawing.ContentAlignment.TopCenter Me.btnPoint.Location = New System.Drawing.Point(0, 0) Me.btnPoint.Name = "btnPoint" @@ -1536,7 +1537,7 @@ Partial Class Form1 Me.btnPoint.TabIndex = 31 Me.btnPoint.Text = "Point" Me.btnPoint.TextAlign = System.Drawing.ContentAlignment.BottomCenter - Me.btnPoint.UseVisualStyleBackColor = False + Me.btnPoint.UseVisualStyleBackColor = false ' 'btnLine2P ' @@ -1545,7 +1546,7 @@ Partial Class Form1 Me.btnLine2P.FlatAppearance.MouseDownBackColor = System.Drawing.SystemColors.Control Me.btnLine2P.FlatAppearance.MouseOverBackColor = System.Drawing.SystemColors.GradientInactiveCaption Me.btnLine2P.FlatStyle = System.Windows.Forms.FlatStyle.Flat - Me.btnLine2P.Image = CType(resources.GetObject("btnLine2P.Image"), System.Drawing.Image) + Me.btnLine2P.Image = CType(resources.GetObject("btnLine2P.Image"),System.Drawing.Image) Me.btnLine2P.ImageAlign = System.Drawing.ContentAlignment.TopCenter Me.btnLine2P.Location = New System.Drawing.Point(0, 48) Me.btnLine2P.Name = "btnLine2P" @@ -1553,11 +1554,12 @@ Partial Class Form1 Me.btnLine2P.TabIndex = 30 Me.btnLine2P.Text = "Line 2p" Me.btnLine2P.TextAlign = System.Drawing.ContentAlignment.BottomCenter - Me.btnLine2P.UseVisualStyleBackColor = False + Me.btnLine2P.UseVisualStyleBackColor = false ' 'TabConstruct ' Me.TabConstruct.BackColor = System.Drawing.SystemColors.Control + Me.TabConstruct.Controls.Add(Me.btnSwept) Me.TabConstruct.Controls.Add(Me.btnExplodeSurf) Me.TabConstruct.Controls.Add(Me.btnMergeSurf) Me.TabConstruct.Controls.Add(Me.btnInvertSurf) @@ -1579,16 +1581,16 @@ Partial Class Form1 Me.btnExplodeSurf.FlatAppearance.MouseDownBackColor = System.Drawing.SystemColors.Control Me.btnExplodeSurf.FlatAppearance.MouseOverBackColor = System.Drawing.SystemColors.GradientInactiveCaption Me.btnExplodeSurf.FlatStyle = System.Windows.Forms.FlatStyle.Flat - Me.btnExplodeSurf.Font = New System.Drawing.Font("Microsoft Sans Serif", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte)) - Me.btnExplodeSurf.Image = CType(resources.GetObject("btnExplodeSurf.Image"), System.Drawing.Image) + Me.btnExplodeSurf.Font = New System.Drawing.Font("Microsoft Sans Serif", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0,Byte)) + Me.btnExplodeSurf.Image = CType(resources.GetObject("btnExplodeSurf.Image"),System.Drawing.Image) Me.btnExplodeSurf.ImageAlign = System.Drawing.ContentAlignment.TopCenter - Me.btnExplodeSurf.Location = New System.Drawing.Point(0, 288) + Me.btnExplodeSurf.Location = New System.Drawing.Point(0, 336) Me.btnExplodeSurf.Name = "btnExplodeSurf" Me.btnExplodeSurf.Size = New System.Drawing.Size(56, 48) Me.btnExplodeSurf.TabIndex = 44 Me.btnExplodeSurf.Text = "Explode" Me.btnExplodeSurf.TextAlign = System.Drawing.ContentAlignment.BottomCenter - Me.btnExplodeSurf.UseVisualStyleBackColor = False + Me.btnExplodeSurf.UseVisualStyleBackColor = false ' 'btnMergeSurf ' @@ -1597,16 +1599,16 @@ Partial Class Form1 Me.btnMergeSurf.FlatAppearance.MouseDownBackColor = System.Drawing.SystemColors.Control Me.btnMergeSurf.FlatAppearance.MouseOverBackColor = System.Drawing.SystemColors.GradientInactiveCaption Me.btnMergeSurf.FlatStyle = System.Windows.Forms.FlatStyle.Flat - Me.btnMergeSurf.Font = New System.Drawing.Font("Microsoft Sans Serif", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte)) - Me.btnMergeSurf.Image = CType(resources.GetObject("btnMergeSurf.Image"), System.Drawing.Image) + Me.btnMergeSurf.Font = New System.Drawing.Font("Microsoft Sans Serif", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0,Byte)) + Me.btnMergeSurf.Image = CType(resources.GetObject("btnMergeSurf.Image"),System.Drawing.Image) Me.btnMergeSurf.ImageAlign = System.Drawing.ContentAlignment.TopCenter - Me.btnMergeSurf.Location = New System.Drawing.Point(0, 240) + Me.btnMergeSurf.Location = New System.Drawing.Point(0, 288) Me.btnMergeSurf.Name = "btnMergeSurf" Me.btnMergeSurf.Size = New System.Drawing.Size(56, 48) Me.btnMergeSurf.TabIndex = 43 Me.btnMergeSurf.Text = "Merge" Me.btnMergeSurf.TextAlign = System.Drawing.ContentAlignment.BottomCenter - Me.btnMergeSurf.UseVisualStyleBackColor = False + Me.btnMergeSurf.UseVisualStyleBackColor = false ' 'btnInvertSurf ' @@ -1615,16 +1617,16 @@ Partial Class Form1 Me.btnInvertSurf.FlatAppearance.MouseDownBackColor = System.Drawing.SystemColors.Control Me.btnInvertSurf.FlatAppearance.MouseOverBackColor = System.Drawing.SystemColors.GradientInactiveCaption Me.btnInvertSurf.FlatStyle = System.Windows.Forms.FlatStyle.Flat - Me.btnInvertSurf.Font = New System.Drawing.Font("Microsoft Sans Serif", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte)) - Me.btnInvertSurf.Image = CType(resources.GetObject("btnInvertSurf.Image"), System.Drawing.Image) + Me.btnInvertSurf.Font = New System.Drawing.Font("Microsoft Sans Serif", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0,Byte)) + Me.btnInvertSurf.Image = CType(resources.GetObject("btnInvertSurf.Image"),System.Drawing.Image) Me.btnInvertSurf.ImageAlign = System.Drawing.ContentAlignment.TopCenter - Me.btnInvertSurf.Location = New System.Drawing.Point(0, 336) + Me.btnInvertSurf.Location = New System.Drawing.Point(0, 384) Me.btnInvertSurf.Name = "btnInvertSurf" Me.btnInvertSurf.Size = New System.Drawing.Size(56, 48) Me.btnInvertSurf.TabIndex = 42 Me.btnInvertSurf.Text = "Flip Surf" Me.btnInvertSurf.TextAlign = System.Drawing.ContentAlignment.BottomCenter - Me.btnInvertSurf.UseVisualStyleBackColor = False + Me.btnInvertSurf.UseVisualStyleBackColor = false ' 'btnRevolve ' @@ -1633,7 +1635,7 @@ Partial Class Form1 Me.btnRevolve.FlatAppearance.MouseDownBackColor = System.Drawing.SystemColors.Control Me.btnRevolve.FlatAppearance.MouseOverBackColor = System.Drawing.SystemColors.GradientInactiveCaption Me.btnRevolve.FlatStyle = System.Windows.Forms.FlatStyle.Flat - Me.btnRevolve.Image = CType(resources.GetObject("btnRevolve.Image"), System.Drawing.Image) + Me.btnRevolve.Image = CType(resources.GetObject("btnRevolve.Image"),System.Drawing.Image) Me.btnRevolve.ImageAlign = System.Drawing.ContentAlignment.TopCenter Me.btnRevolve.Location = New System.Drawing.Point(3, 96) Me.btnRevolve.Margin = New System.Windows.Forms.Padding(0) @@ -1642,7 +1644,7 @@ Partial Class Form1 Me.btnRevolve.TabIndex = 37 Me.btnRevolve.Text = "Revolve" Me.btnRevolve.TextAlign = System.Drawing.ContentAlignment.BottomCenter - Me.btnRevolve.UseVisualStyleBackColor = False + Me.btnRevolve.UseVisualStyleBackColor = false ' 'btnRuled ' @@ -1651,16 +1653,16 @@ Partial Class Form1 Me.btnRuled.FlatAppearance.MouseDownBackColor = System.Drawing.SystemColors.Control Me.btnRuled.FlatAppearance.MouseOverBackColor = System.Drawing.SystemColors.GradientInactiveCaption Me.btnRuled.FlatStyle = System.Windows.Forms.FlatStyle.Flat - Me.btnRuled.Image = CType(resources.GetObject("btnRuled.Image"), System.Drawing.Image) + Me.btnRuled.Image = CType(resources.GetObject("btnRuled.Image"),System.Drawing.Image) Me.btnRuled.ImageAlign = System.Drawing.ContentAlignment.TopCenter - Me.btnRuled.Location = New System.Drawing.Point(0, 192) + Me.btnRuled.Location = New System.Drawing.Point(0, 240) Me.btnRuled.Margin = New System.Windows.Forms.Padding(0) Me.btnRuled.Name = "btnRuled" Me.btnRuled.Size = New System.Drawing.Size(56, 48) Me.btnRuled.TabIndex = 36 Me.btnRuled.Text = "Ruled" Me.btnRuled.TextAlign = System.Drawing.ContentAlignment.BottomCenter - Me.btnRuled.UseVisualStyleBackColor = False + Me.btnRuled.UseVisualStyleBackColor = false ' 'btnScrew ' @@ -1669,7 +1671,7 @@ Partial Class Form1 Me.btnScrew.FlatAppearance.MouseDownBackColor = System.Drawing.SystemColors.Control Me.btnScrew.FlatAppearance.MouseOverBackColor = System.Drawing.SystemColors.GradientInactiveCaption Me.btnScrew.FlatStyle = System.Windows.Forms.FlatStyle.Flat - Me.btnScrew.Image = CType(resources.GetObject("btnScrew.Image"), System.Drawing.Image) + Me.btnScrew.Image = CType(resources.GetObject("btnScrew.Image"),System.Drawing.Image) Me.btnScrew.ImageAlign = System.Drawing.ContentAlignment.TopCenter Me.btnScrew.Location = New System.Drawing.Point(0, 144) Me.btnScrew.Margin = New System.Windows.Forms.Padding(0) @@ -1678,7 +1680,7 @@ Partial Class Form1 Me.btnScrew.TabIndex = 35 Me.btnScrew.Text = "Screw" Me.btnScrew.TextAlign = System.Drawing.ContentAlignment.BottomCenter - Me.btnScrew.UseVisualStyleBackColor = False + Me.btnScrew.UseVisualStyleBackColor = false ' 'btnExtrude ' @@ -1687,7 +1689,7 @@ Partial Class Form1 Me.btnExtrude.FlatAppearance.MouseDownBackColor = System.Drawing.SystemColors.Control Me.btnExtrude.FlatAppearance.MouseOverBackColor = System.Drawing.SystemColors.GradientInactiveCaption Me.btnExtrude.FlatStyle = System.Windows.Forms.FlatStyle.Flat - Me.btnExtrude.Image = CType(resources.GetObject("btnExtrude.Image"), System.Drawing.Image) + Me.btnExtrude.Image = CType(resources.GetObject("btnExtrude.Image"),System.Drawing.Image) Me.btnExtrude.ImageAlign = System.Drawing.ContentAlignment.TopCenter Me.btnExtrude.Location = New System.Drawing.Point(0, 48) Me.btnExtrude.Margin = New System.Windows.Forms.Padding(0) @@ -1696,7 +1698,7 @@ Partial Class Form1 Me.btnExtrude.TabIndex = 34 Me.btnExtrude.Text = "Extrude" Me.btnExtrude.TextAlign = System.Drawing.ContentAlignment.BottomCenter - Me.btnExtrude.UseVisualStyleBackColor = False + Me.btnExtrude.UseVisualStyleBackColor = false ' 'btnPlane ' @@ -1705,7 +1707,7 @@ Partial Class Form1 Me.btnPlane.FlatAppearance.MouseDownBackColor = System.Drawing.SystemColors.Control Me.btnPlane.FlatAppearance.MouseOverBackColor = System.Drawing.SystemColors.GradientInactiveCaption Me.btnPlane.FlatStyle = System.Windows.Forms.FlatStyle.Flat - Me.btnPlane.Image = CType(resources.GetObject("btnPlane.Image"), System.Drawing.Image) + Me.btnPlane.Image = CType(resources.GetObject("btnPlane.Image"),System.Drawing.Image) Me.btnPlane.ImageAlign = System.Drawing.ContentAlignment.TopCenter Me.btnPlane.Location = New System.Drawing.Point(0, 0) Me.btnPlane.Margin = New System.Windows.Forms.Padding(0) @@ -1714,7 +1716,7 @@ Partial Class Form1 Me.btnPlane.TabIndex = 33 Me.btnPlane.Text = "Plane" Me.btnPlane.TextAlign = System.Drawing.ContentAlignment.BottomCenter - Me.btnPlane.UseVisualStyleBackColor = False + Me.btnPlane.UseVisualStyleBackColor = false ' 'TabEdit ' @@ -1742,7 +1744,7 @@ Partial Class Form1 Me.btnChangeStartCurve.FlatAppearance.MouseDownBackColor = System.Drawing.SystemColors.Control Me.btnChangeStartCurve.FlatAppearance.MouseOverBackColor = System.Drawing.SystemColors.GradientInactiveCaption Me.btnChangeStartCurve.FlatStyle = System.Windows.Forms.FlatStyle.Flat - Me.btnChangeStartCurve.Image = CType(resources.GetObject("btnChangeStartCurve.Image"), System.Drawing.Image) + Me.btnChangeStartCurve.Image = CType(resources.GetObject("btnChangeStartCurve.Image"),System.Drawing.Image) Me.btnChangeStartCurve.ImageAlign = System.Drawing.ContentAlignment.TopCenter Me.btnChangeStartCurve.Location = New System.Drawing.Point(3, 384) Me.btnChangeStartCurve.Name = "btnChangeStartCurve" @@ -1750,7 +1752,7 @@ Partial Class Form1 Me.btnChangeStartCurve.TabIndex = 41 Me.btnChangeStartCurve.Text = "Start" Me.btnChangeStartCurve.TextAlign = System.Drawing.ContentAlignment.BottomCenter - Me.btnChangeStartCurve.UseVisualStyleBackColor = False + Me.btnChangeStartCurve.UseVisualStyleBackColor = false ' 'btnChangeLayer ' @@ -1759,7 +1761,7 @@ Partial Class Form1 Me.btnChangeLayer.FlatAppearance.MouseDownBackColor = System.Drawing.SystemColors.Control Me.btnChangeLayer.FlatAppearance.MouseOverBackColor = System.Drawing.SystemColors.GradientInactiveCaption Me.btnChangeLayer.FlatStyle = System.Windows.Forms.FlatStyle.Flat - Me.btnChangeLayer.Image = CType(resources.GetObject("btnChangeLayer.Image"), System.Drawing.Image) + Me.btnChangeLayer.Image = CType(resources.GetObject("btnChangeLayer.Image"),System.Drawing.Image) Me.btnChangeLayer.ImageAlign = System.Drawing.ContentAlignment.TopCenter Me.btnChangeLayer.Location = New System.Drawing.Point(0, 48) Me.btnChangeLayer.Name = "btnChangeLayer" @@ -1767,7 +1769,7 @@ Partial Class Form1 Me.btnChangeLayer.TabIndex = 35 Me.btnChangeLayer.Text = "Layer" Me.btnChangeLayer.TextAlign = System.Drawing.ContentAlignment.BottomCenter - Me.btnChangeLayer.UseVisualStyleBackColor = False + Me.btnChangeLayer.UseVisualStyleBackColor = false ' 'btnSetCurveTh ' @@ -1776,8 +1778,8 @@ Partial Class Form1 Me.btnSetCurveTh.FlatAppearance.MouseDownBackColor = System.Drawing.SystemColors.Control Me.btnSetCurveTh.FlatAppearance.MouseOverBackColor = System.Drawing.SystemColors.GradientInactiveCaption Me.btnSetCurveTh.FlatStyle = System.Windows.Forms.FlatStyle.Flat - Me.btnSetCurveTh.Font = New System.Drawing.Font("Microsoft Sans Serif", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte)) - Me.btnSetCurveTh.Image = CType(resources.GetObject("btnSetCurveTh.Image"), System.Drawing.Image) + Me.btnSetCurveTh.Font = New System.Drawing.Font("Microsoft Sans Serif", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0,Byte)) + Me.btnSetCurveTh.Image = CType(resources.GetObject("btnSetCurveTh.Image"),System.Drawing.Image) Me.btnSetCurveTh.ImageAlign = System.Drawing.ContentAlignment.TopCenter Me.btnSetCurveTh.Location = New System.Drawing.Point(0, 432) Me.btnSetCurveTh.Name = "btnSetCurveTh" @@ -1785,7 +1787,7 @@ Partial Class Form1 Me.btnSetCurveTh.TabIndex = 40 Me.btnSetCurveTh.Text = "CurveTh" Me.btnSetCurveTh.TextAlign = System.Drawing.ContentAlignment.BottomCenter - Me.btnSetCurveTh.UseVisualStyleBackColor = False + Me.btnSetCurveTh.UseVisualStyleBackColor = false ' 'btnExtendCurve ' @@ -1794,8 +1796,8 @@ Partial Class Form1 Me.btnExtendCurve.FlatAppearance.MouseDownBackColor = System.Drawing.SystemColors.Control Me.btnExtendCurve.FlatAppearance.MouseOverBackColor = System.Drawing.SystemColors.GradientInactiveCaption Me.btnExtendCurve.FlatStyle = System.Windows.Forms.FlatStyle.Flat - Me.btnExtendCurve.Font = New System.Drawing.Font("Microsoft Sans Serif", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte)) - Me.btnExtendCurve.Image = CType(resources.GetObject("btnExtendCurve.Image"), System.Drawing.Image) + Me.btnExtendCurve.Font = New System.Drawing.Font("Microsoft Sans Serif", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0,Byte)) + Me.btnExtendCurve.Image = CType(resources.GetObject("btnExtendCurve.Image"),System.Drawing.Image) Me.btnExtendCurve.ImageAlign = System.Drawing.ContentAlignment.TopCenter Me.btnExtendCurve.Location = New System.Drawing.Point(0, 192) Me.btnExtendCurve.Name = "btnExtendCurve" @@ -1803,7 +1805,7 @@ Partial Class Form1 Me.btnExtendCurve.TabIndex = 39 Me.btnExtendCurve.Text = "Trim/Ext" Me.btnExtendCurve.TextAlign = System.Drawing.ContentAlignment.BottomCenter - Me.btnExtendCurve.UseVisualStyleBackColor = False + Me.btnExtendCurve.UseVisualStyleBackColor = false ' 'btnBreakCurve ' @@ -1812,7 +1814,7 @@ Partial Class Form1 Me.btnBreakCurve.FlatAppearance.MouseDownBackColor = System.Drawing.SystemColors.Control Me.btnBreakCurve.FlatAppearance.MouseOverBackColor = System.Drawing.SystemColors.GradientInactiveCaption Me.btnBreakCurve.FlatStyle = System.Windows.Forms.FlatStyle.Flat - Me.btnBreakCurve.Image = CType(resources.GetObject("btnBreakCurve.Image"), System.Drawing.Image) + Me.btnBreakCurve.Image = CType(resources.GetObject("btnBreakCurve.Image"),System.Drawing.Image) Me.btnBreakCurve.ImageAlign = System.Drawing.ContentAlignment.TopCenter Me.btnBreakCurve.Location = New System.Drawing.Point(0, 240) Me.btnBreakCurve.Name = "btnBreakCurve" @@ -1820,7 +1822,7 @@ Partial Class Form1 Me.btnBreakCurve.TabIndex = 38 Me.btnBreakCurve.Text = "Break" Me.btnBreakCurve.TextAlign = System.Drawing.ContentAlignment.BottomCenter - Me.btnBreakCurve.UseVisualStyleBackColor = False + Me.btnBreakCurve.UseVisualStyleBackColor = false ' 'btnChangeColor ' @@ -1829,7 +1831,7 @@ Partial Class Form1 Me.btnChangeColor.FlatAppearance.MouseDownBackColor = System.Drawing.SystemColors.Control Me.btnChangeColor.FlatAppearance.MouseOverBackColor = System.Drawing.SystemColors.GradientInactiveCaption Me.btnChangeColor.FlatStyle = System.Windows.Forms.FlatStyle.Flat - Me.btnChangeColor.Image = CType(resources.GetObject("btnChangeColor.Image"), System.Drawing.Image) + Me.btnChangeColor.Image = CType(resources.GetObject("btnChangeColor.Image"),System.Drawing.Image) Me.btnChangeColor.ImageAlign = System.Drawing.ContentAlignment.TopCenter Me.btnChangeColor.Location = New System.Drawing.Point(0, 96) Me.btnChangeColor.Name = "btnChangeColor" @@ -1837,7 +1839,7 @@ Partial Class Form1 Me.btnChangeColor.TabIndex = 37 Me.btnChangeColor.Text = "Color" Me.btnChangeColor.TextAlign = System.Drawing.ContentAlignment.BottomCenter - Me.btnChangeColor.UseVisualStyleBackColor = False + Me.btnChangeColor.UseVisualStyleBackColor = false ' 'btnExplodeCurve ' @@ -1846,8 +1848,8 @@ Partial Class Form1 Me.btnExplodeCurve.FlatAppearance.MouseDownBackColor = System.Drawing.SystemColors.Control Me.btnExplodeCurve.FlatAppearance.MouseOverBackColor = System.Drawing.SystemColors.GradientInactiveCaption Me.btnExplodeCurve.FlatStyle = System.Windows.Forms.FlatStyle.Flat - Me.btnExplodeCurve.Font = New System.Drawing.Font("Microsoft Sans Serif", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte)) - Me.btnExplodeCurve.Image = CType(resources.GetObject("btnExplodeCurve.Image"), System.Drawing.Image) + Me.btnExplodeCurve.Font = New System.Drawing.Font("Microsoft Sans Serif", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0,Byte)) + Me.btnExplodeCurve.Image = CType(resources.GetObject("btnExplodeCurve.Image"),System.Drawing.Image) Me.btnExplodeCurve.ImageAlign = System.Drawing.ContentAlignment.TopCenter Me.btnExplodeCurve.Location = New System.Drawing.Point(0, 336) Me.btnExplodeCurve.Name = "btnExplodeCurve" @@ -1855,7 +1857,7 @@ Partial Class Form1 Me.btnExplodeCurve.TabIndex = 36 Me.btnExplodeCurve.Text = "Explode" Me.btnExplodeCurve.TextAlign = System.Drawing.ContentAlignment.BottomCenter - Me.btnExplodeCurve.UseVisualStyleBackColor = False + Me.btnExplodeCurve.UseVisualStyleBackColor = false ' 'btnJoinCurve ' @@ -1864,7 +1866,7 @@ Partial Class Form1 Me.btnJoinCurve.FlatAppearance.MouseDownBackColor = System.Drawing.SystemColors.Control Me.btnJoinCurve.FlatAppearance.MouseOverBackColor = System.Drawing.SystemColors.GradientInactiveCaption Me.btnJoinCurve.FlatStyle = System.Windows.Forms.FlatStyle.Flat - Me.btnJoinCurve.Image = CType(resources.GetObject("btnJoinCurve.Image"), System.Drawing.Image) + Me.btnJoinCurve.Image = CType(resources.GetObject("btnJoinCurve.Image"),System.Drawing.Image) Me.btnJoinCurve.ImageAlign = System.Drawing.ContentAlignment.TopCenter Me.btnJoinCurve.Location = New System.Drawing.Point(0, 288) Me.btnJoinCurve.Name = "btnJoinCurve" @@ -1872,7 +1874,7 @@ Partial Class Form1 Me.btnJoinCurve.TabIndex = 35 Me.btnJoinCurve.Text = "Join" Me.btnJoinCurve.TextAlign = System.Drawing.ContentAlignment.BottomCenter - Me.btnJoinCurve.UseVisualStyleBackColor = False + Me.btnJoinCurve.UseVisualStyleBackColor = false ' 'btnInvertCurve ' @@ -1881,7 +1883,7 @@ Partial Class Form1 Me.btnInvertCurve.FlatAppearance.MouseDownBackColor = System.Drawing.SystemColors.Control Me.btnInvertCurve.FlatAppearance.MouseOverBackColor = System.Drawing.SystemColors.GradientInactiveCaption Me.btnInvertCurve.FlatStyle = System.Windows.Forms.FlatStyle.Flat - Me.btnInvertCurve.Image = CType(resources.GetObject("btnInvertCurve.Image"), System.Drawing.Image) + Me.btnInvertCurve.Image = CType(resources.GetObject("btnInvertCurve.Image"),System.Drawing.Image) Me.btnInvertCurve.ImageAlign = System.Drawing.ContentAlignment.TopCenter Me.btnInvertCurve.Location = New System.Drawing.Point(0, 144) Me.btnInvertCurve.Name = "btnInvertCurve" @@ -1889,7 +1891,7 @@ Partial Class Form1 Me.btnInvertCurve.TabIndex = 31 Me.btnInvertCurve.Text = "Invert" Me.btnInvertCurve.TextAlign = System.Drawing.ContentAlignment.BottomCenter - Me.btnInvertCurve.UseVisualStyleBackColor = False + Me.btnInvertCurve.UseVisualStyleBackColor = false ' 'btnDelete ' @@ -1898,7 +1900,7 @@ Partial Class Form1 Me.btnDelete.FlatAppearance.MouseDownBackColor = System.Drawing.SystemColors.Control Me.btnDelete.FlatAppearance.MouseOverBackColor = System.Drawing.SystemColors.GradientInactiveCaption Me.btnDelete.FlatStyle = System.Windows.Forms.FlatStyle.Flat - Me.btnDelete.Image = CType(resources.GetObject("btnDelete.Image"), System.Drawing.Image) + Me.btnDelete.Image = CType(resources.GetObject("btnDelete.Image"),System.Drawing.Image) Me.btnDelete.ImageAlign = System.Drawing.ContentAlignment.TopCenter Me.btnDelete.Location = New System.Drawing.Point(0, 0) Me.btnDelete.Name = "btnDelete" @@ -1906,7 +1908,7 @@ Partial Class Form1 Me.btnDelete.TabIndex = 30 Me.btnDelete.Text = "Delete" Me.btnDelete.TextAlign = System.Drawing.ContentAlignment.BottomCenter - Me.btnDelete.UseVisualStyleBackColor = False + Me.btnDelete.UseVisualStyleBackColor = false ' 'TabTransform ' @@ -1929,7 +1931,7 @@ Partial Class Form1 Me.btnOffset.FlatAppearance.MouseDownBackColor = System.Drawing.SystemColors.Control Me.btnOffset.FlatAppearance.MouseOverBackColor = System.Drawing.SystemColors.GradientInactiveCaption Me.btnOffset.FlatStyle = System.Windows.Forms.FlatStyle.Flat - Me.btnOffset.Image = CType(resources.GetObject("btnOffset.Image"), System.Drawing.Image) + Me.btnOffset.Image = CType(resources.GetObject("btnOffset.Image"),System.Drawing.Image) Me.btnOffset.ImageAlign = System.Drawing.ContentAlignment.TopCenter Me.btnOffset.Location = New System.Drawing.Point(0, 192) Me.btnOffset.Name = "btnOffset" @@ -1937,7 +1939,7 @@ Partial Class Form1 Me.btnOffset.TabIndex = 34 Me.btnOffset.Text = "Offset" Me.btnOffset.TextAlign = System.Drawing.ContentAlignment.BottomCenter - Me.btnOffset.UseVisualStyleBackColor = False + Me.btnOffset.UseVisualStyleBackColor = false ' 'btnScale ' @@ -1946,7 +1948,7 @@ Partial Class Form1 Me.btnScale.FlatAppearance.MouseDownBackColor = System.Drawing.SystemColors.Control Me.btnScale.FlatAppearance.MouseOverBackColor = System.Drawing.SystemColors.GradientInactiveCaption Me.btnScale.FlatStyle = System.Windows.Forms.FlatStyle.Flat - Me.btnScale.Image = CType(resources.GetObject("btnScale.Image"), System.Drawing.Image) + Me.btnScale.Image = CType(resources.GetObject("btnScale.Image"),System.Drawing.Image) Me.btnScale.ImageAlign = System.Drawing.ContentAlignment.TopCenter Me.btnScale.Location = New System.Drawing.Point(0, 144) Me.btnScale.Name = "btnScale" @@ -1954,7 +1956,7 @@ Partial Class Form1 Me.btnScale.TabIndex = 33 Me.btnScale.Text = "Scale" Me.btnScale.TextAlign = System.Drawing.ContentAlignment.BottomCenter - Me.btnScale.UseVisualStyleBackColor = False + Me.btnScale.UseVisualStyleBackColor = false ' 'btnMirror ' @@ -1963,7 +1965,7 @@ Partial Class Form1 Me.btnMirror.FlatAppearance.MouseDownBackColor = System.Drawing.SystemColors.Control Me.btnMirror.FlatAppearance.MouseOverBackColor = System.Drawing.SystemColors.GradientInactiveCaption Me.btnMirror.FlatStyle = System.Windows.Forms.FlatStyle.Flat - Me.btnMirror.Image = CType(resources.GetObject("btnMirror.Image"), System.Drawing.Image) + Me.btnMirror.Image = CType(resources.GetObject("btnMirror.Image"),System.Drawing.Image) Me.btnMirror.ImageAlign = System.Drawing.ContentAlignment.TopCenter Me.btnMirror.Location = New System.Drawing.Point(0, 96) Me.btnMirror.Name = "btnMirror" @@ -1971,7 +1973,7 @@ Partial Class Form1 Me.btnMirror.TabIndex = 32 Me.btnMirror.Text = "Mirror" Me.btnMirror.TextAlign = System.Drawing.ContentAlignment.BottomCenter - Me.btnMirror.UseVisualStyleBackColor = False + Me.btnMirror.UseVisualStyleBackColor = false ' 'btnRotate ' @@ -1980,7 +1982,7 @@ Partial Class Form1 Me.btnRotate.FlatAppearance.MouseDownBackColor = System.Drawing.SystemColors.Control Me.btnRotate.FlatAppearance.MouseOverBackColor = System.Drawing.SystemColors.GradientInactiveCaption Me.btnRotate.FlatStyle = System.Windows.Forms.FlatStyle.Flat - Me.btnRotate.Image = CType(resources.GetObject("btnRotate.Image"), System.Drawing.Image) + Me.btnRotate.Image = CType(resources.GetObject("btnRotate.Image"),System.Drawing.Image) Me.btnRotate.ImageAlign = System.Drawing.ContentAlignment.TopCenter Me.btnRotate.Location = New System.Drawing.Point(0, 48) Me.btnRotate.Name = "btnRotate" @@ -1988,7 +1990,7 @@ Partial Class Form1 Me.btnRotate.TabIndex = 30 Me.btnRotate.Text = "Rotate" Me.btnRotate.TextAlign = System.Drawing.ContentAlignment.BottomCenter - Me.btnRotate.UseVisualStyleBackColor = False + Me.btnRotate.UseVisualStyleBackColor = false ' 'btnMove ' @@ -1997,7 +1999,7 @@ Partial Class Form1 Me.btnMove.FlatAppearance.MouseDownBackColor = System.Drawing.SystemColors.Control Me.btnMove.FlatAppearance.MouseOverBackColor = System.Drawing.SystemColors.GradientInactiveCaption Me.btnMove.FlatStyle = System.Windows.Forms.FlatStyle.Flat - Me.btnMove.Image = CType(resources.GetObject("btnMove.Image"), System.Drawing.Image) + Me.btnMove.Image = CType(resources.GetObject("btnMove.Image"),System.Drawing.Image) Me.btnMove.ImageAlign = System.Drawing.ContentAlignment.TopCenter Me.btnMove.Location = New System.Drawing.Point(0, 0) Me.btnMove.Name = "btnMove" @@ -2005,7 +2007,7 @@ Partial Class Form1 Me.btnMove.TabIndex = 29 Me.btnMove.Text = "Move" Me.btnMove.TextAlign = System.Drawing.ContentAlignment.BottomCenter - Me.btnMove.UseVisualStyleBackColor = False + Me.btnMove.UseVisualStyleBackColor = false ' 'TabSpecial ' @@ -2027,8 +2029,8 @@ Partial Class Form1 Me.btnDoors.FlatAppearance.MouseDownBackColor = System.Drawing.SystemColors.Control Me.btnDoors.FlatAppearance.MouseOverBackColor = System.Drawing.SystemColors.GradientInactiveCaption Me.btnDoors.FlatStyle = System.Windows.Forms.FlatStyle.Flat - Me.btnDoors.Font = New System.Drawing.Font("Microsoft Sans Serif", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte)) - Me.btnDoors.Image = CType(resources.GetObject("btnDoors.Image"), System.Drawing.Image) + Me.btnDoors.Font = New System.Drawing.Font("Microsoft Sans Serif", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0,Byte)) + Me.btnDoors.Image = CType(resources.GetObject("btnDoors.Image"),System.Drawing.Image) Me.btnDoors.ImageAlign = System.Drawing.ContentAlignment.TopCenter Me.btnDoors.Location = New System.Drawing.Point(0, 96) Me.btnDoors.Name = "btnDoors" @@ -2036,7 +2038,7 @@ Partial Class Form1 Me.btnDoors.TabIndex = 48 Me.btnDoors.Text = "Doors" Me.btnDoors.TextAlign = System.Drawing.ContentAlignment.BottomCenter - Me.btnDoors.UseVisualStyleBackColor = False + Me.btnDoors.UseVisualStyleBackColor = false ' 'btnFlatParts ' @@ -2045,8 +2047,8 @@ Partial Class Form1 Me.btnFlatParts.FlatAppearance.MouseDownBackColor = System.Drawing.SystemColors.Control Me.btnFlatParts.FlatAppearance.MouseOverBackColor = System.Drawing.SystemColors.GradientInactiveCaption Me.btnFlatParts.FlatStyle = System.Windows.Forms.FlatStyle.Flat - Me.btnFlatParts.Font = New System.Drawing.Font("Microsoft Sans Serif", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte)) - Me.btnFlatParts.Image = CType(resources.GetObject("btnFlatParts.Image"), System.Drawing.Image) + Me.btnFlatParts.Font = New System.Drawing.Font("Microsoft Sans Serif", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0,Byte)) + Me.btnFlatParts.Image = CType(resources.GetObject("btnFlatParts.Image"),System.Drawing.Image) Me.btnFlatParts.ImageAlign = System.Drawing.ContentAlignment.TopCenter Me.btnFlatParts.Location = New System.Drawing.Point(0, 0) Me.btnFlatParts.Name = "btnFlatParts" @@ -2054,7 +2056,7 @@ Partial Class Form1 Me.btnFlatParts.TabIndex = 47 Me.btnFlatParts.Text = "FlatParts" Me.btnFlatParts.TextAlign = System.Drawing.ContentAlignment.BottomCenter - Me.btnFlatParts.UseVisualStyleBackColor = False + Me.btnFlatParts.UseVisualStyleBackColor = false ' 'btnCompo ' @@ -2063,8 +2065,8 @@ Partial Class Form1 Me.btnCompo.FlatAppearance.MouseDownBackColor = System.Drawing.SystemColors.Control Me.btnCompo.FlatAppearance.MouseOverBackColor = System.Drawing.SystemColors.GradientInactiveCaption Me.btnCompo.FlatStyle = System.Windows.Forms.FlatStyle.Flat - Me.btnCompo.Font = New System.Drawing.Font("Microsoft Sans Serif", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte)) - Me.btnCompo.Image = CType(resources.GetObject("btnCompo.Image"), System.Drawing.Image) + Me.btnCompo.Font = New System.Drawing.Font("Microsoft Sans Serif", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0,Byte)) + Me.btnCompo.Image = CType(resources.GetObject("btnCompo.Image"),System.Drawing.Image) Me.btnCompo.ImageAlign = System.Drawing.ContentAlignment.TopCenter Me.btnCompo.Location = New System.Drawing.Point(0, 48) Me.btnCompo.Name = "btnCompo" @@ -2072,12 +2074,12 @@ Partial Class Form1 Me.btnCompo.TabIndex = 46 Me.btnCompo.Text = "Compo" Me.btnCompo.TextAlign = System.Drawing.ContentAlignment.BottomCenter - Me.btnCompo.UseVisualStyleBackColor = False + Me.btnCompo.UseVisualStyleBackColor = false ' 'StatusStrip1 ' - Me.StatusStrip1.Anchor = CType(((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Left) _ - Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles) + Me.StatusStrip1.Anchor = CType(((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Left) _ + Or System.Windows.Forms.AnchorStyles.Right),System.Windows.Forms.AnchorStyles) Me.TableLayoutPanel1.SetColumnSpan(Me.StatusStrip1, 3) Me.StatusStrip1.Dock = System.Windows.Forms.DockStyle.None Me.StatusStrip1.GripMargin = New System.Windows.Forms.Padding(0) @@ -2098,10 +2100,10 @@ Partial Class Form1 ' 'tsStatusStop ' - Me.tsStatusStop.AutoSize = False - Me.tsStatusStop.BorderSides = CType((((System.Windows.Forms.ToolStripStatusLabelBorderSides.Left Or System.Windows.Forms.ToolStripStatusLabelBorderSides.Top) _ - Or System.Windows.Forms.ToolStripStatusLabelBorderSides.Right) _ - Or System.Windows.Forms.ToolStripStatusLabelBorderSides.Bottom), System.Windows.Forms.ToolStripStatusLabelBorderSides) + Me.tsStatusStop.AutoSize = false + Me.tsStatusStop.BorderSides = CType((((System.Windows.Forms.ToolStripStatusLabelBorderSides.Left Or System.Windows.Forms.ToolStripStatusLabelBorderSides.Top) _ + Or System.Windows.Forms.ToolStripStatusLabelBorderSides.Right) _ + Or System.Windows.Forms.ToolStripStatusLabelBorderSides.Bottom),System.Windows.Forms.ToolStripStatusLabelBorderSides) Me.tsStatusStop.BorderStyle = System.Windows.Forms.Border3DStyle.Raised Me.tsStatusStop.Name = "tsStatusStop" Me.tsStatusStop.Size = New System.Drawing.Size(17, 17) @@ -2109,23 +2111,23 @@ Partial Class Form1 ' 'tsStatusOutput ' - Me.tsStatusOutput.BorderSides = CType((((System.Windows.Forms.ToolStripStatusLabelBorderSides.Left Or System.Windows.Forms.ToolStripStatusLabelBorderSides.Top) _ - Or System.Windows.Forms.ToolStripStatusLabelBorderSides.Right) _ - Or System.Windows.Forms.ToolStripStatusLabelBorderSides.Bottom), System.Windows.Forms.ToolStripStatusLabelBorderSides) + Me.tsStatusOutput.BorderSides = CType((((System.Windows.Forms.ToolStripStatusLabelBorderSides.Left Or System.Windows.Forms.ToolStripStatusLabelBorderSides.Top) _ + Or System.Windows.Forms.ToolStripStatusLabelBorderSides.Right) _ + Or System.Windows.Forms.ToolStripStatusLabelBorderSides.Bottom),System.Windows.Forms.ToolStripStatusLabelBorderSides) Me.tsStatusOutput.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text Me.tsStatusOutput.Margin = New System.Windows.Forms.Padding(1, 3, 0, 2) Me.tsStatusOutput.MergeIndex = 1 Me.tsStatusOutput.Name = "tsStatusOutput" - Me.tsStatusOutput.Size = New System.Drawing.Size(322, 17) - Me.tsStatusOutput.Spring = True + Me.tsStatusOutput.Size = New System.Drawing.Size(353, 17) + Me.tsStatusOutput.Spring = true Me.tsStatusOutput.TextAlign = System.Drawing.ContentAlignment.MiddleLeft ' 'tsStatusSnapPointType ' - Me.tsStatusSnapPointType.AutoSize = False - Me.tsStatusSnapPointType.BorderSides = CType((((System.Windows.Forms.ToolStripStatusLabelBorderSides.Left Or System.Windows.Forms.ToolStripStatusLabelBorderSides.Top) _ - Or System.Windows.Forms.ToolStripStatusLabelBorderSides.Right) _ - Or System.Windows.Forms.ToolStripStatusLabelBorderSides.Bottom), System.Windows.Forms.ToolStripStatusLabelBorderSides) + Me.tsStatusSnapPointType.AutoSize = false + Me.tsStatusSnapPointType.BorderSides = CType((((System.Windows.Forms.ToolStripStatusLabelBorderSides.Left Or System.Windows.Forms.ToolStripStatusLabelBorderSides.Top) _ + Or System.Windows.Forms.ToolStripStatusLabelBorderSides.Right) _ + Or System.Windows.Forms.ToolStripStatusLabelBorderSides.Bottom),System.Windows.Forms.ToolStripStatusLabelBorderSides) Me.tsStatusSnapPointType.Margin = New System.Windows.Forms.Padding(1, 3, 0, 2) Me.tsStatusSnapPointType.Name = "tsStatusSnapPointType" Me.tsStatusSnapPointType.Size = New System.Drawing.Size(80, 17) @@ -2133,11 +2135,11 @@ Partial Class Form1 ' 'tsStatusGrid ' - Me.tsStatusGrid.AutoSize = False + Me.tsStatusGrid.AutoSize = false Me.tsStatusGrid.BackColor = System.Drawing.SystemColors.Control - Me.tsStatusGrid.BorderSides = CType((((System.Windows.Forms.ToolStripStatusLabelBorderSides.Left Or System.Windows.Forms.ToolStripStatusLabelBorderSides.Top) _ - Or System.Windows.Forms.ToolStripStatusLabelBorderSides.Right) _ - Or System.Windows.Forms.ToolStripStatusLabelBorderSides.Bottom), System.Windows.Forms.ToolStripStatusLabelBorderSides) + Me.tsStatusGrid.BorderSides = CType((((System.Windows.Forms.ToolStripStatusLabelBorderSides.Left Or System.Windows.Forms.ToolStripStatusLabelBorderSides.Top) _ + Or System.Windows.Forms.ToolStripStatusLabelBorderSides.Right) _ + Or System.Windows.Forms.ToolStripStatusLabelBorderSides.Bottom),System.Windows.Forms.ToolStripStatusLabelBorderSides) Me.tsStatusGrid.BorderStyle = System.Windows.Forms.Border3DStyle.Raised Me.tsStatusGrid.Margin = New System.Windows.Forms.Padding(1, 3, 0, 2) Me.tsStatusGrid.Name = "tsStatusGrid" @@ -2146,11 +2148,11 @@ Partial Class Form1 ' 'tsStatusCurPosType ' - Me.tsStatusCurPosType.AutoSize = False + Me.tsStatusCurPosType.AutoSize = false Me.tsStatusCurPosType.BackColor = System.Drawing.SystemColors.Control - Me.tsStatusCurPosType.BorderSides = CType((((System.Windows.Forms.ToolStripStatusLabelBorderSides.Left Or System.Windows.Forms.ToolStripStatusLabelBorderSides.Top) _ - Or System.Windows.Forms.ToolStripStatusLabelBorderSides.Right) _ - Or System.Windows.Forms.ToolStripStatusLabelBorderSides.Bottom), System.Windows.Forms.ToolStripStatusLabelBorderSides) + Me.tsStatusCurPosType.BorderSides = CType((((System.Windows.Forms.ToolStripStatusLabelBorderSides.Left Or System.Windows.Forms.ToolStripStatusLabelBorderSides.Top) _ + Or System.Windows.Forms.ToolStripStatusLabelBorderSides.Right) _ + Or System.Windows.Forms.ToolStripStatusLabelBorderSides.Bottom),System.Windows.Forms.ToolStripStatusLabelBorderSides) Me.tsStatusCurPosType.BorderStyle = System.Windows.Forms.Border3DStyle.Raised Me.tsStatusCurPosType.Margin = New System.Windows.Forms.Padding(1, 3, 0, 2) Me.tsStatusCurPosType.Name = "tsStatusCurPosType" @@ -2159,10 +2161,10 @@ Partial Class Form1 ' 'tsStatusCursorPos ' - Me.tsStatusCursorPos.AutoSize = False - Me.tsStatusCursorPos.BorderSides = CType((((System.Windows.Forms.ToolStripStatusLabelBorderSides.Left Or System.Windows.Forms.ToolStripStatusLabelBorderSides.Top) _ - Or System.Windows.Forms.ToolStripStatusLabelBorderSides.Right) _ - Or System.Windows.Forms.ToolStripStatusLabelBorderSides.Bottom), System.Windows.Forms.ToolStripStatusLabelBorderSides) + Me.tsStatusCursorPos.AutoSize = false + Me.tsStatusCursorPos.BorderSides = CType((((System.Windows.Forms.ToolStripStatusLabelBorderSides.Left Or System.Windows.Forms.ToolStripStatusLabelBorderSides.Top) _ + Or System.Windows.Forms.ToolStripStatusLabelBorderSides.Right) _ + Or System.Windows.Forms.ToolStripStatusLabelBorderSides.Bottom),System.Windows.Forms.ToolStripStatusLabelBorderSides) Me.tsStatusCursorPos.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text Me.tsStatusCursorPos.Margin = New System.Windows.Forms.Padding(1, 3, 0, 2) Me.tsStatusCursorPos.MergeIndex = 2 @@ -2172,10 +2174,10 @@ Partial Class Form1 ' 'tsStatusUnits ' - Me.tsStatusUnits.AutoSize = False - Me.tsStatusUnits.BorderSides = CType((((System.Windows.Forms.ToolStripStatusLabelBorderSides.Left Or System.Windows.Forms.ToolStripStatusLabelBorderSides.Top) _ - Or System.Windows.Forms.ToolStripStatusLabelBorderSides.Right) _ - Or System.Windows.Forms.ToolStripStatusLabelBorderSides.Bottom), System.Windows.Forms.ToolStripStatusLabelBorderSides) + Me.tsStatusUnits.AutoSize = false + Me.tsStatusUnits.BorderSides = CType((((System.Windows.Forms.ToolStripStatusLabelBorderSides.Left Or System.Windows.Forms.ToolStripStatusLabelBorderSides.Top) _ + Or System.Windows.Forms.ToolStripStatusLabelBorderSides.Right) _ + Or System.Windows.Forms.ToolStripStatusLabelBorderSides.Bottom),System.Windows.Forms.ToolStripStatusLabelBorderSides) Me.tsStatusUnits.BorderStyle = System.Windows.Forms.Border3DStyle.Raised Me.tsStatusUnits.Margin = New System.Windows.Forms.Padding(1, 3, 0, 2) Me.tsStatusUnits.Name = "tsStatusUnits" @@ -2184,10 +2186,10 @@ Partial Class Form1 ' 'tsStatusOnR ' - Me.tsStatusOnR.AutoSize = False - Me.tsStatusOnR.BorderSides = CType((((System.Windows.Forms.ToolStripStatusLabelBorderSides.Left Or System.Windows.Forms.ToolStripStatusLabelBorderSides.Top) _ - Or System.Windows.Forms.ToolStripStatusLabelBorderSides.Right) _ - Or System.Windows.Forms.ToolStripStatusLabelBorderSides.Bottom), System.Windows.Forms.ToolStripStatusLabelBorderSides) + Me.tsStatusOnR.AutoSize = false + Me.tsStatusOnR.BorderSides = CType((((System.Windows.Forms.ToolStripStatusLabelBorderSides.Left Or System.Windows.Forms.ToolStripStatusLabelBorderSides.Top) _ + Or System.Windows.Forms.ToolStripStatusLabelBorderSides.Right) _ + Or System.Windows.Forms.ToolStripStatusLabelBorderSides.Bottom),System.Windows.Forms.ToolStripStatusLabelBorderSides) Me.tsStatusOnR.Margin = New System.Windows.Forms.Padding(1, 3, 0, 2) Me.tsStatusOnR.Name = "tsStatusOnR" Me.tsStatusOnR.Size = New System.Drawing.Size(184, 17) @@ -2195,10 +2197,10 @@ Partial Class Form1 ' 'tsStatusReg ' - Me.tsStatusReg.AutoSize = False - Me.tsStatusReg.BorderSides = CType((((System.Windows.Forms.ToolStripStatusLabelBorderSides.Left Or System.Windows.Forms.ToolStripStatusLabelBorderSides.Top) _ - Or System.Windows.Forms.ToolStripStatusLabelBorderSides.Right) _ - Or System.Windows.Forms.ToolStripStatusLabelBorderSides.Bottom), System.Windows.Forms.ToolStripStatusLabelBorderSides) + Me.tsStatusReg.AutoSize = false + Me.tsStatusReg.BorderSides = CType((((System.Windows.Forms.ToolStripStatusLabelBorderSides.Left Or System.Windows.Forms.ToolStripStatusLabelBorderSides.Top) _ + Or System.Windows.Forms.ToolStripStatusLabelBorderSides.Right) _ + Or System.Windows.Forms.ToolStripStatusLabelBorderSides.Bottom),System.Windows.Forms.ToolStripStatusLabelBorderSides) Me.tsStatusReg.Name = "tsStatusReg" Me.tsStatusReg.Size = New System.Drawing.Size(20, 17) ' @@ -2206,8 +2208,8 @@ Partial Class Form1 ' Me.ContextMenuTreeView1.Items.AddRange(New System.Windows.Forms.ToolStripItem() {Me.cmdSelectPartLayObj, Me.cmdDeselectPartLayObj, Me.ToolStripSeparator1, Me.cmdSetName, Me.cmdSetInfo, Me.ToolStripSeparator2, Me.cmdRelocatePartLayObj, Me.cmdCopyPartLayObj, Me.cmdDeletePartLayObj, Me.cmdSavePartLay}) Me.ContextMenuTreeView1.Name = "ContextMenuStrip1" - Me.ContextMenuTreeView1.ShowCheckMargin = True - Me.ContextMenuTreeView1.ShowImageMargin = False + Me.ContextMenuTreeView1.ShowCheckMargin = true + Me.ContextMenuTreeView1.ShowImageMargin = false Me.ContextMenuTreeView1.Size = New System.Drawing.Size(120, 192) ' 'cmdSelectPartLayObj @@ -2285,7 +2287,7 @@ Partial Class Form1 Me.btnGetDist.Size = New System.Drawing.Size(60, 23) Me.btnGetDist.TabIndex = 24 Me.btnGetDist.Text = "Get Dist" - Me.btnGetDist.UseVisualStyleBackColor = True + Me.btnGetDist.UseVisualStyleBackColor = true ' 'ObjTreeTimer ' @@ -2297,28 +2299,28 @@ Partial Class Form1 ' 'ToolTip1 ' - Me.ToolTip1.ShowAlways = True - Me.ToolTip1.StripAmpersands = True - Me.ToolTip1.UseFading = False + Me.ToolTip1.ShowAlways = true + Me.ToolTip1.StripAmpersands = true + Me.ToolTip1.UseFading = false ' 'ContextMenuMruFiles ' - Me.ContextMenuMruFiles.Font = New System.Drawing.Font("Segoe UI", 9.0!) + Me.ContextMenuMruFiles.Font = New System.Drawing.Font("Segoe UI", 9!) Me.ContextMenuMruFiles.Items.AddRange(New System.Windows.Forms.ToolStripItem() {Me.MruTitle, Me.MruSep, Me.MruFile1, Me.MruFile2, Me.MruFile3, Me.MruFile4, Me.MruFile5, Me.MruFile6, Me.MruFile7, Me.MruFile8}) Me.ContextMenuMruFiles.Name = "ContextMenuMruFiles" - Me.ContextMenuMruFiles.ShowCheckMargin = True - Me.ContextMenuMruFiles.ShowImageMargin = False + Me.ContextMenuMruFiles.ShowCheckMargin = true + Me.ContextMenuMruFiles.ShowImageMargin = false Me.ContextMenuMruFiles.Size = New System.Drawing.Size(161, 211) Me.ContextMenuMruFiles.Text = "Recent Files" ' 'MruTitle ' Me.MruTitle.BackColor = System.Drawing.SystemColors.Window - Me.MruTitle.CausesValidation = False - Me.MruTitle.Font = New System.Drawing.Font("Segoe UI", 9.0!, System.Drawing.FontStyle.Bold) + Me.MruTitle.CausesValidation = false + Me.MruTitle.Font = New System.Drawing.Font("Segoe UI", 9!, System.Drawing.FontStyle.Bold) Me.MruTitle.Name = "MruTitle" - Me.MruTitle.ReadOnly = True - Me.MruTitle.ShortcutsEnabled = False + Me.MruTitle.ReadOnly = true + Me.MruTitle.ShortcutsEnabled = false Me.MruTitle.Size = New System.Drawing.Size(100, 23) Me.MruTitle.Text = "Recent Files" ' @@ -2377,22 +2379,22 @@ Partial Class Form1 ' 'ContextMenuMruScripts ' - Me.ContextMenuMruScripts.Font = New System.Drawing.Font("Segoe UI", 9.0!) + Me.ContextMenuMruScripts.Font = New System.Drawing.Font("Segoe UI", 9!) Me.ContextMenuMruScripts.Items.AddRange(New System.Windows.Forms.ToolStripItem() {Me.MruSTitle, Me.MruSSep, Me.MruSFile1, Me.MruSFile2, Me.MruSFile3, Me.MruSFile4, Me.MruSFile5, Me.MruSFile6, Me.MruSFile7, Me.MruSFile8}) Me.ContextMenuMruScripts.Name = "ContextMenuMruFiles" - Me.ContextMenuMruScripts.ShowCheckMargin = True - Me.ContextMenuMruScripts.ShowImageMargin = False + Me.ContextMenuMruScripts.ShowCheckMargin = true + Me.ContextMenuMruScripts.ShowImageMargin = false Me.ContextMenuMruScripts.Size = New System.Drawing.Size(161, 211) Me.ContextMenuMruScripts.Text = "Recent Files" ' 'MruSTitle ' Me.MruSTitle.BackColor = System.Drawing.SystemColors.Window - Me.MruSTitle.CausesValidation = False - Me.MruSTitle.Font = New System.Drawing.Font("Segoe UI", 9.0!, System.Drawing.FontStyle.Bold) + Me.MruSTitle.CausesValidation = false + Me.MruSTitle.Font = New System.Drawing.Font("Segoe UI", 9!, System.Drawing.FontStyle.Bold) Me.MruSTitle.Name = "MruSTitle" - Me.MruSTitle.ReadOnly = True - Me.MruSTitle.ShortcutsEnabled = False + Me.MruSTitle.ReadOnly = true + Me.MruSTitle.ShortcutsEnabled = false Me.MruSTitle.Size = New System.Drawing.Size(100, 23) Me.MruSTitle.Text = "Recent Scripts" ' @@ -2449,55 +2451,73 @@ Partial Class Form1 Me.MruSFile8.Size = New System.Drawing.Size(160, 22) Me.MruSFile8.Text = "File8" ' + 'btnSwept + ' + Me.btnSwept.FlatAppearance.BorderColor = System.Drawing.SystemColors.Control + Me.btnSwept.FlatAppearance.BorderSize = 0 + Me.btnSwept.FlatAppearance.MouseDownBackColor = System.Drawing.SystemColors.Control + Me.btnSwept.FlatAppearance.MouseOverBackColor = System.Drawing.SystemColors.GradientInactiveCaption + Me.btnSwept.FlatStyle = System.Windows.Forms.FlatStyle.Flat + Me.btnSwept.Image = CType(resources.GetObject("btnSwept.Image"),System.Drawing.Image) + Me.btnSwept.ImageAlign = System.Drawing.ContentAlignment.TopCenter + Me.btnSwept.Location = New System.Drawing.Point(0, 192) + Me.btnSwept.Margin = New System.Windows.Forms.Padding(0) + Me.btnSwept.Name = "btnSwept" + Me.btnSwept.Size = New System.Drawing.Size(56, 48) + Me.btnSwept.TabIndex = 45 + Me.btnSwept.Text = "Swept" + Me.btnSwept.TextAlign = System.Drawing.ContentAlignment.BottomCenter + Me.btnSwept.UseVisualStyleBackColor = false + ' 'Form1 ' - Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!) + Me.AutoScaleDimensions = New System.Drawing.SizeF(6!, 13!) Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font - Me.AutoSize = True + Me.AutoSize = true Me.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None Me.ClientSize = New System.Drawing.Size(1096, 645) Me.Controls.Add(Me.TableLayoutPanel1) Me.Cursor = System.Windows.Forms.Cursors.Arrow Me.ForeColor = System.Drawing.SystemColors.ControlText - Me.Icon = CType(resources.GetObject("$this.Icon"), System.Drawing.Icon) - Me.KeyPreview = True + Me.Icon = CType(resources.GetObject("$this.Icon"),System.Drawing.Icon) + Me.KeyPreview = true Me.Margin = New System.Windows.Forms.Padding(2) Me.MinimumSize = New System.Drawing.Size(1112, 680) Me.Name = "Form1" Me.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide Me.StartPosition = System.Windows.Forms.FormStartPosition.Manual Me.Text = "Egaltech Interface Test" - Me.TableLayoutPanel1.ResumeLayout(False) - Me.TableLayoutPanel1.PerformLayout() - Me.TabControl1.ResumeLayout(False) - Me.TabFile.ResumeLayout(False) - CType(Me.PictureBox1, System.ComponentModel.ISupportInitialize).EndInit() - Me.TabView.ResumeLayout(False) - CType(Me.PictureBox5, System.ComponentModel.ISupportInitialize).EndInit() - CType(Me.PictureBox4, System.ComponentModel.ISupportInitialize).EndInit() - CType(Me.PictureBox3, System.ComponentModel.ISupportInitialize).EndInit() - Me.TabCPlane.ResumeLayout(False) - CType(Me.PictureBox2, System.ComponentModel.ISupportInitialize).EndInit() - Me.TableLayoutPanel3.ResumeLayout(False) - Me.TableLayoutPanel3.PerformLayout() - Me.Panel1.ResumeLayout(False) - Me.Panel1.PerformLayout() - Me.InputBox.ResumeLayout(False) - Me.InputBox.PerformLayout() - Me.TabControl2.ResumeLayout(False) - Me.TabDraw.ResumeLayout(False) - Me.TabConstruct.ResumeLayout(False) - Me.TabEdit.ResumeLayout(False) - Me.TabTransform.ResumeLayout(False) - Me.TabSpecial.ResumeLayout(False) - Me.StatusStrip1.ResumeLayout(False) - Me.StatusStrip1.PerformLayout() - Me.ContextMenuTreeView1.ResumeLayout(False) - Me.ContextMenuMruFiles.ResumeLayout(False) - Me.ContextMenuMruFiles.PerformLayout() - Me.ContextMenuMruScripts.ResumeLayout(False) - Me.ContextMenuMruScripts.PerformLayout() - Me.ResumeLayout(False) + Me.TableLayoutPanel1.ResumeLayout(false) + Me.TableLayoutPanel1.PerformLayout + Me.TabControl1.ResumeLayout(false) + Me.TabFile.ResumeLayout(false) + CType(Me.PictureBox1,System.ComponentModel.ISupportInitialize).EndInit + Me.TabView.ResumeLayout(false) + CType(Me.PictureBox5,System.ComponentModel.ISupportInitialize).EndInit + CType(Me.PictureBox4,System.ComponentModel.ISupportInitialize).EndInit + CType(Me.PictureBox3,System.ComponentModel.ISupportInitialize).EndInit + Me.TabCPlane.ResumeLayout(false) + CType(Me.PictureBox2,System.ComponentModel.ISupportInitialize).EndInit + Me.TableLayoutPanel3.ResumeLayout(false) + Me.TableLayoutPanel3.PerformLayout + Me.Panel1.ResumeLayout(false) + Me.Panel1.PerformLayout + Me.InputBox.ResumeLayout(false) + Me.InputBox.PerformLayout + Me.TabControl2.ResumeLayout(false) + Me.TabDraw.ResumeLayout(false) + Me.TabConstruct.ResumeLayout(false) + Me.TabEdit.ResumeLayout(false) + Me.TabTransform.ResumeLayout(false) + Me.TabSpecial.ResumeLayout(false) + Me.StatusStrip1.ResumeLayout(false) + Me.StatusStrip1.PerformLayout + Me.ContextMenuTreeView1.ResumeLayout(false) + Me.ContextMenuMruFiles.ResumeLayout(false) + Me.ContextMenuMruFiles.PerformLayout + Me.ContextMenuMruScripts.ResumeLayout(false) + Me.ContextMenuMruScripts.PerformLayout + Me.ResumeLayout(false) End Sub Friend WithEvents TableLayoutPanel1 As System.Windows.Forms.TableLayoutPanel @@ -2663,5 +2683,5 @@ End Sub Friend WithEvents btnFlatParts As System.Windows.Forms.Button Friend WithEvents tsStatusProgress As System.Windows.Forms.ToolStripProgressBar Friend WithEvents btnDoors As System.Windows.Forms.Button - + Friend WithEvents btnSwept As Button End Class diff --git a/Form1.resx b/Form1.resx index 32ab589..d264fe2 100644 --- a/Form1.resx +++ b/Form1.resx @@ -883,7 +883,7 @@ AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0 ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAADS - DgAAAk1TRnQBSQFMAgEBEAEAAWABEQFgAREBEAEAARABAAT/AQkBAAj/AUIBTQE2AQQGAAE2AQQCAAEo + DgAAAk1TRnQBSQFMAgEBEAEAAWgBEQFoAREBEAEAARABAAT/AQkBAAj/AUIBTQE2AQQGAAE2AQQCAAEo AwABQAMAAVADAAEBAQABCAYAARQYAAGAAgABgAMAAoABAAGAAwABgAEAAYABAAKAAgADwAEAAcAB3AHA AQAB8AHKAaYBAAEzBQABMwEAATMBAAEzAQACMwIAAxYBAAMcAQADIgEAAykBAANVAQADTQEAA0IBAAM5 AQABgAF8Af8BAAJQAf8BAAGTAQAB1gEAAf8B7AHMAQABxgHWAe8BAAHWAucBAAGQAakBrQIAAf8BMwMA @@ -957,7 +957,7 @@ AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0 ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAADW - CAAAAk1TRnQBSQFMAgEBAgEAAYABCAGAAQgBEAEAARABAAT/AQkBAAj/AUIBTQE2AQQGAAE2AQQCAAEo + CAAAAk1TRnQBSQFMAgEBAgEAAYgBCAGIAQgBEAEAARABAAT/AQkBAAj/AUIBTQE2AQQGAAE2AQQCAAEo AwABQAMAARADAAEBAQABCAYAAQQYAAGAAgABgAMAAoABAAGAAwABgAEAAYABAAKAAgADwAEAAcAB3AHA AQAB8AHKAaYBAAEzBQABMwEAATMBAAEzAQACMwIAAxYBAAMcAQADIgEAAykBAANVAQADTQEAA0IBAAM5 AQABgAF8Af8BAAJQAf8BAAGTAQAB1gEAAf8B7AHMAQABxgHWAe8BAAHWAucBAAGQAakBrQIAAf8BMwMA @@ -1113,6 +1113,45 @@ LAcyLAEJCZkmOZChAhISMs1yIEMPJCRkuuRAhgwkJGS65UCGEUhIyAyRgzwoSyP9x057ZBOG+opFhsiN Le7lJ1N5WmKY/LjfS/gFxQK8rhUbkHKBzS+4tQCANLm6ydIz0H38ERvlAseEfwuGyYGN99GXCsxGhjOR 4UxkOBMZzkSG8wjLC3uFfZK6X129AAAAAElFTkSuQmCC + + + + + iVBORw0KGgoAAAANSUhEUgAAACUAAAAlCAYAAADFniADAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAL + EAAACxABrSO9dQAAABl0RVh0U29mdHdhcmUAcGFpbnQubmV0IDQuMC4yMfEgaZUAAAelSURBVFhHvZcL + UFTVH8fPfe1dHo341+kxvXRSh8omKsssKpq0saaUqX9/////VI6ZZTVSUVJmCgSBr8x/Ob1g1AFBEVFC + kYfgLuzCKg9FBFx3WQFBEJbF1RBq0m6/39171ruXFdDs/5353sc5557fZ3/n3HPuEkmSfDyStO3/Dg8t + UCSk1fPKpVdQJlFrn7ue9r1RBEEFsAiXweBwuB6gMKtrXFLU1gPNcXFx8IhvZ9fLvjcqQfBZANEQEREh + oRFG7WX5x+wIBk1nqvu4HvYcVIKAIvgNALKCLyLA8sKmVgSLL2ttoVDoLys72xFMgbtP2/m12nO4LP6j + bMtYgNkC/kMLQLMG1x3qupi8Opq1SPBUbZCrtedwWczk6RHB89dnJACUN6gWAMGW7qoqA7jTtDzO1H5S + lbXHtYGuxp6DShBgEgAZ/Q0XNQLQrCWY2lvVdZ8VNtGsPQ+eog04GvvqiyIGgL4BD6iHK7bUbkyu6ulR + B6cAWB+TW1uWdPBMJy2PNbY6VFmb5i/wcB4iAPL+8uTq3h4KFv6ft6PVw0WNALRNYsXpU+q6Zfn1cta0 + QUeyrxKKMVO96o4BrDti+XdLMOi0F/+7cnlBowGy5lS3QSMAttGWQ5abb7v3gSLoPdwfgD/7ygPVpnR4 + iXaMGZuz2fQazchTry+JUg8XdZzB0Yb12nmWaO5oo8OpBfBnLwyeAEgP9glEvaq6tzfe0mMMfz85msKt + KD5hgPKz6nYIgHWf7qmzq8vR0Tsq7RPCpu+CUMO+AB4pUCDMlE9HWuNwLsquTsZfjcHx7K8dBddmFLLp + mPjAjCyI9YQ/ILSvEvcz2FFUhqFZ3ZEfyys9zpfhwBAA678oP0WnhLccn4GId40MlVTCgDn6K6+0TqlN + h2skMMhYl7p86e5qmwLmByqpZAyYxUqSXMqSVaUCWX1AgLv7sbN3UvMrtNuK1jCvXBTM3wuAdWht+Yfb + TXZlKGWpoQJJcgkHMAyYBSCerDHoyFqDSNYZdbRDZVsZFg7bYRDtcNE6f2AJ5vY+mrHLWlXKk9UAs+YA + BzA8WWtkAYYnX5WJZH25SDaYRDLt+dm0U+3rrnZyldO72GqHC43lnxcdHzJfEWoo2JoDDGRGIOvKdAAi + kK9NrOwNZoF8U6EjGytF8t1BgQZUtpUhqzs66VB3571Pv7Ae22nr4BNI3lNX7rcZ4C2WlxI4u+LLT/0G + FJs8MGp9VcbIQBvMAeR/FQL5tpIjGy0MwLDk+0Mc+bFaJKmHRRI6I5LC4STXBkbjmrY4Jf8otlHvmXGH + nMbxW0/aQtLtF2/NapIii9okPIek2y5BectNGW1hCo0shoTcyJKFyYwnM5YggBHJD9UCSanlwCzZdJgl + m+t0+vT6oPGZDd6sqWG0/mC7qRzbAGQf3s/b33kC18HJOx3Sa2VdXk/Occif2uO2OgwKj1csYTmOhEV4 + MvNTjR4yoyebjuiYLUf5gLR6bmxGA3tTZqNwV9bxoGk5Nv3j8976GIP6m2cA4l5RbDVjPc4XLHtuX4cL + g79Z2eXTNvqYC7MljUm39UH9jQqPLFwW8B8MT6Y+xpHUWg5ghMD0eh3A6G7f3iTcnW3lHtplY5/Mbeae + zXPoXyloDYT20zHwp3lH6LZCv1jlNe7VmARp9tyXpRXGVsMd2xwXMUtxh3t9oOLrXFJoTqucLTGt4T2E + UQvBOPl8+xQuZN0efmJWk3jPTqvw8C6b7umfm4W5+1r4eYVt3Pz97dybpe1CdHmX/vPKbu9wfrCtPBYC + HQRXg1sTTR3m2ZH/lKa8GysHnV/umyXqd6qcUkBao3RrRsdymeQKwv2QDd2Qr5uZ5wiK3Nei/3dhm25B + Sbu4xHhav9TUxa209LDxh5zsuloXl9pwnqVgsBkXqQPG5NYUU6g3KvxDLYQhxXp9WuM5T/grC8GYJ9dm + 85CZoCXGzkCA4VdUdgesqXGN2XjULQIMk269wGQ3D4qZ9sEQCpZk6fLOM3jlDwLURQy6yOIfKhaGdMKO + EzKYJ/QImvxMJLPU3MXAMOHfLz3A8D8eOxeYZu0P3m4f4FKsg1yqdVD8tnFA/LLuQjBCLU7ZW0oDwlq0 + e/qcVxyhOS1ycFqu9SKLUwpMaxodFGpC2KNMfEE9k9Jwnk+39vOZJwa4nY5f2Z+OD5KvGy7wcUf69ctq + +/k5JrduZpk7gGbsk8rutVNTjOZH5v7LHX30rF8Y6gVmzxAqIUev1Xuq2HTbIL+xcYDNtP8ql31U8wuz + wHKefcTgZu4pPSuOK+wLCNjbKyIUVL+KgSZFJf4e0zQ8FC4V1wQlBo9hEmrcQuyRfvZl8znPx2G+i8wq + d5MbClwkKL+XIz87BZLTzQWF/CNcAXsQV3EcPvWiqfWdVzOnQLhMoBidTscsLjrJvWQ+JzxqcHO3FPcx + 7N5eQnKd4B5Css8Qsq2TfsmSGTsuBcMWcgaDjdbKo6MSc8vdYcyshVHMxEInmVTSx4wtcLFsbg9LdgPM + DoDJ6CRkSzvaC4WCQMHgUPAzo7Hy2MgSxt1MHsprIfdnHSPjC1wMuwcygzDZZ1g5Ox4YQjYr1kj9ZTmS + r015AIRGKK3+IhD6/yJ/gYez5/A3ShtwZEvkT9r3JCIu7iouAAAAAElFTkSuQmCC diff --git a/Form1.vb b/Form1.vb index 02b4822..fac1b71 100644 --- a/Form1.vb +++ b/Form1.vb @@ -730,6 +730,7 @@ Public Class Form1 btnExtrude.Enabled = bLayerOk And bSelOk btnRevolve.Enabled = bLayerOk And bSelOk btnScrew.Enabled = bLayerOk And bSelOk + btnSwept.Enabled = bLayerOk And bSelOk btnRuled.Enabled = bLayerOk And bSelOk btnMergeSurf.Enabled = bSelOk btnExplodeSurf.Enabled = bSelOk @@ -819,6 +820,7 @@ Public Class Form1 SetTextAndToolTip(btnExtrude, 405, 406) ' Extrude / Surface : curve extrusion SetTextAndToolTip(btnRevolve, 407, 408) ' Revolve / Surface : curve revolution SetTextAndToolTip(btnScrew, 409, 410) ' Screw / Surface : curve screwing + SetTextAndToolTip(btnSwept, 419, 420) ' Swept / Surface : sweeping one curve around another SetTextAndToolTip(btnRuled, 411, 412) ' Ruled / Surface : ruled between 2 curves SetTextAndToolTip(btnMergeSurf, 413, 414) ' Merge / Merge Surfaces SetTextAndToolTip(btnExplodeSurf, 417, 418) ' Explode / Explode Surfaces @@ -1208,6 +1210,10 @@ Public Class Form1 m_Controller.ExecuteCommand(CMD.SCREW) End Sub + Private Sub btnSwept_Click(sender As System.Object, e As System.EventArgs) Handles btnSwept.Click + m_Controller.ExecuteCommand(CMD.SWEPT) + End Sub + Private Sub btnRuled_Click(sender As System.Object, e As System.EventArgs) Handles btnRuled.Click m_Controller.ExecuteCommand(CMD.RULED) End Sub @@ -1391,10 +1397,12 @@ Public Class Form1 ByVal bShowCombo As Boolean, ByVal bShowBtn As Boolean) InputBox.Text = sTitle InputBox.Show() - InputLabel.Text = sLabel - InputLabel.Show() - InputText.Text = "" - InputText.Show() + If sLabel <> "" Then + InputLabel.Text = sLabel + InputLabel.Show() + InputText.Text = "" + InputText.Show() + End If If sCheckLabel <> "" Then InputCheck.Text = sCheckLabel InputCheck.Show() @@ -1411,6 +1419,8 @@ Public Class Form1 Private Sub ResetInputBox() InputBox.Hide() + InputLabel.Hide() + InputText.Hide() InputCheck.Hide() InputCombo.Hide() btnShow.Hide() @@ -1827,7 +1837,11 @@ Public Class Form1 Private Sub MenuObjTree_ItemClicked(sender As Object, e As ToolStripItemClickedEventArgs) Handles ContextMenuTreeView1.ItemClicked If e.ClickedItem.Name = "cmdSelectPartLayObj" Then m_Controller.SetLastInteger(m_nObjTreeMenuId) - m_Controller.ExecuteCommand(CMD.SELECTPARTLAYEROBJ) + If ((ModifierKeys And Keys.Shift) <> Keys.Shift) Then + m_Controller.ExecuteCommand(CMD.SELECTPARTLAYEROBJ) + Else + m_Controller.ExecuteCommand(CMD.SELECTGROUP) + End If ElseIf e.ClickedItem.Name = "cmdDeselectPartLayObj" Then m_Controller.SetLastInteger(m_nObjTreeMenuId) m_Controller.ExecuteCommand(CMD.DESELECTPARTLAYEROBJ) diff --git a/My Project/AssemblyInfo.vb b/My Project/AssemblyInfo.vb index a9adddc..c2529c2 100644 --- a/My Project/AssemblyInfo.vb +++ b/My Project/AssemblyInfo.vb @@ -46,5 +46,5 @@ Imports System.Runtime.InteropServices ' utilizzando l'asterisco (*) come descritto di seguito: ' - - + + diff --git a/Resources/Swept.png b/Resources/Swept.png new file mode 100644 index 0000000..88f86ee Binary files /dev/null and b/Resources/Swept.png differ diff --git a/TestEIn.vbproj b/TestEIn.vbproj index e1608a1..7f55e06 100644 --- a/TestEIn.vbproj +++ b/TestEIn.vbproj @@ -237,6 +237,7 @@ Form1.vb + Designer FlatParts.vb