Files
laatzen/Common/Ui/GenesisToolBox
..
2023-06-02 15:49:59 +02:00
2021-10-01 11:09:20 +02:00
2023-05-10 15:44:40 +02:00
2021-10-01 11:09:20 +02:00
2021-10-01 11:09:20 +02:00
2021-10-01 12:58:11 +02:00
2022-04-06 10:42:16 +02:00
2021-10-01 11:09:20 +02:00
2021-10-01 11:09:20 +02:00
2021-10-01 11:09:20 +02:00
2021-10-01 11:09:20 +02:00
2021-10-01 11:09:20 +02:00
2021-10-01 11:09:20 +02:00
2021-10-01 11:09:20 +02:00
2021-10-01 11:09:20 +02:00
2021-10-01 11:09:20 +02:00
2021-10-01 11:09:20 +02:00
2021-10-01 11:09:20 +02:00
2021-10-01 11:09:20 +02:00
2021-10-01 11:09:20 +02:00
2021-10-01 11:09:20 +02:00
2021-10-01 11:09:20 +02:00
2021-10-01 11:09:20 +02:00
2021-10-01 11:09:20 +02:00
2023-05-10 15:44:40 +02:00
2021-10-01 11:09:20 +02:00
2022-09-22 16:07:58 +02:00
2021-10-01 11:09:20 +02:00
2021-10-01 11:09:20 +02:00
2021-10-01 11:09:20 +02:00
2021-10-01 11:09:20 +02:00
2022-04-06 10:42:16 +02:00
2021-10-01 11:09:20 +02:00
2021-10-01 11:09:20 +02:00
2022-05-10 15:34:48 +02:00
2022-05-10 15:34:48 +02:00
2022-08-12 15:18:51 +02:00
2022-06-21 12:54:26 +02:00
2021-10-01 11:09:20 +02:00
2021-10-01 11:09:20 +02:00
2021-10-01 11:09:20 +02:00
2021-10-01 11:09:20 +02:00
2021-10-01 11:09:20 +02:00
2022-04-21 18:44:31 +02:00
2021-10-01 11:09:20 +02:00
2021-10-01 11:09:20 +02:00
2021-10-01 11:09:20 +02:00
2021-10-01 11:09:20 +02:00
2021-10-01 11:09:20 +02:00
2022-04-06 10:42:16 +02:00
2022-04-06 10:42:16 +02:00
2022-04-06 10:42:16 +02:00
2021-10-01 11:09:20 +02:00
2021-10-01 11:09:20 +02:00
2022-04-06 10:42:16 +02:00
2021-10-01 11:09:20 +02:00
2021-10-01 11:09:20 +02:00
2022-11-30 17:19:26 +01:00
2021-10-01 11:09:20 +02:00
2021-10-01 11:09:20 +02:00
2021-10-01 11:09:20 +02:00
2022-04-06 10:42:16 +02:00
2022-04-06 10:42:16 +02:00
2021-10-01 11:09:20 +02:00
2022-04-06 10:42:16 +02:00
2021-10-01 11:09:20 +02:00
2021-10-01 11:09:20 +02:00
2023-05-10 15:44:40 +02:00
2021-10-01 11:09:20 +02:00
2023-06-05 11:33:01 +02:00
2023-06-05 13:25:02 +00:00
2022-04-06 10:42:16 +02:00
2021-10-01 11:09:20 +02:00
2022-04-06 10:42:16 +02:00
2021-10-01 11:09:20 +02:00

Genesis Toolbox

  1. Application state - is handled by the class ApplicationState.cs. ApplicationState.Initialize(); is called at the start of the application before any other application initialization. Once initialized can be used elsewhere in the app. Currently holds info about:

    1. ApplicationState.Id - is loaded on initialization calling a web service where the full assembly name is sent in order to get the app id. It is valid sofar it is greater than 0 else the app can not continue to its content.

    2. ApplicationState.Initialized - shows previosly mentioned state of the application id. Solong the Id > 0 application is initialized and users cann sign in into their local accounts. Each user has a set of allowed software functions as roles that the user cann access and use.

    3. ApplicationState.IsAuthorized - simply indicates that the user has a valid account and has verified it with a valid password. After successfull sign in the user's software functions are loaded from a web service.

      • For authorization user enters his username and password and to response of this action he bekommes the software functions assigned to him.
      • Login process is accomplisht by Login form that is loaded on start of the application.
      • Username and password should not be null or empty strings. Password is sent to the web service as base64 hash string.
    4. ApplicationState.IsEnabled(SoftwareFunctions softwareFunction) - checks if user has the provided software function assigned to him.

      • Software functions are stored as enum values into SoftwareFunctions.cs. They are sent along with the full assembly name to the web service and are dynamicaly stored into the database. Removed are from the web UI with the software functions management.

      Note: Application state depends on web service that is implemented in LaaProductionWeb. If no connection to the web service can be made no content is loaded.

  2. Main form - holds all software functions as buttons for the UI. Each button is assigned to software function in the button.Tag attribute. Initialiy all buttons are hidden, shown are they after successfully signed in user. Depending on user's functions compared to the button.Tag, are the buttons enabled or disabled for the user.