private void siticoneRoundedButton1_Click(object sender, EventArgs e) { if (api.licenseLogin(textBox1.Text)) { MessageBox.Show("Successfully logged in!" + Info.Expires, Auth.appName, MessageBoxButtons.OK, MessageBoxIcon.Information); new Dashboard().Show(); this.Hide(); } else { MessageBox.Show("Error Log In", Auth.appName, MessageBoxButtons.OK, MessageBoxIcon.Error); } }