Ejemplo n.º 1
0
 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
     }
 }
Ejemplo n.º 2
0
 public override void OnDeactivate()
 {
     EventHelp.Emit(OnDeactivateActions);
 }
Ejemplo n.º 3
0
 public override void OnUpdate()
 {
     EventHelp.Emit(OnUpdateActions);
 }
Ejemplo n.º 4
0
 public override void OnDestroy()
 {
     EventHelp.Emit(OnDestroyActions);
 }