Adds a TypeWriter effect to Windows Forms Application.

Version: MP4 | GIF
- Goto
'Releases'.
- Download the latest version.
- Reference the
.dll into your Windows Forms Application project.
- Create a new
Typewriter by typing
new Typewriter(Label, List<Label>, delayInMiliSeconds, repeatCursorTimes = 5, waitAtEndDelay = 0, start = true)
- You can use the
.Stop(), .Start(), and .Toggle() methods on the Typewriter instance.
// ...
using TypewriterEffect;
// ...
public static Typewriter typeWriter;
private void Main_Load(object sender, EventArgs e)
{
var list = new List<Typewriter.Label>
{
new Typewriter.Label("TypeWriterEffect", Typewriter.Label.LabelMode.OverwriteText),
new Typewriter.Label("Adds a TypeWriter effect to Windows Forms Application.", Typewriter.Label.LabelMode.OverwriteText),
new Typewriter.Label("Created by UserR00T.", Typewriter.Label.LabelMode.OverwriteText)
};
typeWriter = new Typewriter(mainLabel, list, 70, 2, 300);
}
private void ToggleBtn_Click(object sender, EventArgs e)
{
typeWriter.Toggle();
}
private void ForceEnableBtn_Click(object sender, EventArgs e)
{
typeWriter.Start();
}
private void ForceDisableBtn_Click(object sender, EventArgs e)
{
typeWriter.Stop();
}
private void DisposeBtn_Click(object sender, EventArgs e)
{
typeWriter.Dispose();
}
| Method |
Function |
.Start() |
Starts the typewriter. |
.Stop() |
Stops the typewriter. |
.Toggle() |
Toggles the typewriter. |
public Typewriter(System.Windows.Forms.Label textLabel, List<Label> messages, int delayInMiliSeconds, int repeatCursorTimes = 5, int waitAtEndDelay = 0, bool start = true)
| Argument |
Type |
Default |
Function |
Label |
Label |
--- |
The label this instance should work on. |
messages |
List<Label> |
--- |
List of messages it'll go through. |
delayInMiliSeconds |
int |
--- |
The delay between ticks in milliseconds. |
repeatCursorTimes |
int |
5 |
How many times should it repeat the ending cursor? |
waitAtEndDelay |
int |
0 |
Should it wait at the end for a specified amount of milliseconds? |
start |
bool |
true |
Start typewriter once constructed? |