private void LogB_Click(object sender, RoutedEventArgs e) { FileLog log = new FileLog(); Journal journal = new Journal(log.Action("Reading")); journal.ShowDialog(); }
public void ProductAction(string Action, string[] mass) { if (Action == "Created") { AddProduct(mass); } if (Action == "Search") { SearchProduct(mass); } if (Action == "Delete") { DeleteProduct(mass); } if (Action == "Load_all") { Load_all(); } log.Action("Recording", Action, mass); }
public void UserAction(string Action, string[] mass) { if (Action == "Created") { UserСreation(mass); } if (Action == "Entrance") { UserEditing(mass); } if (Action == "Delete") { UserDelete(mass); } if (Action == "Load_all") { Load_all(); } log.Action("Recording", Action, mass); }