c# - Please tell what approach should be used for desktop application -


i planing develop desktop application have multiple logins , according login type options/from view displayed.

i have done database login part turn of view

how can establish have in mind that

  1. drag , drop required controls , make them visible = false , check type of login , display accordingly
  2. create separate forms , display 1 one required

for me depends on numbers.

if u have many diffrent user roles , share few controls easier make diffrent form / panel each user type. approach quite dangerous since when want change common control u forced in forms / panels.

thats why recommend group application logic custom controls , build gui them. for example: if have 2 user types ( let's boss , employee ) can build form shared controls / logic , 2 user controls (bosscontrol, employeecontrol) functions boss , employee. after login check add matching user control gui.


Comments

Popular posts from this blog

drupal - using views argument in the view tpl.php file -

php - Posting PHPBB Forum Thread/Post info in a website -

php - Add a blog by sending a mail to a certain emailadress -