Premade Form

How to initialize the premade form

This form already contains login, register and redeem tokens pages and will automatically grab variables after login and run security checks.

InitializeForm should be called as soon as the first form loads, I recommend setting your forms properties so that visible is false and opacity is 0%

C#
using TrinitySeal;

public Form1() {
InitializeComponent();
SealCheck.HashChecks();

if (SealCheck.isValidDLL) {
//new Form2() can be changed to the form that you want to show after login
//SealColours.Red can be changed to any colour that you like
//The form will automatically carry out all tasks such as grabbing variables and showing then next form is login is successful, or if freemode is enabled
TrinitySeal.Seal.InitializeForm("Your program secret", "Your version", "Your variable key", this, new Form2(), SealColours.Red)
}

}
VB
Public Sub Main()
    SealCheck.HashChecks()

    If SealCheck.isValidDLL Then
        TrinitySeal.Seal.InitializeForm("Your program secret", "Your version", "Your variable key", Me, New Form2(), SealColours.Red)
    End If
End Sub

Last updated