Пример #1
0
        private void button1_Click(object sender, EventArgs e)
        {
            SealCheck.HashChecks();
            var response = Seal.Register(txtRegUserName.Text, txtRegPassword.Text, txtReEmail.Text, txtRegCoupon.Text);

            if (response)
            {
            }
        }
Пример #2
0
 private void Login_Form_Load(object sender, EventArgs e)
 {
     SealCheck.HashChecks();
     if (SealCheck.isValidDLL)
     {
         Seal.Secret = "9cXppSOhiiNuEUcFZpxvhwPTW0b25H1eDH3c4G226XHHN";
         Seal.Initialize("1.0");
     }
 }
Пример #3
0
        private void btnLogin_Click(object sender, EventArgs e)
        {
            SealCheck.HashChecks();
            var response = Seal.Login(txtLoginUser.Text, txtLoginPassword.Text);

            if (response)
            {
                Hide();
                new Form1().Show();
            }
        }
Пример #4
0
        public Form1()
        {
            InitializeComponent();
            SealCheck.HashChecks();

            if (SealCheck.isValidDLL)
            {
                TrinitySeal.Seal.Secret = "Your Application Secret";    //Sets your application secret thing for the program
                TrinitySeal.Seal.Initialize("Program version i.e 1.0"); //Carries out auto-update and grabs program variables
            }
        }
Пример #5
0
        public Form1()
        {
            this.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("88zG4ZGbXcu8BzOgUYjFJG3kwWY7ACZx41PNForo8f1Z7", "1.0", "", this, new Form2(), SealColours.Orange);
            }
        }
Пример #6
0
        private void button4_Click(object sender, EventArgs e)
        {
            SealCheck.HashChecks();

            if (SealCheck.isValidDLL)
            {
                bool response = TrinitySeal.Seal.Register(txtUser.Text, txtPass.Text, txtEmail.Text, txtToken.Text); //What Your Text Boxes for Register are.
                if (response)
                {
                }
                else
                {
                }
            }
        }
Пример #7
0
        private void button1_Click(object sender, EventArgs e)
        {
            SealCheck.HashChecks();

            if (SealCheck.isValidDLL)
            {
                bool response = TrinitySeal.Seal.Login(txtUser.Text, txtPass.Text); //What your text boxes for login are
                if (response)
                {
                    new Form2().Show();
                    this.Hide();
                }
                else
                {
                }
            }
        }
Пример #8
0
 public void Form1_Load(object sender, EventArgs e)
 {
     this.Opacity = 0D;
     SealCheck.HashChecks();
     if (SealCheck.isValidDLL)
     {
         {
             Prch = 1;
             Seal.InitializeForm(
                 "Your_key",
                 "Version",
                 "VariableSecretKey",
                 this, new MainForm(),
                 SealColours.Purple);
         }
     }
     else
     {
         Prch = 0;
     }
 }