Click here to Skip to main content
11,708,974 members (61,821 online)
Click here to Skip to main content
Add your own
alternative version

Creating Secure Trial Versions for .NET Applications - A Tutorial

, 16 Oct 2012 CPOL 70.9K 12.7K 222
Implement trial licensing model for your .NET applications with minimal costs
<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
Partial Class ActivationForm
    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)
            If disposing AndAlso components IsNot Nothing Then
            End If
        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()
        Me.progressBar = New System.Windows.Forms.ProgressBar()
        Me.actionLabel = New System.Windows.Forms.Label()
        Me.progressBar.Location = New System.Drawing.Point(7, 25)
        Me.progressBar.MarqueeAnimationSpeed = 20
        Me.progressBar.Name = "progressBar"
        Me.progressBar.Size = New System.Drawing.Size(254, 23)
        Me.progressBar.Style = System.Windows.Forms.ProgressBarStyle.Marquee
        Me.progressBar.TabIndex = 0
        Me.actionLabel.AutoSize = True
        Me.actionLabel.Location = New System.Drawing.Point(7, 5)
        Me.actionLabel.Name = "actionLabel"
        Me.actionLabel.Size = New System.Drawing.Size(82, 13)
        Me.actionLabel.TabIndex = 1
        Me.actionLabel.Text = "xxxxxxxxxxxxxxx"
        Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!)
        Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
        Me.ClientSize = New System.Drawing.Size(270, 76)
        Me.ControlBox = False
        Me.Name = "ProgressForm"
        Me.Text = "Please Wait"

    End Sub
    Friend WithEvents progressBar As System.Windows.Forms.ProgressBar
    Friend WithEvents actionLabel As System.Windows.Forms.Label
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.


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Ansel Reynard
United States United States
No Biography provided

You may also be interested in...

| Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.150819.1 | Last Updated 16 Oct 2012
Article Copyright 2012 by Ansel Reynard
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid