'  
'   Rebex Sample Code License
' 
'   Copyright 2025, REBEX CR s.r.o.
'   All rights reserved.
'   https://www.rebex.net/
' 
'   Permission to use, copy, modify, and/or distribute this software for any
'   purpose with or without fee is hereby granted.
' 
'   THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
'   EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
'   OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
'   NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
'   HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
'   WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
'   FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
'   OTHER DEALINGS IN THE SOFTWARE.
' 

Partial Class OptionsDialog
    ''' <summary>
    ''' Required designer variable.
    ''' </summary>
    Private components As System.ComponentModel.IContainer = Nothing

    ''' <summary>
    ''' Clean up any resources being used.
    ''' </summary>
    ''' <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
    Protected Overloads Overrides Sub Dispose(ByVal disposing As Boolean)
        If disposing AndAlso (components IsNot Nothing) Then
            components.Dispose()
        End If
        MyBase.Dispose(disposing)
    End Sub

#Region "Windows Form Designer generated code"

    ''' <summary>
    ''' Required method for Designer support - do not modify
    ''' the contents of this method with the code editor.
    ''' </summary>
    Private Sub InitializeComponent()
        Me.components = New System.ComponentModel.Container()
        Me.trackCompressionLevel = New System.Windows.Forms.TrackBar()
        Me.toolTip = New System.Windows.Forms.ToolTip(Me.components)
        Me.label1 = New System.Windows.Forms.Label()
        Me.label2 = New System.Windows.Forms.Label()
        Me.label3 = New System.Windows.Forms.Label()
        Me.label4 = New System.Windows.Forms.Label()
        Me.label5 = New System.Windows.Forms.Label()
        Me.label6 = New System.Windows.Forms.Label()
        Me.comboCompression = New System.Windows.Forms.ComboBox()
        Me.comboEncryption = New System.Windows.Forms.ComboBox()
        Me.txtPassword = New System.Windows.Forms.TextBox()
        Me.buttonCancel = New System.Windows.Forms.Button()
        Me.buttonYes = New System.Windows.Forms.Button()
        Me.txtComment = New System.Windows.Forms.TextBox()
        Me.label7 = New System.Windows.Forms.Label()
        Me.groupBox1 = New System.Windows.Forms.GroupBox()
        CType((Me.trackCompressionLevel), System.ComponentModel.ISupportInitialize).BeginInit()
        Me.groupBox1.SuspendLayout()
        Me.SuspendLayout()
        ' 
        ' trackCompressionLevel
        ' 
        Me.trackCompressionLevel.Location = New System.Drawing.Point(118, 40)
        Me.trackCompressionLevel.Margin = New System.Windows.Forms.Padding(2)
        Me.trackCompressionLevel.Maximum = 9
        Me.trackCompressionLevel.Name = "trackCompressionLevel"
        Me.trackCompressionLevel.Size = New System.Drawing.Size(181, 45)
        Me.trackCompressionLevel.TabIndex = 0
        AddHandler Me.trackCompressionLevel.ValueChanged, AddressOf Me.trackCompressionLevel_ValueChanged
        ' 
        ' label1
        ' 
        Me.label1.AutoSize = True
        Me.label1.Location = New System.Drawing.Point(25, 27)
        Me.label1.Name = "label1"
        Me.label1.Size = New System.Drawing.Size(95, 13)
        Me.label1.TabIndex = 9
        Me.label1.Text = "Compression level:"
        Me.label1.TextAlign = System.Drawing.ContentAlignment.TopRight
        ' 
        ' label2
        ' 
        Me.label2.AutoSize = True
        Me.label2.Location = New System.Drawing.Point(90, 49)
        Me.label2.Name = "label2"
        Me.label2.Size = New System.Drawing.Size(27, 13)
        Me.label2.TabIndex = 10
        Me.label2.Text = "Fast"
        Me.label2.TextAlign = System.Drawing.ContentAlignment.TopRight
        ' 
        ' label3
        ' 
        Me.label3.AutoSize = True
        Me.label3.Location = New System.Drawing.Point(304, 40)
        Me.label3.Name = "label3"
        Me.label3.Size = New System.Drawing.Size(66, 26)
        Me.label3.TabIndex = 11
        Me.label3.Text = "Best " & vbCrLf & "compression"
        ' 
        ' label4
        ' 
        Me.label4.AutoSize = True
        Me.label4.Location = New System.Drawing.Point(12, 87)
        Me.label4.Name = "label4"
        Me.label4.Size = New System.Drawing.Size(108, 13)
        Me.label4.TabIndex = 12
        Me.label4.Text = "Compression method:"
        Me.label4.TextAlign = System.Drawing.ContentAlignment.TopRight
        ' 
        ' label5
        ' 
        Me.label5.AutoSize = True
        Me.label5.Location = New System.Drawing.Point(15, 114)
        Me.label5.Name = "label5"
        Me.label5.Size = New System.Drawing.Size(105, 13)
        Me.label5.TabIndex = 13
        Me.label5.Text = "Encryption algorithm:"
        Me.label5.TextAlign = System.Drawing.ContentAlignment.TopRight
        ' 
        ' label6
        ' 
        Me.label6.AutoSize = True
        Me.label6.Location = New System.Drawing.Point(69, 159)
        Me.label6.Name = "label6"
        Me.label6.Size = New System.Drawing.Size(56, 13)
        Me.label6.TabIndex = 14
        Me.label6.Text = "Password:"
        Me.label6.TextAlign = System.Drawing.ContentAlignment.TopRight
        ' 
        ' comboCompression
        ' 
        Me.comboCompression.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList
        Me.comboCompression.FormattingEnabled = True
        Me.comboCompression.Items.AddRange(New Object() {"No compression", "Deflate", "Enhanced deflate"})
        Me.comboCompression.Location = New System.Drawing.Point(124, 82)
        Me.comboCompression.Name = "comboCompression"
        Me.comboCompression.Size = New System.Drawing.Size(246, 21)
        Me.comboCompression.TabIndex = 1
        ' 
        ' comboEncryption
        ' 
        Me.comboEncryption.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList
        Me.comboEncryption.FormattingEnabled = True
        Me.comboEncryption.Items.AddRange(New Object() {"No encryption", "AES 256", "AES 192", "AES 128", "ZIP 2.0 (considered unsecure)"})
        Me.comboEncryption.Location = New System.Drawing.Point(124, 109)
        Me.comboEncryption.Name = "comboEncryption"
        Me.comboEncryption.Size = New System.Drawing.Size(246, 21)
        Me.comboEncryption.TabIndex = 2
        ' 
        ' txtPassword
        ' 
        Me.txtPassword.Location = New System.Drawing.Point(129, 155)
        Me.txtPassword.Name = "txtPassword"
        Me.txtPassword.Size = New System.Drawing.Size(246, 20)
        Me.txtPassword.TabIndex = 3
        Me.txtPassword.UseSystemPasswordChar = True
        ' 
        ' buttonCancel
        ' 
        Me.buttonCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel
        Me.buttonCancel.Location = New System.Drawing.Point(300, 207)
        Me.buttonCancel.Name = "buttonCancel"
        Me.buttonCancel.Size = New System.Drawing.Size(75, 23)
        Me.buttonCancel.TabIndex = 6
        Me.buttonCancel.Text = "&Cancel"
        Me.buttonCancel.UseVisualStyleBackColor = True
        ' 
        ' buttonYes
        ' 
        Me.buttonYes.DialogResult = System.Windows.Forms.DialogResult.OK
        Me.buttonYes.Location = New System.Drawing.Point(219, 207)
        Me.buttonYes.Name = "buttonYes"
        Me.buttonYes.Size = New System.Drawing.Size(75, 23)
        Me.buttonYes.TabIndex = 5
        Me.buttonYes.Text = "&OK"
        Me.buttonYes.UseVisualStyleBackColor = True
        ' 
        ' txtComment
        ' 
        Me.txtComment.Location = New System.Drawing.Point(129, 181)
        Me.txtComment.Name = "txtComment"
        Me.txtComment.Size = New System.Drawing.Size(246, 20)
        Me.txtComment.TabIndex = 4
        ' 
        ' label7
        ' 
        Me.label7.AutoSize = True
        Me.label7.Location = New System.Drawing.Point(71, 184)
        Me.label7.Name = "label7"
        Me.label7.Size = New System.Drawing.Size(54, 13)
        Me.label7.TabIndex = 20
        Me.label7.Text = "Comment:"
        Me.label7.TextAlign = System.Drawing.ContentAlignment.TopRight
        ' 
        ' groupBox1
        ' 
        Me.groupBox1.Controls.Add(Me.comboCompression)
        Me.groupBox1.Controls.Add(Me.label4)
        Me.groupBox1.Controls.Add(Me.label5)
        Me.groupBox1.Controls.Add(Me.comboEncryption)
        Me.groupBox1.Controls.Add(Me.label3)
        Me.groupBox1.Controls.Add(Me.label2)
        Me.groupBox1.Controls.Add(Me.label1)
        Me.groupBox1.Controls.Add(Me.trackCompressionLevel)
        Me.groupBox1.Location = New System.Drawing.Point(5, 6)
        Me.groupBox1.Name = "groupBox1"
        Me.groupBox1.Size = New System.Drawing.Size(383, 143)
        Me.groupBox1.TabIndex = 21
        Me.groupBox1.TabStop = False
        Me.groupBox1.Text = "Applies to newly-added files"
        ' 
        ' OptionsDialog
        ' 
        Me.AcceptButton = Me.buttonYes
        Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0F, 13.0F)
        Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
        Me.CancelButton = Me.buttonCancel
        Me.ClientSize = New System.Drawing.Size(393, 238)
        Me.Controls.Add(Me.groupBox1)
        Me.Controls.Add(Me.txtComment)
        Me.Controls.Add(Me.label7)
        Me.Controls.Add(Me.label6)
        Me.Controls.Add(Me.buttonCancel)
        Me.Controls.Add(Me.buttonYes)
        Me.Controls.Add(Me.txtPassword)
        Me.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog
        Me.MaximizeBox = False
        Me.MinimizeBox = False
        Me.Name = "OptionsDialog"
        Me.ShowInTaskbar = False
        Me.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent
        Me.Text = "WinForm ZIP Options"
        CType((Me.trackCompressionLevel), System.ComponentModel.ISupportInitialize).EndInit()
        Me.groupBox1.ResumeLayout(False)
        Me.groupBox1.PerformLayout()
        Me.ResumeLayout(False)
        Me.PerformLayout()

    End Sub

#End Region

    Private trackCompressionLevel As System.Windows.Forms.TrackBar
    Private toolTip As System.Windows.Forms.ToolTip
    Private label1 As System.Windows.Forms.Label
    Private label2 As System.Windows.Forms.Label
    Private label3 As System.Windows.Forms.Label
    Private label4 As System.Windows.Forms.Label
    Private label5 As System.Windows.Forms.Label
    Private label6 As System.Windows.Forms.Label
    Private comboCompression As System.Windows.Forms.ComboBox
    Private comboEncryption As System.Windows.Forms.ComboBox
    Private txtPassword As System.Windows.Forms.TextBox
    Private buttonCancel As System.Windows.Forms.Button
    Private buttonYes As System.Windows.Forms.Button
    Private txtComment As System.Windows.Forms.TextBox
    Private label7 As System.Windows.Forms.Label
    Private groupBox1 As System.Windows.Forms.GroupBox
End Class
