The following was written when the latest version was 1.4!
Here's an example how to use PatienceBar with Visual Studio.
First, create a new Windows Forms project, add PatienceBar.dll to the Debug/Release directory and add a link to it in your project.
Set the window size to (480,350).
After that, write in Form1.cs:
using System;
using System.Drawing;
using System.Windows.Forms;
using PaulReichert.PatienceBar;
namespace PatienceBarTest
{
public partial class Form1 : Form
{
PatienceBar progressBar = new PatienceBar();
public Form1()
{
progressBar.PreviewAlign = PreviewAlign.MiddleBottom;
progressBar.Location = new Point(25, 25);
progressBar.Size = new Size(400, 75);
Controls.Add(progressBar);
Controls.Add(progressBar.PreviewPanel);
InitializeComponent();
}
}
}
Congratulations! You programmed your first PatienceBar!