Click here to Skip to main content
15,896,154 members
Articles / Programming Languages / C#

Amazon S3 Sync

Rate me:
Please Sign up or sign in to vote.
4.92/5 (6 votes)
1 Dec 2010Apache5 min read 48K   1.6K   23  
Synchronize files from your computer to Amazon S3.
<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
Partial Class FormBrowse
    Inherits System.Windows.Forms.Form

    'Form overrides dispose to clean up the component list.
    <System.Diagnostics.DebuggerNonUserCode()> _
    Protected Overrides Sub Dispose(ByVal disposing As Boolean)
        Try
            If disposing AndAlso components IsNot Nothing Then
                components.Dispose()
            End If
        Finally
            MyBase.Dispose(disposing)
        End Try
    End Sub

    'Required by the Windows Form Designer
    Private components As System.ComponentModel.IContainer

    'NOTE: The following procedure is required by the Windows Form Designer
    'It can be modified using the Windows Form Designer.  
    'Do not modify it using the code editor.
    <System.Diagnostics.DebuggerStepThrough()> _
    Private Sub InitializeComponent()
        Dim resources As System.ComponentModel.ComponentResourceManager = New System.ComponentModel.ComponentResourceManager(GetType(FormBrowse))
        Me.StatusStrip1 = New System.Windows.Forms.StatusStrip
        Me.ToolStripStatusLabelAction = New System.Windows.Forms.ToolStripStatusLabel
        Me.ToolStripStatusLabelSummary = New System.Windows.Forms.ToolStripStatusLabel
        Me.ToolStripPath = New System.Windows.Forms.ToolStrip
        Me.ToolStripLabelPath = New System.Windows.Forms.ToolStripLabel
        Me.ToolStripTextBoxPath = New System.Windows.Forms.ToolStripTextBox
        Me.ToolStripButtons = New System.Windows.Forms.ToolStrip
        Me.ToolStripButtonGoUp = New System.Windows.Forms.ToolStripButton
        Me.ToolStripButtonRefresh = New System.Windows.Forms.ToolStripButton
        Me.ToolStripButtonDelete = New System.Windows.Forms.ToolStripButton
        Me.ToolStripButtonNewFolder = New System.Windows.Forms.ToolStripButton
        Me.ToolStripButtonAbort = New System.Windows.Forms.ToolStripButton
        Me.ListViewAmazon = New System.Windows.Forms.ListView
        Me.StatusStrip1.SuspendLayout()
        Me.ToolStripPath.SuspendLayout()
        Me.ToolStripButtons.SuspendLayout()
        Me.SuspendLayout()
        '
        'StatusStrip1
        '
        Me.StatusStrip1.Items.AddRange(New System.Windows.Forms.ToolStripItem() {Me.ToolStripStatusLabelAction, Me.ToolStripStatusLabelSummary})
        Me.StatusStrip1.Location = New System.Drawing.Point(0, 387)
        Me.StatusStrip1.Name = "StatusStrip1"
        Me.StatusStrip1.Size = New System.Drawing.Size(535, 22)
        Me.StatusStrip1.TabIndex = 0
        Me.StatusStrip1.Text = "StatusStrip1"
        '
        'ToolStripStatusLabelAction
        '
        Me.ToolStripStatusLabelAction.Name = "ToolStripStatusLabelAction"
        Me.ToolStripStatusLabelAction.Size = New System.Drawing.Size(42, 17)
        Me.ToolStripStatusLabelAction.Text = "Action"
        '
        'ToolStripStatusLabelSummary
        '
        Me.ToolStripStatusLabelSummary.Name = "ToolStripStatusLabelSummary"
        Me.ToolStripStatusLabelSummary.Size = New System.Drawing.Size(478, 17)
        Me.ToolStripStatusLabelSummary.Spring = True
        Me.ToolStripStatusLabelSummary.Text = "Items"
        Me.ToolStripStatusLabelSummary.TextAlign = System.Drawing.ContentAlignment.MiddleRight
        '
        'ToolStripPath
        '
        Me.ToolStripPath.GripStyle = System.Windows.Forms.ToolStripGripStyle.Hidden
        Me.ToolStripPath.Items.AddRange(New System.Windows.Forms.ToolStripItem() {Me.ToolStripLabelPath, Me.ToolStripTextBoxPath})
        Me.ToolStripPath.Location = New System.Drawing.Point(0, 0)
        Me.ToolStripPath.Name = "ToolStripPath"
        Me.ToolStripPath.Size = New System.Drawing.Size(535, 25)
        Me.ToolStripPath.TabIndex = 2
        Me.ToolStripPath.Text = "ToolStripPath"
        '
        'ToolStripLabelPath
        '
        Me.ToolStripLabelPath.Name = "ToolStripLabelPath"
        Me.ToolStripLabelPath.Size = New System.Drawing.Size(34, 22)
        Me.ToolStripLabelPath.Text = "Path:"
        '
        'ToolStripTextBoxPath
        '
        Me.ToolStripTextBoxPath.Name = "ToolStripTextBoxPath"
        Me.ToolStripTextBoxPath.ReadOnly = True
        Me.ToolStripTextBoxPath.Size = New System.Drawing.Size(400, 25)
        '
        'ToolStripButtons
        '
        Me.ToolStripButtons.GripStyle = System.Windows.Forms.ToolStripGripStyle.Hidden
        Me.ToolStripButtons.Items.AddRange(New System.Windows.Forms.ToolStripItem() {Me.ToolStripButtonGoUp, Me.ToolStripButtonRefresh, Me.ToolStripButtonDelete, Me.ToolStripButtonNewFolder, Me.ToolStripButtonAbort})
        Me.ToolStripButtons.Location = New System.Drawing.Point(0, 25)
        Me.ToolStripButtons.Name = "ToolStripButtons"
        Me.ToolStripButtons.Size = New System.Drawing.Size(535, 25)
        Me.ToolStripButtons.TabIndex = 4
        Me.ToolStripButtons.Text = "ToolStripButtons"
        '
        'ToolStripButtonGoUp
        '
        Me.ToolStripButtonGoUp.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text
        Me.ToolStripButtonGoUp.Image = CType(resources.GetObject("ToolStripButtonGoUp.Image"), System.Drawing.Image)
        Me.ToolStripButtonGoUp.ImageTransparentColor = System.Drawing.Color.Magenta
        Me.ToolStripButtonGoUp.Name = "ToolStripButtonGoUp"
        Me.ToolStripButtonGoUp.Size = New System.Drawing.Size(44, 22)
        Me.ToolStripButtonGoUp.Text = "Go Up"
        '
        'ToolStripButtonRefresh
        '
        Me.ToolStripButtonRefresh.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text
        Me.ToolStripButtonRefresh.Image = CType(resources.GetObject("ToolStripButtonRefresh.Image"), System.Drawing.Image)
        Me.ToolStripButtonRefresh.ImageTransparentColor = System.Drawing.Color.Magenta
        Me.ToolStripButtonRefresh.Name = "ToolStripButtonRefresh"
        Me.ToolStripButtonRefresh.Size = New System.Drawing.Size(50, 22)
        Me.ToolStripButtonRefresh.Text = "Refresh"
        '
        'ToolStripButtonDelete
        '
        Me.ToolStripButtonDelete.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text
        Me.ToolStripButtonDelete.Image = CType(resources.GetObject("ToolStripButtonDelete.Image"), System.Drawing.Image)
        Me.ToolStripButtonDelete.ImageTransparentColor = System.Drawing.Color.Magenta
        Me.ToolStripButtonDelete.Name = "ToolStripButtonDelete"
        Me.ToolStripButtonDelete.Size = New System.Drawing.Size(44, 22)
        Me.ToolStripButtonDelete.Text = "Delete"
        '
        'ToolStripButtonNewFolder
        '
        Me.ToolStripButtonNewFolder.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text
        Me.ToolStripButtonNewFolder.Image = CType(resources.GetObject("ToolStripButtonNewFolder.Image"), System.Drawing.Image)
        Me.ToolStripButtonNewFolder.ImageTransparentColor = System.Drawing.Color.Magenta
        Me.ToolStripButtonNewFolder.Name = "ToolStripButtonNewFolder"
        Me.ToolStripButtonNewFolder.Size = New System.Drawing.Size(71, 22)
        Me.ToolStripButtonNewFolder.Text = "New Folder"
        '
        'ToolStripButtonAbort
        '
        Me.ToolStripButtonAbort.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text
        Me.ToolStripButtonAbort.Image = CType(resources.GetObject("ToolStripButtonAbort.Image"), System.Drawing.Image)
        Me.ToolStripButtonAbort.ImageTransparentColor = System.Drawing.Color.Magenta
        Me.ToolStripButtonAbort.Name = "ToolStripButtonAbort"
        Me.ToolStripButtonAbort.Size = New System.Drawing.Size(41, 22)
        Me.ToolStripButtonAbort.Text = "Abort"
        Me.ToolStripButtonAbort.Visible = False
        '
        'ListViewAmazon
        '
        Me.ListViewAmazon.Dock = System.Windows.Forms.DockStyle.Fill
        Me.ListViewAmazon.Location = New System.Drawing.Point(0, 50)
        Me.ListViewAmazon.Name = "ListViewAmazon"
        Me.ListViewAmazon.Size = New System.Drawing.Size(535, 337)
        Me.ListViewAmazon.TabIndex = 5
        Me.ListViewAmazon.UseCompatibleStateImageBehavior = False
        Me.ListViewAmazon.View = System.Windows.Forms.View.Details
        '
        'FormBrowse
        '
        Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!)
        Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
        Me.ClientSize = New System.Drawing.Size(535, 409)
        Me.Controls.Add(Me.ListViewAmazon)
        Me.Controls.Add(Me.ToolStripButtons)
        Me.Controls.Add(Me.ToolStripPath)
        Me.Controls.Add(Me.StatusStrip1)
        Me.MaximizeBox = False
        Me.MinimizeBox = False
        Me.Name = "FormBrowse"
        Me.ShowIcon = False
        Me.ShowInTaskbar = False
        Me.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent
        Me.Text = "S3 Browser for VB.NET"
        Me.StatusStrip1.ResumeLayout(False)
        Me.StatusStrip1.PerformLayout()
        Me.ToolStripPath.ResumeLayout(False)
        Me.ToolStripPath.PerformLayout()
        Me.ToolStripButtons.ResumeLayout(False)
        Me.ToolStripButtons.PerformLayout()
        Me.ResumeLayout(False)
        Me.PerformLayout()

    End Sub
    Friend WithEvents StatusStrip1 As System.Windows.Forms.StatusStrip
    Friend WithEvents ToolStripPath As System.Windows.Forms.ToolStrip
    Friend WithEvents ToolStripStatusLabelAction As System.Windows.Forms.ToolStripStatusLabel
    Friend WithEvents ToolStripStatusLabelSummary As System.Windows.Forms.ToolStripStatusLabel
    Friend WithEvents ToolStripLabelPath As System.Windows.Forms.ToolStripLabel
    Friend WithEvents ToolStripTextBoxPath As System.Windows.Forms.ToolStripTextBox
    Friend WithEvents ToolStripButtons As System.Windows.Forms.ToolStrip
    Friend WithEvents ToolStripButtonGoUp As System.Windows.Forms.ToolStripButton
    Friend WithEvents ToolStripButtonRefresh As System.Windows.Forms.ToolStripButton
    Friend WithEvents ToolStripButtonDelete As System.Windows.Forms.ToolStripButton
    Friend WithEvents ToolStripButtonNewFolder As System.Windows.Forms.ToolStripButton
    Friend WithEvents ListViewAmazon As System.Windows.Forms.ListView
    Friend WithEvents ToolStripButtonAbort As System.Windows.Forms.ToolStripButton

End Class

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Apache License, Version 2.0


Written By
Canada Canada
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions