Files
RevitSdkSamples/SDK/Samples/DesignOptionReader/VB.NET/DesignOptionsDialog.vb
T
2019-09-11 14:43:53 +02:00

99 lines
3.6 KiB
VB.net

'
' (C) Copyright 2003-2019 by Autodesk, Inc.
'
' Permission to use, copy, modify, and distribute this software in
' object code form for any purpose and without fee is hereby granted,
' provided that the above copyright notice appears in all copies and
' that both that copyright notice and the limited warranty and
' restricted rights notice below appear in all supporting
' documentation.
'
' AUTODESK PROVIDES THIS PROGRAM "AS IS" AND WITH ALL FAULTS.
' AUTODESK SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTY OF
' MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE. AUTODESK, INC.
' DOES NOT WARRANT THAT THE OPERATION OF THE PROGRAM WILL BE
' UNINTERRUPTED OR ERROR FREE.
'
' Use, duplication, or disclosure by the U.S. Government is subject to
' restrictions set forth in FAR 52.227-19 (Commercial Computer
' Software - Restricted Rights) and DFAR 252.227-7013(c)(1)(ii)
' (Rights in Technical Data and Computer Software), as applicable.
'
Public Class DesignOptionsDialog
Inherits System.Windows.Forms.Form
#Region " Windows Form Designer generated code "
Public Sub New()
MyBase.New()
'This call is required by the Windows Form Designer.
InitializeComponent()
'Add any initialization after the InitializeComponent() call
End Sub
'Form overrides dispose to clean up the component list.
Protected Overloads Overrides Sub Dispose(ByVal disposing As Boolean)
If disposing Then
If Not (components Is Nothing) Then
components.Dispose()
End If
End If
MyBase.Dispose(disposing)
End Sub
'Required by the Windows Form Designer
Private components As System.ComponentModel.IContainer
Friend WithEvents closeButton As System.Windows.Forms.Button
'NOTE: The following procedure is required by the Windows Form Designer
'It can be modified using the Windows Form Designer.
'Do not modify it using the code editor.
Friend WithEvents DesignOptionsList As System.Windows.Forms.ListBox
<System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
Me.DesignOptionsList = New System.Windows.Forms.ListBox
Me.closeButton = New System.Windows.Forms.Button
Me.SuspendLayout()
'
'DesignOptionsList
'
Me.DesignOptionsList.Location = New System.Drawing.Point(8, 8)
Me.DesignOptionsList.Name = "DesignOptionsList"
Me.DesignOptionsList.Size = New System.Drawing.Size(272, 251)
Me.DesignOptionsList.TabIndex = 0
'
'closeButton
'
Me.closeButton.DialogResult = System.Windows.Forms.DialogResult.Cancel
Me.closeButton.Location = New System.Drawing.Point(107, 267)
Me.closeButton.Name = "closeButton"
Me.closeButton.Size = New System.Drawing.Size(75, 23)
Me.closeButton.TabIndex = 1
Me.closeButton.Text = "&Close"
Me.closeButton.UseVisualStyleBackColor = True
'
'DesignOptionsDialog
'
Me.AcceptButton = Me.closeButton
Me.AutoScaleBaseSize = New System.Drawing.Size(5, 13)
Me.CancelButton = Me.closeButton
Me.ClientSize = New System.Drawing.Size(290, 299)
Me.Controls.Add(Me.closeButton)
Me.Controls.Add(Me.DesignOptionsList)
Me.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog
Me.MaximizeBox = False
Me.MinimizeBox = False
Me.Name = "DesignOptionsDialog"
Me.ShowInTaskbar = False
Me.Text = "Design Options"
Me.ResumeLayout(False)
End Sub
#End Region
End Class