private void SignIn_Load(object sender, EventArgs e) { EventHelp.Hide(); //hides the help button if (Functions.FileSearch.ReturnSegment("userAccountDetails", "masteradmin", 1, 0) == null) //checks if the the userAccountDetails file is empty { //writes data for the masteradmin into the userAccountDetails and userPersonalDetails Functions.FileWrite.WriteData("userAccountDetails", "0|masteradmin|" + Functions.HashAlgorithm.HashPassword("Password1!") + "|Admin||"); Functions.FileWrite.WriteData("userPersonalDetails", "0|Mr|Master|Admin|30 August 2001|[email protected]|07538504384|CF64 2SQ|"); EventHelp.Show(); //shows the help button } }
public override void OnDeactivate() { EventHelp.Emit(OnDeactivateActions); }
public override void OnUpdate() { EventHelp.Emit(OnUpdateActions); }
public override void OnDestroy() { EventHelp.Emit(OnDestroyActions); }